How to Build Your First KNN Python Model in scikit-learn (K Nearest Neighbors)

  Рет қаралды 4,890

Ryan & Matt Data Science

Ryan & Matt Data Science

Күн бұрын

Пікірлер
@RyanAndMattDataScience
@RyanAndMattDataScience 5 ай бұрын
Hey guys I hope you enjoyed the video! If you did please subscribe to the channel! Article: ryanandmattdatascience.com/k-nearest-neighbors/ Join our Data Science Discord Here: discord.com/invite/F7dxbvHUhg If you want to watch a full course on Machine Learning check out Datacamp: datacamp.pxf.io/XYD7Qg Want to solve Python data interview questions: stratascratch.com/?via=ryan I'm also open to freelance data projects. Hit me up at ryannolandata@gmail.com *Both Datacamp and Stratascratch are affiliate links.
@Jade-z7q
@Jade-z7q 3 күн бұрын
true negative is on the top left, false positive is on the top right, false negative is at the bottom left, true positive is at the bottom right
@RyanAndMattDataScience
@RyanAndMattDataScience 3 күн бұрын
Ye I messed it up on this video. Think I left it pinned as a comment
@khushgora1359
@khushgora1359 4 ай бұрын
why did we use fit_transform foe test data as well ? instead of only transform
@arti5946
@arti5946 4 ай бұрын
Never thought its that easy
@RyanAndMattDataScience
@RyanAndMattDataScience 4 ай бұрын
It’s not too bad
@ShiftKoncepts
@ShiftKoncepts 21 күн бұрын
Are you able to do the scaling first before train test split?
@icewater2762
@icewater2762 20 күн бұрын
Yeahh i am able to
@RyanAndMattDataScience
@RyanAndMattDataScience 18 күн бұрын
You should scale after
@arulkumaransendilvel6853
@arulkumaransendilvel6853 3 ай бұрын
what is difference between scaler.fit() and scaler.fit_transform() ⁉
@aineshbalaga1216
@aineshbalaga1216 2 ай бұрын
If I’m not mistaken they do .fit in a separate line? I’m not sure why it’s not a common thing just to include it one line of code.
@danielrexrj
@danielrexrj 4 ай бұрын
Wouldn't it be better to use X_test = scaler.transform(X_test) instead of X_test = scaler.fit_transform(X_test)?
@thiraputkhongmuak9891
@thiraputkhongmuak9891 3 ай бұрын
What’s the difference between fit_transform and transform?
@soyroian
@soyroian Жыл бұрын
Hey Ryan, I'm trying to follow along. Will there be a link to the CSV file? Thank you in advance.
@RyanAndMattDataScience
@RyanAndMattDataScience Жыл бұрын
Shoot, I’ll get that up later today. I apologize
@RyanAndMattDataScience
@RyanAndMattDataScience Жыл бұрын
It's in the description now
@soyroian
@soyroian Жыл бұрын
Thanks @@RyanAndMattDataScience
@aineshbalaga1216
@aineshbalaga1216 2 ай бұрын
Why don’t we use StandardScaler for this one?
@shihamfarook7291
@shihamfarook7291 6 ай бұрын
can you explain why did you choose n_neighbors as 8
@chizitereigwe4544
@chizitereigwe4544 Ай бұрын
Funniest tutorial intro in history. #RogerClemens #BarryBonds #PeteRose
@RyanAndMattDataScience
@RyanAndMattDataScience Ай бұрын
Haha thanks I’m a big baseball fan
@mehrantavakoli6816
@mehrantavakoli6816 6 ай бұрын
👏👏👏👏❤❤❤❤
How to Build Your First Decision Tree in Python (scikit-learn)
15:13
Ryan & Matt Data Science
Рет қаралды 21 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
K-Nearest Neighbor
7:13
ritvikmath
Рет қаралды 28 М.
What is the K-Nearest Neighbor (KNN) Algorithm?
8:01
IBM Technology
Рет қаралды 27 М.
Learn How to Boost Your Python Sklearn Models with GridsearchCV!
11:21
Python Feature Scaling in SciKit-Learn (Normalization vs Standardization)
11:59
Ryan & Matt Data Science
Рет қаралды 16 М.
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 331 М.
How to implement KNN from scratch with Python
9:24
AssemblyAI
Рет қаралды 100 М.
Machine Learning Tutorial Python 12 - K Fold Cross Validation
25:20
StatQuest: K-nearest neighbors, Clearly Explained
5:30
StatQuest with Josh Starmer
Рет қаралды 665 М.
Build your first machine learning model in Python
30:57
Data Professor
Рет қаралды 396 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН