Learn for FREE: Python → http://
cs50.harvard.edu/python/2022/ Linear Algebra & Statistics → http://
khanacademy.org SQL → http://
sqlbolt.com Machine Learning → http://
deeplearning.ai MLOps → http://
madewithml.com Practice → http://
Kaggle.com
@sumanth_077
-
Free Learning Resources for Python, ML, and Data Science
By
–
-
Choosing Between Euclidean and Manhattan Distance Metrics
By
–
Hi Amit, It depends on the use case, Euclidean distance is prefered if you have a continuous and normally distributed data and Manhattan if your input variables are not similar in type i.e categorical features.
-
Wrapping up Python, MLOps, ML and LLMs content sharing
By
–
That's a wrap! Every day, I share and simply content around Python, MLOps, Machine Learning & LLMs. Find me →
@Sumanth_077 Like/RT the first tweet and help this reach more people. -

Implementing _predict_single Method for k-NN Classification
By
–
Finally a '_predict_single' method as mentioned it predicts the class label for a single data point This is done by: 1. Calculating the distance between one point to all training examples 2. Selecting the k-nearest Neighbours, & returning the most common class label among them
-

Predict Method for Class Labels Using Single Point Prediction
By
–
A 'predict' method that predicts the class labels for a set of data points. It calls '_predict_single' method that actually predicts the class label for a single data point.
-

Implementing Fit Method and Euclidean Distance in KNN Algorithm
By
–
Next define the "fit" method that takes the training data(X) and it's corresponding labels(y) and stores them. This is the reason why the computation cost is high as it stores all the training data! And also a method to calculates the euclidean distance between two data points.
-

KNNClassifier Class Initialization and K Value Selection
By
–
Define the KNNClassifier class and initialize the number of Neighbours (k) to be considered in __init__ method Defining the K value is critical in KNN! A small value of k means noise will have a higher influence on the result and a large value makes it computationally expensive
-
K Nearest Neighbors KNN Python Implementation From Scratch
By
–
K Nearest Neighbors(KNN) implemented from scratch in Python: Here is the step by step explanation with code.
-

Scikit-LLM: Integrating Large Language Models with Scikit-Learn
By
–
Introducing Scikit-LLM: Scikit-Learn Meets Large Language Models! You can seamlessly integrate powerful language models like ChatGPT into scikit-learn for enhanced text analysis tasks. Here's what you can do with Scikit-LLM: 1. Zero-Shot Text Classification
2. Few-Shot Text -
Wrap Up: Python, Machine Learning & LLMs Tutorials
By
–
That's a wrap! Every day, I share tutorials and simplify complex topics around Python, Machine Learning & LLMs. Follow me → @Sumanth_077 to ensure you don't miss that. Like/RT the first tweet to support my work and help this reach more people.