
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Gaurav Leekha has Published 130 Articles

Gaurav Leekha
3K+ Views
Naïve Bayes classification, based on the Bayes theorem of probability, is the process of predicting the category from unknown data sets. Scikit-learn has three Naïve Bayes models namely, Gaussian Naïve Bayes Bernoulli Naïve Bayes Multinomial Naïve Bayes In this tutorial, we will learn Gaussian Naïve Bayes and Bernoulli ... Read More

Gaurav Leekha
1K+ Views
Random forest is a supervised machine learning algorithm that is used for classification, regression, and other tasks by creating decision trees on data samples. After creating the decision trees, a random forest classifier collects the prediction from each of them and selects the best solution by means of voting. One ... Read More

Gaurav Leekha
351 Views
With the help of the Scikit-learn python library, we can get the dictionary-like objects of a dataset. Some of the interesting attributes of dictionary-like objects are as follows − data − It represents the data to learn. target − It represents the regression target. DESCR − The description of ... Read More

Gaurav Leekha
4K+ Views
Binarization is a preprocessing technique which is used when we need to convert the data into binary numbers i.e., when we need to binarize the data. The scikit-learn function named Sklearn.preprocessing.binarize() is used to binarize the data. This binarize function is having threshold parameter, the feature values below or equal ... Read More

Gaurav Leekha
3K+ Views
Python Scikit-learn provides us make_spd_matrix() function with the help of which we can generate a random symmetric positive-definite matrix. In this tutorial, we will generate symmetric positive-definite and sparse spd matrices using Scikit-learn (Sklearn) in Python. To do so, we can follow the below given steps − Step 1 − ... Read More

Gaurav Leekha
1K+ Views
Python Scikit-learn provides us make_regression() function with the help of which we can generate a random regression problem. In this tutorial, we will learn to generate random regression problems and random regression problems with sparse uncorrelated design. Random Regression Problem To generate a random regression problem using Python Scikit-learn, we ... Read More

Gaurav Leekha
4K+ Views
Scikit-learn provides us make_classification() function with the help of which we can plot randomly generated classification datasets with different numbers of informative features, clusters per class and classes. In this tutorial, we will learn how to generate and plot classification dataset using Python Scikit-learn. Dataset with One Informative Feature and ... Read More

Gaurav Leekha
416 Views
In this tutorial, we will learn how to generate an array with a constant block diagonal structure and with a block checkerboard structure for bi-clustering using Python Scikit-learn (Sklearn). Generating an Array with a Constant Block Diagonal Structure To generate an array with constant block diagonal structure for biclustering, we ... Read More

Gaurav Leekha
823 Views
In this tutorial, we will learn how to create a sample dataset using Python Scikit-learn. There are various built-in scikit-learn datasets which we can use easily for our ML model but sometimes we need some toy dataset. For this purpose, scikit-learn python library provides us a great sample dataset generator. ... Read More

Gaurav Leekha
12K+ Views
Scikit-learn, also known as Sklearn, is the most useful and robust open-source Python library that implements machine learning and statistical modeling algorithms including classification, regression, clustering, and dimensionality reduction using a unified interface. Scikit-learn library is written in Python and is built upon other Python packages such as NumPy (Numerical ... Read More