Skip to content

This is the code of knn algorithm of classification using the bagging method.

Notifications You must be signed in to change notification settings

lchavez1/bagging_with_knn_algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

bagging_with_knn_algorithm

This is the code of the KNN algorithm, using bagging. 🚀

What is KNN Algorithm?

The k-nearest neighbors algorithm, also known as KNN or k-NN, is a non-parametric, supervised learning classifier, which uses proximity to make classifications or predictions about the grouping of an individual data point. While it can be used for either regression or classification problems, it is typically used as a classification algorithm, working off the assumption that similar points can be found near one another.

What is bagging?

Bagging, also known as bootstrap aggregation, is the ensemble learning method that is commonly used to reduce variance within a noisy dataset. In bagging, a random sample of data in a training set is selected with replacement—meaning that the individual data points can be chosen more than once. After several data samples are generated, these weak models are then trained independently, and depending on the type of task—regression or classification, for example—the average or majority of those predictions yield a more accurate estimate.

If you what to know more about this, contact me on Twitter (@luischavez_713) and I would be happy to help you. Also I speak spanish.

Made with ❤️ by Fer Chávez 😊

About

This is the code of knn algorithm of classification using the bagging method.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages