#Importing the Required Libraries from math import gamma from typing import Type import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.datasets import load_iris from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import SVC from sklearn.linear_model import LogisticRegression…
Arun prasad Gobinathan
updated on 31 May 2021
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Arun prasad Gobinathan (13)
Project 2
1. Importing Dataset: In[1]: # 'Importing the required Libraries' from os import execl import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.cluster import KMeans import seaborn as sns # 'Importing the dataset using pandas' df=pd.read_csv("auto-mpg_kaggle.csv") # 'Printing the first 5 rows…
02 Feb 2022 04:17 PM IST
Project 1
Data cleaning on Automobile 1985 dataset and perform descriptive analytics 1. Data Importing: # "Importing the Required libraries" import numpy as np import pandas as pd # 'Importing the Dataset using Pandas' df_auto = pd.read_csv("auto.csv", header = None) # 'Printing the first 5 rows in the Data Frame' df_auto.head()…
30 Jan 2022 06:53 AM IST
Unsupervised Learning - Kmeans Week 11 Challenge
Question 1: How does similarity is calculated if data is categorical in nature? Answer: The Similarity Measure is a way of measuring how data samples are related or close to each other. There are Several ways to find the similarity in the categorical in nature. They are mentioned below as, 1. Euclidean. 2. Manhattan.…
31 Aug 2021 07:42 AM IST
Supervised Learning - Classification Week 9 Challenge
Question 1: What is a Neural Network? Answer: A neural network is a series of algorithm that endevors to recognize underlaying relationship in a set of data through a process that mimics the way of human brain operates. Question 2: What is deep learning? Answer: Deep Learning is a subset of machine learning,…
13 Jun 2021 12:34 PM IST
Supervised Learning - Classification Week 8 Challenge
Question 1: Apply knn to the “Surface defects in stainless steel plates” and identify the differences? # "KNN Coding using Steel plate surface defect data set" # "Importing the Required libraries" import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from sklearn.neighbors…
02 Jun 2021 04:24 PM IST
K-Nearest Neighbor
from math import gamma from typing import Type import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.datasets import load_iris iris=load_iris() print(dir(iris)) print(type(iris)) df=pd.DataFrame(iris.data,columns=iris.feature_names) print(df) df['target']=iris.target print(df) print(df.describe())…
31 May 2021 06:57 AM IST
K-Fold Cross Validation
#Importing the Required Libraries from math import gamma from typing import Type import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.datasets import load_iris from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import SVC from sklearn.linear_model import LogisticRegression…
31 May 2021 06:55 AM IST
Supervised Learning - Classification Week 7 Challenge
Question 1: Pros and cons of SVM? Pros of SVM: 1. It works really well with a clear margin of separation. 2. It is Effective in high dimensional spaces. 3. It is effective in cases where the number of dimensions is greater than the number of samples. 4. It uses a subset of training points in the decision function (called…
23 May 2021 04:08 PM IST
Exploratory Data Analysis using a Dataset
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from sklearn import linear_model from math import floor import nbconvert from scipy.stats import trim_mean titanic = pd.read_csv("titanic.csv")…
15 May 2021 02:31 PM IST
To find the 2nd Largest number from the list.
15 May 2021 02:28 PM IST
Basics of ML & AL Week 2 Challenge
Question 1)Calculate all 4 business moments using pen and paper for the below data set? Answer For Question 1: Question 2)What is the significance of expected value when simple mean (Sum of all observations/number of observations) is already in place? Answer for Question 2: Expected Value…
05 Oct 2020 05:08 PM IST
Predicting Vehicle Price Using Python
20 Sep 2020 01:18 PM IST
Basics of Probability and Statistics Week 1 Challenge
1. Why there is difference in the formula of variance for population and sample? Answer for Question 1: The Formula for the Population and Sample Variance is as follows, Population Variance:`sigma^2` =(`summation`(Xi-`mux`)^ 2)/N Sample Variance:`S^2` =(`summation`(Xi-`mux`) ^2)/(N-1) …
14 Sep 2020 04:40 AM IST