Understanding KNN Algorithm Principles

Understanding KNN Algorithm Principles

1. Overview of KNN Algorithm KNN can be said to be one of the simplest classification algorithms, and it is also one of the most commonly used classification algorithms. Note that KNN is a supervised learning classification algorithm, which looks somewhat similar to another machine learning algorithm, Kmeans (Kmeans is an unsupervised learning algorithm), but … Read more

12 Essential Machine Learning Model Evaluation Metrics

12 Essential Machine Learning Model Evaluation Metrics

The idea of building a machine learning or deep learning model follows the principle of constructive feedback.You build a model, get feedback from metrics, improve it, and continue until you achieve the desired classification accuracy.The evaluation metrics explain the performance of the model.An important aspect of evaluation metrics is their ability to distinguish the results … Read more

Summary of XGBoost Parameter Tuning

Summary of XGBoost Parameter Tuning

XGBoost has shone in Kaggle competitions. In previous articles, the principles of the XGBoost algorithm and the XGBoost splitting algorithm were introduced. Most explanations of XGBoost parameters found online only scratch the surface, making it extremely unfriendly for those new to machine learning algorithms. This article will explain some important parameters while referencing mathematical formulas … Read more

Evaluating Python Machine Learning Models: Cross-Validation and Test Set

Evaluating Python Machine Learning Models: Cross-Validation and Test Set

In the process of developing machine learning models, evaluating the performance of a model is a crucial step. Through evaluation, we can understand the model’s generalization ability, that is, its performance on unseen data. Cross-validation and test sets are two commonly used evaluation methods, each with its specific use cases and advantages. This article will … Read more

Scikit-learn: The Swiss Army Knife of Machine Learning

Scikit-learn: The Swiss Army Knife of Machine Learning

Honestly, every time I write machine learning code with Scikit-learn, I feel an inexplicable thrill. This library is like our helpful assistant, wrapping complex machine learning algorithms in a simple and easy-to-use way, allowing us to focus on solving real problems rather than getting bogged down in the details of algorithm implementation. Installation and Import … Read more