Let’s start visualizing correlation values in a plot.Open your RStudio and begin typing in !!! Let's import the library corrplot for correlation matrix visualization library(corrplot) Let's store the dataset mtcars into dataframe named DataFrame DataFrame <- mtcars Let's find the correlation matrix of this data set corrMatrix <- cor(DataFrame) Let'c visualize the correlation matrix.This plot […]

## Finding patterns in Predictor Variables

Finding correlated variables is very important in order to remove multicollinearity in multiple regression models.Once you know the correlated variables you can choose few from them or may be just one from them.It depends on correlation value and other factors.Let’s begin to visualize the correlation in variables in a nice plot.Open your RStudio and begin […]

## Decision Tree Classifier using python

Introduction Let’s learn from a precise demo on Fitting Decision Tree Classifier on Titanic Data Set for Machine Learning Course for Beginners: https://www.udemy.com/machine-learning-using-r/?couponCode=DISFOR123 Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine […]

## Naive Bayes Classifier using python

Introduction Let’s learn from a precise demo on Fitting Naive Bayes Classifier on Titanic Data Set for Machine Learning Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine learning Problem : To […]

## Nearest Neighbor Classifier using python

Introduction Let’s learn from a precise demo on Fitting Nearest Neighbor Classifier on Titanic Data Set for Machine Learning Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine learning Problem : To […]

## Missing Value Analysis using Python

Missing Value analysis on Titanic data set for Machine Learning and Data Analytics Let's import the libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline Let's read the train and test data set .We are using the titanic data set train=pd.read_csv('C:\\Users\\Arpan\\Desktop\\titanic data set\\train.csv') test=pd.read_csv('C:\\Users\\Arpan\\Desktop\\titanic data […]

## Natural Language Processing using python

Introduction Let’s learn from a precise demo on Natural Language Processing on Newsgroup data for Machine Learning What we will do : 1. Read the newsgroup data 2. Use TfIdfVectorizer for converting a collection of raw documents to a matrix of TF-IDF features. 3. Fit random forest and multinomial model (No crossvalidation is used here) […]

## Support Vector Machine using python

Introduction Let’s learn from a precise demo on Fitting Support Vector Machine on Titanic Data Set for Machine Learning Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine learning Problem : To […]

## Logistic Regression using python

Let’s learn from a precise demo on Fitting Logistic Regression on Titanic Data Set for Machine Learning Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine learning Problem : To predict which […]

## Random Forest using Python

Let’s learn from a precise demo on Fitting Random Forest on Titanic Data Set for Machine Learning Description: On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships. Machine learning Problem : To predict which […]