7.5.5. Implementing K-Nearest Neighbors Classifier from Scratch in Python | KNN Classifier

  Рет қаралды 8,395

Siddhardhan

Siddhardhan

Күн бұрын

Пікірлер: 18
@kalinstanchev3602
@kalinstanchev3602 3 жыл бұрын
Siddhardhan, very good explain everything.Thank you
@Siddhardhan
@Siddhardhan 3 жыл бұрын
😇😇
@vijayramaraju3522
@vijayramaraju3522 3 жыл бұрын
Sir, your way of teaching is excellent, i don't have any words to tell you about your teaching and presentation, Please go through all machine learning models with Maths from Scratch, and if possible, make 3 or 4 more case studies on every model that your build from scratch. thanks, thanks a lot......
@IRVids88
@IRVids88 4 ай бұрын
8:20 Hello Sir, why are we inserting the targets to X_train?
@alirezamarahemi2352
@alirezamarahemi2352 2 жыл бұрын
The problem with the model you have created lies within the following lines of code: for data in neighbors: label = [] label.append(data[-1]) It should be changed in this way: label = [] for data in neighbors: label.append(data[-1]) The list of labels gets empty in every iteration. If you apply the change, your model's accuracy will be 72% just as exact as the KNNClassifier in sklearn library.
@clxdyy.luveditxs
@clxdyy.luveditxs 4 ай бұрын
Amazing!
@mohamedzl2735
@mohamedzl2735 5 ай бұрын
The problem with the model lies in those lines of code: for data in neighbors: label = [] label.append(data[-1]) It should be changed in this way: label = [data[-1] for data in neighbors] The list of labels gets empty in every iteration. If you apply the change, your model's accuracy will be 72% just as exact as the KNNClassifier in sklearn library.
@najeebah6243
@najeebah6243 2 жыл бұрын
Sir, can you please do a tutorial on machine learning algorithm to predict bus arrival time
@OmkarPrajapati-j5v
@OmkarPrajapati-j5v 7 ай бұрын
i get an error that KNN_classifier() takes no arguments.pls help
@AHMADKELIX
@AHMADKELIX 2 жыл бұрын
permission to learn sir. thank you
@charugullasanthoshkumar2870
@charugullasanthoshkumar2870 2 жыл бұрын
can you please help me with seperating features and target how to split them???
@vijayramaraju3522
@vijayramaraju3522 3 жыл бұрын
Sir Please Continue Videos (Tutorials)
@sandys4009
@sandys4009 3 жыл бұрын
Sir can u please do a prj on real face emotiin from the scratch
@nguyentrunguc12
@nguyentrunguc12 Жыл бұрын
Can you turn on translated subtitles. Thank you!
@piyushpathak7311
@piyushpathak7311 3 жыл бұрын
Sir please upload full videos of xgboost and DBSCAN, ensemble learning algorithms,trees algorithm with detailed explanation and implementation plz 🙏 sir
@Siddhardhan
@Siddhardhan 3 жыл бұрын
yeah. sure
@81_PriyanshuRaj
@81_PriyanshuRaj Жыл бұрын
Getting error:- 'KNN_classifier' object has no attribute 'distance_metrics'
@mayankchandak1601
@mayankchandak1601 Жыл бұрын
remove the s at the end or check if you have named it something else
Diffusion models from scratch in PyTorch
30:54
DeepFindr
Рет қаралды 266 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
How I built an AI Teacher with Vector Databases and ChatGPT
13:43
Stock Price Prediction Using Python & Machine Learning
49:48
Computer Science (compsci112358)
Рет қаралды 1,3 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 821 М.
7.5.1. K-Nearest Neighbors (KNN) - intuition
17:42
Siddhardhan
Рет қаралды 11 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 189 М.
7.6.2. Entropy, Information Gain & Gini Impurity - Decision Tree
18:23
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН