- Machine Learning for OpenCV
- Michael Beyeler
- 209字
- 2021-07-02 19:47:20
First Steps in Supervised Learning
This is the moment you've been waiting for, isn't it?
We have covered all the bases-we have a functioning Python environment, we have OpenCV installed, and we know how to handle data in Python. Now it's time to build our first machine learning system! And what better way to start off than to focus on one of the most common and successful types of machine learning: supervised learning?
From the previous chapter, we already know that supervised learning is all about learning regularities in some training data by using the labels that come with it so that we can predict the labels of some new, never-seen-before test data. In this chapter, we want to dig a little deeper, and learn how to turn our theoretical knowledge into something practical.
Specifically, we want to address the following questions:
- What's the difference between classification and regression, and when do I use which?
- What is a k-nearest neighbor (k-NN) classifier, and how do I implement one in OpenCV?
- How do I use logistic regression for classification, and why is it named so confusingly?
- How do I build a linear regression model in OpenCV, and how does it differ from Lasso and ridge regression?
Let's jump right in!
- 自己動手實現(xiàn)Lua:虛擬機、編譯器和標(biāo)準(zhǔn)庫
- 技術(shù)領(lǐng)導(dǎo)力:程序員如何才能帶團隊
- Silverlight魔幻銀燈
- Python編程:從入門到實踐
- SQL Server實用教程(SQL Server 2008版)
- Citrix XenServer企業(yè)運維實戰(zhàn)
- ASP.NET求職寶典
- 深度實踐KVM:核心技術(shù)、管理運維、性能優(yōu)化與項目實施
- Visual C++開發(fā)寶典
- 嵌入式C編程實戰(zhàn)
- Google Adsense優(yōu)化實戰(zhàn)
- 一覽眾山小:ASP.NET Web開發(fā)修行實錄
- HTML5程序開發(fā)范例寶典
- HTML5+CSS+JavaScript深入學(xué)習(xí)實錄
- JSP編程教程