<dd id="wmffv"><u id="wmffv"></u></dd>

        1. <var id="wmffv"><ol id="wmffv"><big id="wmffv"></big></ol></var>

          <var id="wmffv"></var><code id="wmffv"><ol id="wmffv"></ol></code>
          1. <acronym id="wmffv"></acronym>
                1. home > Research&Insights > Understand these 4 advanced concepts to sound like a machine learning master

                  Understand these 4 advanced concepts to sound like a machine learning master

                  This is a sequel to the post I wrote over a year ago about some basic concepts of machine learning. Sometimes sequels are better like Terminator 2 or Wrath of Kahn, but you can’t enjoy them unless you’ve see the first movie. Go read that post and come back. I’ll wait…

                  There are many concepts in machine learning that are important to understand in order to be in the know. More importantly, if you’re going to implement AI, sell AI, integrate AI, or write about AI, you might want to brush up on these core, yet advanced, concepts to have a good, strong foundation with which to start from.

                  After reading this post, your Machine Intelligence Learning Quotient (or MILQ) will increase substantially. Are you ready to get MILQin’?

                  Precision and Recall

                  What the living Christ is precision and recall?! Sometimes when you read about precision and recall, they can sound like the exact same thing; “Precision is how often you’re correct and recall is HOW often YOU are correct”?—?for example. Welp, they’re actually different and unfortunately, important to understanding why a machine learning model works for a use case or not.

                  Here is probably the third best way I can possibly explain the difference:

                  Let’s say you are trying to remember something, like how many blue umbrellas you’ve seen in your life. Recall describes how good you are at remembering every time you saw a blue umbrella, at the expense of mistaking some memories of purple umbrellas as well. Let’s say you saw 10 blue umbrellas in your life, and you remembered all 10 of them. But, you also incorrectly remembered 5 additional times that were in fact purple umbrellas (but you remembered them as blue). Your recall is 100% because you remembered every time. Congratulations you weirdo!

                  Now precision is going to describe what percentage of your memories are actually correct. In the strange example above, out of 15 memories, only 10 were correct. Therefor your precision is about 66%.

                  So which is more important? Well, it depends on your use case. If you’re using computer vision or deep learning to identify cancer from photos of moles, it might make sense to minimize the number of times you tell a patient they don’t have cancer when they do (false negative), even at the risk of increasing the likelihood of telling people they have cancer when they don’t (false positive).

                  Source https://jamesmccaffrey.wordpress.com/2014/11/04/precision-and-recall-with-binary-classification/
                  The point is you can’t have both, there is ALWAYS a tradeoff. It just depends which is more important for your use case; getting every true positive at the risk of also getting some false positives? Or making sure as many results are true positive as possible, at the risk of getting more false negatives.

                  Get it? If you’re still confused, don’t worry, its complicated and hard to remember. But I’m going to move on… ok?

                  Recognition vs Detection

                  When you apply machine learning, you get to have some pretty cool tools like face recognition and logo detection. You can also have face detection and logo recognition. WHAT THE HELL. Why?

                  Let me try to explain this concept by offering some examples of each type:

                  Face recognition?—?The input is an image of a face, the machine learning model recognizes the person and returns to you the name of that person.

                  Face detection?—?The input is an image of a face, the model returns to you a bounding box around the face it found. It tells you where the face is, but not who it is.

                  Image recognition?—?The input is an image, the output is (probably) multiple tags describing that image, such as foggy, car, monochrome, building, landscape etc.

                  Object detection?—?The input is a specific image (like a logo) and a general image upon which to do the detection, and the output is bounding boxes around every place that specific image (or logo) appears in an image.

                  Does that help explain the difference? No? Excellent?—?we’re on a roll, moving on…


                  A lot of good implementations of machine learning are actually classifiers. Is an article fake news or real news, is this image of a leaf a palm frond, a maple leaf or poison oak, is this sentence a run on sentence or not, etc.

                  Each class is like a choice or a label. You train a machine learning model to put some chunk of input data (like a photo or a news article) into a class. Some models can give you a couple of classes as results and some can only do one class at a time.

                  The key thing to know is that you have to follow some basic rules when you train a classifier, otherwise it won’t work good (like my grammar checker).

                  Your training data has to be balanced. That means you have to have the same number of pictures of cats as you do of dogs. If you try and train a model with uneven classes, it will naturally become more biased towards the class with more examples.

                  The model isn’t going to just figure out which examples are wrong. Your training data has to be squeaky clean. If you have some examples of dogs in your cats folder then you’re really screwing yourself over. Go and move those photos to the dogs folder now.

                  Deep learning

                  Deep learning sounds awesome, doesn’t it? What could possibly be better than regular learning? I know.. DEEP learning. Well, it turns out that deep learning is awesome, but it comes with a catch. First, let me try and explain what deep learning is.

                  Most deep learning models are based on artificial neural networks. A neural network is essentially layers upon layers of nodes that are connecting to each other in some goddamned magical way. When you have more than 1 or 2 layers between your input and output layers, you have a deep network! What is really cool is that when you train the network, it somehow figures out how to organize itself to recognize faces (for example). It might assign the first layer into pixel grouping, the second into edge detection, the third into nose understanding, and so on… but it figures it out all by itself. Amazing.

                  But its not everything. A safe rule of thumb is that when you hear deep learning, it means GPUs. And GPUs are expensive. So you really need to think about your use case. For example, there exists a great face detector out there that does not use deep learning. It is a computer vision filter that has something like a 97% accuracy. There is also a deep learning version of this face detection. The accuracy is incrementally higher BUT it comes at a huge performance cost. You need GPUs! Whereas the computer vision version can run super fast on a single CPU.

                  So, again, it is a tradeoff.

                  Well, this concludes your masters course on machine learning.

                  By Aaron Edell

                  集贤| 永年| 马鬃山| 三门峡| 鄂托克旗| 博湖| 海原| 乌拉盖| 丁青| 德保| 安阳| 沧源| 南岳| 旬邑| 循化| 京山| 赫章| 托克托| 内江| 寻甸| 鹤庆| 光泽| 塔什库尔干| 安平| 美姑| 鄯善| 祁门| 根河| 洛宁| 安义| 山阳| 永安| 普格| 泾阳| 咸丰| 阿巴嘎旗| 石拐| 文县| 邹平| 宜州| 新民| 温州| 献县| 广河| 西畴| 定边| 惠农| 平远| 息县| 砚山| 永署礁| 偏关| 四子王旗| 昔阳| 和静| 镇原| 兰屿| 额敏| 崇庆| 乌拉盖| 黑山头| 甘德| 景德镇| 大埔| 长丰| 营山| 烟筒山| 荔波| 天全| 错那| 库伦旗| 石景山| 海宁| 同德| 锦屏| 围场| 博乐| 夹江| 河口| 固安| 平山| 察哈尔右翼中旗| 民乐| 夷陵| 赫章| 方城| 昌邑| 青神| 番禺| 祥云| 英吉沙| 株洲| 朝克乌拉| 普定| 襄樊| 盘山| 柘城| 衡南| 河间| 大同| 安阳| 杨凌| 牡丹江| 金寨| 清水河| 集贤| 石门| 分宜| 塞罕坎| 福海| 万源| 白银| 建水| 大名| 野牛沟| 东营| 开封| 通城| 汾西| 五原| 富裕| 呼伦贝尔| 通化县| 兴宁| 衢州| 大同| 丰台| 石城| 青冈| 清丰| 越西| 鸡东| 杭锦旗| 太原北郊| 郁南| 莱西| 榆林| 江西沟| 梨树| 永川| 宜宾县| 海力素| 敦煌| 伊春| 赫山区| 长寿| 兴海| 仁和| 温泉| 印江| 巫溪| 潼关| 治多| 海原| 台前| 伊川| 改则| 屯留| 通辽钱家店| 万源| 六安| 洛阳| 黑山| 桦南| 光山| 盐津| 海宁| 南澳| 满都拉| 突泉| 蓬莱| 浦口| 廉江| 丰都| 静海| 龙州| 宜君| 固阳| 酉阳| 芜湖| 巩留| 垫江| 柘荣| 三门峡| 泌阳| 小二沟| 辽中| 西连岛| 兴海| 滁州| 留坝| 眉县| 卓尼| 宜阳| 光山| 巴仑台| 凯里| 那日图| 麻黄山| 乐安| 右玉| 潼南| 池州| 寿阳| 汝城| 化德| 安多| 常山| 洮南| 隰县| 佛坪| 察尔汉| 辽源| 长武| 呼和浩特市郊区| 清水河| 永宁| 莱西| 临汾| 青浦| 寿宁| 额尔古纳| 东胜| 仙游| 大悟| 民丰| 平塘| 察哈尔右翼后旗| 宁陕| 漳浦| 九寨沟| 衡山| 册亨| 溆浦| 苏尼特右旗| 浦城| 漳州| 奇台| 镇赉| 从化| 红柳河| 昆山| 沙坪坝| 澄迈| 马坡岭| 同安| 永吉| 陵川| 岳西| 息烽| 蔚县| 蠡县| 建昌| 满都拉| 江西沟| 硇洲| 泸县| 威信| 星子| 古县| 敦化| 磐安| 乌海| 新密| 苍梧| 会昌| 吉兰太| 连州| 石拐| 崂山| 金乡| 镇海| 肥西| 镇海| 丰县| 青河| 大柴旦| 温州| 阿里| 呼玛| 金寨| 天祝| 西林| 棠荫| 张家口| 大兴| 麦盖提| 头道湖| 湛江| 敖汉旗| 莆田| 芷江| 武隆| 富川| 蓬安| 余江| 汝阳| 宝应| 兴平| 天池| 九寨沟| 佛山| 九江| 长春| 安阳| 东川| 沁源| 兴仁堡| 千里岩| 理塘| 罗城| 辽源| 孤家子| 歙县| 苍南| 华家岭| 石阡| 阜阳| 定西| 卓资| 筠连| 一八五团| 泊头| 通海| 黄平旧洲| 阜宁| 福贡| 繁峙| 永登| 台江| 浦北| 东乌珠穆沁旗| 册亨| 寻乌| 泸水| 永顺| 滨海| 改则| 头道湖| 吉木乃| 昌黎| 凤庆| 达日| 海口| 湖口| 抚顺| 鼎新| 通道| 凤城| 翼城| 靖远| 平潭海峡大桥| 岗子| 日喀则| 麻阳| 阳原| 辽阳县| 乌兰浩特| 阜城| 维西| 会同| 句容| 那日图| 凭祥| 通州| 扶余| 塔中| 娄底| 安图| 淅川| 星子| 陆丰| 五常| 新竹县| 沛县| 麦积| 仁怀| 鹤城区| 大邑| 浦城| 无棣| 朝克乌拉| 和林格尔| 龙州| 曲麻莱| 东沟| 石城| 东丽| 禹城| 淮滨| 九龙| 沙塘| 垫江| 栾城| 隆化| 凌源| 五华| 沿河| 黄泛区| 塔什库尔干