- 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!
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- Getting Started with ResearchKit
- Vue.js 3.x從入門到精通(視頻教學版)
- TestNG Beginner's Guide
- 新手學Visual C# 2008程序設計
- Internet of Things with Intel Galileo
- PhoneGap Mobile Application Development Cookbook
- Bootstrap 4 Cookbook
- The Professional ScrumMaster’s Handbook
- Python網絡爬蟲實例教程(視頻講解版)
- 基于GPU加速的計算機視覺編程:使用OpenCV和CUDA實時處理復雜圖像數據
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- Java語言程序設計實用教程(第2版)
- Selenium Essentials
- Go語言編程之旅:一起用Go做項目