AmitDiwan has Published 10744 Articles

How to eliminate mean values from feature vector using scikit-learn library in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:25:51

401 Views

Pre-processing data refers to cleaning of data, removing invalid data, noise, replacing data with relevant values and so on.Data pre-processing basically refers to the task of gathering all the data (which is collected from various resources or a single resource) into a common format or into uniform datasets (depending on ... Read More

How can decision tree be used to implement a regressor in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:25:05

192 Views

Decision tree is the basic building block of the random forest algorithm. It is considered as one of the most popular algorithms in machine learning and is used for classification purposes. The decision given out by a decision tree can be used to explain why a certain prediction was made. ... Read More

Explain how scikit-learn library can be used to split the dataset for training and testing purposes in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:24:12

259 Views

Scikit-learn, commonly known as sklearn is a library in Python that is used for the purpose of implementing machine learning algorithms. It is powerful and robust, since it provides a wide variety of tools to perform statistical modelling.This includes classification, regression, clustering, dimensionality reduction, and much more with the help ... Read More

How to avoid the points getting overlapped while using stripplot in categorical scatter plot Seaborn Library in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:23:00

1K+ Views

Visualizing data is an important step since it helps understand what is going on in the data without actually looking at the numbers and performing complicated computations. Seaborn is a library that helps in visualizing data. It comes with customized themes and a high level interface.General scatter plots, histograms, etc ... Read More

What is SciPy in Python? Explain how it can be installed, and its applications?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:21:48

228 Views

Data present in large amounts needs to be dealt with properly. This is why computers with large capacities are used. Scientific and technical computations of large datasets can be done with the help of a library in Python known as SciPy. SciPy is short of ‘Scientific Python’.The Numpy library in ... Read More

How can Seaborn library be used to display kernel density estimations in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:20:39

111 Views

Visualizing data is an important step since it helps understand what is going on in the data without actually looking at the numbers and performing complicated computations. Seaborn is a library that helps in visualizing data. It comes with customized themes and a high-level interface.Kernel Density Estimation, also known as ... Read More

How can scikit-learn library be used to load data in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:17:10

398 Views

Scikit-learn, commonly known as sklearn is an open-source library in Python that is used for the purpose of implementing machine learning algorithms.This includes classification, regression, clustering, dimensionality reduction, and much more with the help of a powerful, and stable interface in Python. This library is built on Numpy, SciPy and ... Read More

Explain the basics of scikit-learn library in Python?

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 10:16:02

388 Views

Scikit-learn, commonly known as sklearn is a library in Python that is used for the purpose of implementing machine learning algorithms.It is an open-source library hence it can be used free of cost. Powerful and robust, since it provides a wide variety of tools to perform statistical modelling. This includes ... Read More

Construct an identity matrix of order n in JavaScript

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 09:47:53

876 Views

Identity MatrixAn identity Matrix is a matrix which is n × n square matrix where the diagonal consist of ones and the other elements are all zeros.For example an identity matrix of order is will be −const arr = [    [1, 0, 0],    [0, 1, 0],    [0, ... Read More

Return Vowels in a string in JavaScript

AmitDiwan

AmitDiwan

Updated on 11-Dec-2020 09:46:17

770 Views

We are required to write a JavaScript function that takes in a string that might contain some alphabets. The function should count and return the number of vowels that exists in the string.ExampleFollowing is the code −const str = 'this is a string'; const countVowels = (str = '') => ... Read More

Advertisements