日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

机器学习导论�_机器学习导论

發(fā)布時間:2023/12/15 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 机器学习导论�_机器学习导论 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

機器學(xué)習(xí)導(dǎo)論�

Say you are practising basketball on your own and you are trying to shoot the ball into the hoop. If you fail at the first try, your first instinct would most probably be to move forward or backwards, maybe jump higher or go lower, or even stretch your hands properly. Thing is, whatever you do, you are trying to get that ball into the basket. If it does not work, you keep trying new tactics to eventually reach your goal. This is the concept of machine learning.

假設(shè)您自己練習(xí)籃球,并且試圖將球射入籃筐。 如果您第一次嘗試失敗,那么您的第一個直覺很可能是向前或向后移動,可能會跳得更高或更低,甚至正確地伸手。 事情是,無論您做什么,您都在努力將那個球放進籃筐。 如果它不起作用,您將繼續(xù)嘗試新的策略以最終實現(xiàn)目標。 這就是機器學(xué)習(xí)的概念。

Machine learning is an application of artificial intelligence that provides systems with the ability to automatically learn and improve from experience without being explicitly programmed. It focuses on the development of computer programs that can access data and use statistical analysis to predict an output while updating outputs as new data becomes available(ie learn).

機器學(xué)習(xí)是人工智能的一種應(yīng)用,它使系統(tǒng)能夠自動學(xué)習(xí)并從經(jīng)驗中進行改進,而無需進行明確的編程。 它著重于計算機程序的開發(fā),該程序可以訪問數(shù)據(jù)并使用統(tǒng)計分析來預(yù)測輸出,同時隨著新數(shù)據(jù)的獲得(即學(xué)習(xí))更新輸出。

“A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E.”- Tom Mitchel

“如果計算機的程序在T上的性能(由P來衡量)隨著經(jīng)驗E的提高而提高,那么據(jù)說計算機程序就可以從經(jīng)驗E中學(xué)習(xí)一些任務(wù)T和一些性能指標P。”

機器學(xué)習(xí)分類 (Classification of Machine Learning)

There are various categories of machine learning. They are:

機器學(xué)習(xí)有各種類別。 他們是:

  • Supervised Learning

    監(jiān)督學(xué)習(xí)
  • Unsupervised Learning

    無監(jiān)督學(xué)習(xí)
  • Reinforcement Learning

    強化學(xué)習(xí)

Supervised Learning: Here, the system has been supplied with previously labelled data so it can apply what has been learned from those labelled examples to new data to predict future events. It is like someone trying to memorize new facts while comparing it to a note. This learning algorithm can compare its output with the correct, intended output and find errors in order to modify the model accordingly. A typical example would be email classification as spam, where you already have some emails that have been labelled “spam”, and you classify new emails as spam or not depending on whether they have the same qualities as the spam mails. Regression is another type of supervised learning.

監(jiān)督學(xué)習(xí):這里已向系統(tǒng)提供了以前標記的數(shù)據(jù),因此可以將從那些標記的示例中學(xué)到的信息應(yīng)用于新數(shù)據(jù)以預(yù)測未來事件。 就像有人試圖在將新事實與筆記進行比較時記住新事實一樣。 該學(xué)習(xí)算法可以將其輸出與正確的預(yù)期輸出進行比較,并發(fā)現(xiàn)錯誤,以便相應(yīng)地修改模型。 一個典型的示例是將電子郵件分類為垃圾郵件,其中您已經(jīng)有一些已標記為“垃圾郵件”的電子郵件,并且根據(jù)新郵件是否具有與垃圾郵件相同的質(zhì)量,將新郵件分類為垃圾郵件。 回歸是另一種監(jiān)督學(xué)習(xí)。

Unsupervised Learning: Here, the system is presented with unlabeled, uncategorized data leaving to the algorithm to determine the data patterns on its own. The system doesn’t figure out the right output, but it explores the data and can draw inferences from datasets to describe hidden structures from unlabeled data. Recommendation systems usually seen on the web in that does marketing automation are based on this type of learning. Clustering and association are types of unsupervised learning.

無監(jiān)督學(xué)習(xí):在這里,系統(tǒng)將顯示未標記,未分類的數(shù)據(jù),并留給算法自行確定數(shù)據(jù)模式。 該系統(tǒng)無法找出正確的輸出,但可以瀏覽數(shù)據(jù)并可以從數(shù)據(jù)集中得出推論,以描述未標記數(shù)據(jù)中的隱藏結(jié)構(gòu)。 在網(wǎng)絡(luò)上通常可以看到的推薦系統(tǒng)可以進行營銷自動化,它是基于這種學(xué)習(xí)類型的。 聚類和關(guān)聯(lián)是無監(jiān)督學(xué)習(xí)的類型。

Reinforcement Learning: Here, you present the system with examples that lack labels as in unsupervised learning, but this time around, you accompany an example with positive or negative feedback (a reward system) according to the solution the algorithm proposes. It is a type of dynamic programming that trains algorithms using a system of reward and punishment. This method allows the algorithm or agent to automatically determine the ideal behaviour within a specific context in order to maximize its performance. The learning algorithm, or agent, learns by interacting with its environment and is typically seen when computers learn to play games, outperform human players, and even optimize its score.

強化學(xué)習(xí):在這里,您向系統(tǒng)展示的示例缺少無監(jiān)督學(xué)習(xí)中的標簽,但是這次,根據(jù)算法提出的解決方案,您將為示例提供正面或負面的反饋(獎勵系統(tǒng))。 這是一種動態(tài)編程,它使用獎勵和懲罰系統(tǒng)來訓(xùn)練算法。 此方法允許算法或代理自動確定特定上下文內(nèi)的理想行為,以使其性能最大化。 學(xué)習(xí)算法或代理是通過與環(huán)境互動來學(xué)習(xí)的,通常在計算機學(xué)習(xí)玩游戲,超越人類玩家甚至優(yōu)化其分數(shù)時才能看到。

選擇正確的機器學(xué)習(xí)問題 (Choosing the Right Machine Learning Problem)

You have collected a bunch of data and want to use machine learning techniques to analyse this data, how do you choose the right machine learning problem for your use case? The problem categories we will cover in this article are:

您已經(jīng)收集了很多數(shù)據(jù),并希望使用機器學(xué)習(xí)技術(shù)來分析這些數(shù)據(jù),如何為您的用例選擇正確的機器學(xué)習(xí)問題? 我們將在本文中介紹的問題類別是:

  • Classification

    分類
  • Regression

    回歸
  • Clustering

    聚類
  • Dimensionality reduction

    降維

Classification: When you need to classify your input data into categories or classes, it turns out that predicting categories is a very common use case and these categories could be virtually anything. Like I mentioned in the email example above, is this email “spam” or “not spam”? Should you send it to the “inbox” or “spam” folder? As a financial trader constantly monitoring stock markets, given past information on the market, company performance, stock performance, should you “buy”, “sell” or “hold”? Or say you are working with image data and want to do object recognition, is this a “cat”, “mouse” or “dog”. The list is endless, but we can see that the output of a classification model is one category or class.

分類:當(dāng)您需要將輸入數(shù)據(jù)分類為類別或類別時,事實證明預(yù)測類別是一個非常普遍的用例,而這些類別實際上可以是任何東西。 就像我在上面的電子郵件示例中提到的那樣,此電子郵件是“垃圾郵件”還是“非垃圾郵件”? 您應(yīng)該將其發(fā)送到“收件箱”或“垃圾郵件”文件夾嗎? 作為一名金融交易員,不斷監(jiān)控股票市場,鑒于過去的市場信息,公司業(yè)績,股票表現(xiàn),您應(yīng)該“買”,“賣”還是“持有”? 或者說您正在使用圖像數(shù)據(jù)并且想要進行對象識別,這是“貓”,“鼠標”還是“狗”。 列表是無止境的,但是我們可以看到分類模型的輸出是一個類別或類。

Regression: When you want your model to predict continuous numeric values, you would want to use a regression model. As a financial trader, given current market sentiments, previous earnings of the company and you need to predict the price of the stock tomorrow, then a regression model is your guy. You might be analysing the performance of different cars available given the attributes of a car and you want to predict its mileage or even trying to predict the price of a house considering the location and other conditions of the house. Once you are able to observe the nature of the problem, it is easier to know what to use.

回歸 :當(dāng)您希望模型預(yù)測連續(xù)的數(shù)值時,您將要使用回歸模型。 作為金融交易員,考慮到當(dāng)前的市場情緒,公司的先前收益以及您需要預(yù)測明天的股票價格,那么回歸模型就是您的理想選擇。 給定汽車的屬性,您可能正在分析可用的不同汽車的性能,并且您想要預(yù)測其行駛里程,甚至考慮房屋的位置和其他條件來嘗試預(yù)測房屋的價格。 一旦您能夠觀察到問題的本質(zhì),就更容易知道使用什么。

Clustering: When you have a really large dataset with no idea of what is in it, to make some sense of it, you may want to try clustering. In social media ads targeting, finding users that are interested in a particular field so you can target specific ads to them is an application of clustering. Another one is document discovery, you could gather all documents related to armed robbery and see if you can find patterns in the cases. Clustering just allows you to self discover patterns in fine details.

聚類:如果您有一個非常大的數(shù)據(jù)集,卻不知道其中的內(nèi)容,那么從某種意義上講,您可能想嘗試聚類。 在社交媒體廣告定位中,找到對特定字段感興趣的用戶,以便您可以將特定廣告定位到他們,這是集群的一種應(yīng)用。 另一個是文件發(fā)現(xiàn),您可以收集與武裝搶劫有關(guān)的所有文件,看看是否可以找到案件中的模式。 聚類僅允許您自行發(fā)現(xiàn)詳細的模式。

Dimensionality Reduction: This is a preprocessing technique used to perform feature detection on your data. Let’s say you have 500 different variables, which of them are most significant? What features do you pay more attention to? This is where dimensionality reduction comes to play. It is used to preprocess your data to build more robust machine learning models with better performance whether they are classification, regression or any other kind. Dimensionality reduction helps us find latent factors when we have large data and no target values.

降維 :這是一種預(yù)處理技術(shù),用于對數(shù)據(jù)執(zhí)行特征檢測。 假設(shè)您有500個不同的變量,其中哪個變量最重要? 您需要注意哪些功能? 這就是降維的作用所在。 無論是分類,回歸還是任何其他類型的數(shù)據(jù),它都可以用于預(yù)處理數(shù)據(jù)以構(gòu)建更強大的,性能更好的機器學(xué)習(xí)模型。 當(dāng)我們擁有大數(shù)據(jù)且沒有目標值時,降維可幫助我們找到潛在因素。

結(jié)論 (Conclusion)

Machine Learning comes into the picture when problems cannot be solved by means of typical approaches. It enables the analysis of large data delivers faster, more accurate results in order to identify profitable opportunities or dangerous risks.

當(dāng)無法通過典型方法解決問題時,機器學(xué)習(xí)就會成為現(xiàn)實。 它可以對大數(shù)據(jù)進行分析,從而提供更快,更準確的結(jié)果,從而確定可獲利的機會或危險的風(fēng)險。

This article is intended to just give an introduction to the concept of Machine learning. There is a lot more to learn and it can be done by wanting to learn, creating time and finding the right resources online. I hope I have been able to make you want to learn more/

本文旨在僅介紹機器學(xué)習(xí)的概念。 還有很多東西要學(xué)習(xí),可以通過學(xué)習(xí),創(chuàng)造時間并在線找到合適的資源來完成。 希望我能夠使您想了解更多/

翻譯自: https://medium.com/@amarachi.anyim00/an-introduction-to-machine-learning-493d16017d9b

機器學(xué)習(xí)導(dǎo)論�

總結(jié)

以上是生活随笔為你收集整理的机器学习导论�_机器学习导论的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。