Tag Archives: sklearn

How to implement K-Nearest Neighbors Algorithm in Python and Scikit-Learn

  How to implement K-Nearest Neighbors Algorithm in Python and Scikit-Learn The K-nearest neighbors (KNN) algorithm is a type of supervised machine learning algorithms. KNN is extremely easy to implement in its most basic form, and yet performs quite complex classification tasks. It is a lazy learning algorithm since it doesn’t have a specialized training phase. Rather, …

How to do K-Means Clustering with Scikit-Learn in Python

How to do K-Means Clustering with Scikit-Learn in Python Introduction K-means clustering is one of the most widely used unsupervised machine learning algorithms that forms clusters of data based on the similarity between data instances. For this particular algorithm to work, the number of clusters has to be defined beforehand. The K in the K-means …

Machine Learning Mastery: Linear Regression using sklearn

Linear Regression using sklearn   Linear Regression is a machine learning algorithm based on supervised learning. It performs a regression task. Regression models a target prediction value based on independent variables. It is mostly used for finding out the relationship between variables and forecasting. Different regression models differ based on – the kind of relationship …

Machine Learning Mastery: Mini-Batch Gradient Descent with Python

Mini-Batch Gradient Descent with Python   In machine learning, gradient descent is an optimization technique used for computing the model parameters (coefficients and bias) for algorithms like linear regression, logistic regression, neural networks, etc. In this technique, we repeatedly iterate through the training set and update the model parameters in accordance with the gradient of …

Machine Learning Mastery: Multiclass classification using scikit-learn

Multiclass classification using scikit-learn   Multiclass classification is a popular problem in supervised machine learning. Problem – Given a dataset of m training examples, each of which contains information in the form of various features and a label. Each label corresponds to a class, to which the training example belongs to. In multiclass classification, we have a finite …

How to setup Dropout Regularization in Keras

(How to setup Dropout Regularization in Keras) In this Learn through Codes example, How to setup Dropout Regularization in Keras.  Dropout_Regularization_on_the_Visible_Layer Python Example for Beginners Special 95% discount 2000+ Applied Machine Learning & Data Science Recipes Portfolio Projects for Aspiring Data Scientists: Tabular Text & Image Data Analytics as well as Time Series Forecasting …

Beginner’s Data Science Project 001 – Data Science Project on President Heights

Data Science Project on President Heights   If you are a beginner in Data Science you must solve this project, as you will learn a lot about working on Data, that comes from a csv file or any other formats. This data is available in the file heights.csv, which is a simple comma-separated list of labels …

Binary Classification – Smaller Keras Model in Python with Standardized data

(Binary Classification – Smaller Keras Model in Python with Standardized data) In this Learn through Codes example, you will learn Binary Classification – Smaller Keras Model in Python with Standardized data.  Binary_Classification_Smaller_Keras_Model_in_Python_with_Standardized_data   Python Example for Beginners Special 95% discount 2000+ Applied Machine Learning & Data Science Recipes Portfolio Projects for Aspiring Data Scientists: …

Binary Classification with Sonar Dataset: Baseline Keras Model in Python with Standardized data

  (Binary Classification with Sonar Dataset: Baseline Keras Model in Python with Standardized data) In this Learn through Codes example, you will learn Binary Classification with Sonar Dataset: Baseline Keras Model in Python with Standardized data.  Baseline_Keras_Model_in_Python_with_Standardized_data   Python Example for Beginners Special 95% discount 2000+ Applied Machine Learning & Data Science Recipes Portfolio …