Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 31

May 18, 2021 7:57:51 PM from Supriya Gorai to All Participants:

good evening

May 18, 2021 7:58:07 PM from Sachin Shinde to All Participants:


good evening all

May 18, 2021 7:59:34 PM from Kanhaiya Desai to All Participants:


has the session started

May 18, 2021 8:00:15 PM from Kanhaiya Desai to All Participants:


no audio

May 18, 2021 8:00:50 PM from bijju9480 to All Participants: yes

May 18, 2021 8:00:53 PM from JAMEER MULANI to All Participants:


yes yes

May 18, 2021 8:00:54 PM from Kanhaiya Desai to All Participants:


ya nw ur

May 18, 2021 8:00:55 PM from ishanpanch to All Participants: yes

May 18, 2021 8:00:56 PM from Pavan G Shanbhag to All Participants:


good evng.. yes

May 18, 2021 8:00:58 PM from Sunny Anand to All Participants: good
evening Sir

May 18, 2021 8:00:58 PM from Baburaj.manickam to All Participants:


Good Evening, Yes

May 18, 2021 8:01:05 PM from Sunny Anand to All Participants: yes

May 18, 2021 8:01:08 PM from Shreedevi.kallimani Kallimani to All


Participants: Good evening sir

May 18, 2021 8:01:09 PM from Santosh Kumar to All Participants:


yes

May 18, 2021 8:01:10 PM from Ayadav1721 to All Participants: good


evening

May 18, 2021 8:01:13 PM from Ayadav1721 to All Participants: yes

May 18, 2021 8:01:20 PM from Ayadav1721 to All Participants: very


well

May 18, 2021 8:01:21 PM from Kanhaiya Desai to All Participants:


fine sir

May 18, 2021 8:01:21 PM from Shreedevi.kallimani Kallimani to All


Participants: Fine sir

May 18, 2021 8:01:24 PM from Ayadav1721 to All Participants: how


about u

May 18, 2021 8:01:25 PM from Shreedevi.kallimani Kallimani to All


Participants: How abt you?
May 18, 2021 8:01:27 PM from Baburaj.manickam to All Participants:
Good, Thanks, Hru?

May 18, 2021 8:01:34 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: good sir..

May 18, 2021 8:01:37 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: how about you

May 18, 2021 8:01:54 PM from Ayadav1721 to All Participants: have u


done ur vaccination ?

May 18, 2021 8:02:17 PM from Govardhan to All Participants: how


are you sir??

May 18, 2021 8:02:30 PM from SHUBHAM SHARMA to All Participants:


yes isr ,exactly

May 18, 2021 8:02:30 PM from Ayadav1721 to All Participants: yes..

May 18, 2021 8:02:33 PM from SHUBHAM SHARMA to All Participants:


sir*

May 18, 2021 8:02:53 PM from Ayadav1721 to All Participants: r u in


mumbai

May 18, 2021 8:03:10 PM from Ayadav1721 to All Participants: okay..

May 18, 2021 8:03:13 PM from Kanhaiya Desai to All Participants:


sir ur health is good na

May 18, 2021 8:03:25 PM from Ayadav1721 to All Participants: yeah

May 18, 2021 8:04:05 PM from Kanhaiya Desai to All Participants:


sir tc

May 18, 2021 8:04:06 PM from Priyanka Padole to All Participants:


good evening sir

May 18, 2021 8:04:56 PM from kallinkeela0@gmail.com to All


Participants: return np.mean(np.abs((Y_test - Y_pred) / Y_test)) * 100 - could
u explain this function

May 18, 2021 8:05:11 PM from kallinkeela0@gmail.com to All


Participants: what are we actually calculating here?

May 18, 2021 8:05:40 PM from kallinkeela0@gmail.com to All


Participants: okay.. got it

May 18, 2021 8:05:51 PM from kocherla satya viroop to All


Participants: sir have you uploaded the file yesterdays ?

May 18, 2021 8:05:53 PM from Gurudatta Patil to All Participants:


yes

May 18, 2021 8:06:08 PM from JAMEER MULANI to All Participants:


in ML folder

May 18, 2021 8:06:25 PM from kocherla satya viroop to All


Participants: yeah ok sir

May 18, 2021 8:06:38 PM from Sunny Anand to All Participants: yes

May 18, 2021 8:06:42 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:06:46 PM from JAMEER MULANI to All Participants:


yes yes

May 18, 2021 8:06:51 PM from sidana.nishant to All Participants:


#import necessary library
import numpy as np
import pandas as pd

May 18, 2021 8:06:55 PM from sidana.nishant to All Participants:


#import sklearn load dataset
from sklearn.datasets import load_iris
iris_dataset = load_iris()

May 18, 2021 8:07:00 PM from sidana.nishant to All Participants:


# view information using dataset built in method DESCR (describe)
print (iris_dataset.DESCR)

May 18, 2021 8:07:15 PM from eduardonav127 to All Participants:


Can someone share the google drive again?

May 18, 2021 8:07:30 PM from sidana.nishant to All Participants:


# create a pandas dataframe and store the data
df = pd.DataFrame(iris_dataset.data)
df.columns = iris_dataset.feature_names

May 18, 2021 8:07:32 PM from kocherla satya viroop to All


Participants: sir i got only boston's data set file

May 18, 2021 8:07:36 PM from sidana.nishant to All Participants:


df['Species'] = iris_dataset.target

May 18, 2021 8:07:51 PM from sidana.nishant to All Participants:


df

May 18, 2021 8:07:54 PM from kocherla satya viroop to All


Participants: ok sir

May 18, 2021 8:07:58 PM from Shreedevi.kallimani Kallimani to All


Participants: this is done sir

May 18, 2021 8:08:08 PM from Sunny Anand to All Participants: yes

May 18, 2021 8:08:12 PM from Gurudatta Patil to All Participants:


no

May 18, 2021 8:08:15 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 8:08:17 PM from Navya A to All Participants: yes

May 18, 2021 8:08:18 PM from SUSHANT KUMAR to All Participants:


no
May 18, 2021 8:08:46 PM from Kanhaiya Desai to All Participants:
done

May 18, 2021 8:08:49 PM from SUSHANT KUMAR to All Participants:


sir doing

May 18, 2021 8:08:53 PM from JAMEER MULANI to All Participants:


done

May 18, 2021 8:09:41 PM from PRAKASH MADHUKAR SUTAR to All


Participants: done

May 18, 2021 8:10:04 PM from SUSHANT KUMAR to All Participants:


done sir

May 18, 2021 8:10:18 PM from sidana.nishant to All Participants:


#It is used to summarize the data information in terms of descriptive
statistics
df.describe()

May 18, 2021 8:10:19 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 8:10:24 PM from sidana.nishant to All Participants:


# Assign independent variables to X dataset
X =df[df.columns[:4]]
X

May 18, 2021 8:10:27 PM from Sunny Anand to All Participants: YES

May 18, 2021 8:10:32 PM from sidana.nishant to All Participants:


# Assign dependent variable to Y dataset
Y = df["Species"]
Y

May 18, 2021 8:10:40 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 8:10:40 PM from kallinkeela0@gmail.com to All


Participants: we can directly assign the data r8?

May 18, 2021 8:10:42 PM from Shreedevi.kallimani Kallimani to All


Participants: yes,its done

May 18, 2021 8:10:59 PM from kallinkeela0@gmail.com to All


Participants: right?

May 18, 2021 8:11:24 PM from JAMEER MULANI to All Participants:


share code

May 18, 2021 8:11:38 PM from kallinkeela0@gmail.com to All


Participants: okay

May 18, 2021 8:11:47 PM from sidana.nishant to All Participants:


# Splitting the data into training & testing datasets(70:30)
from sklearn.model_selection import train_test_split
X_train, X_test, Y_train, Y_test =
sklearn.model_selection.train_test_split(X,Y,random_state=2,test_size=0.3)
May 18, 2021 8:12:20 PM from RAMESH KUMAR SELVARATHINAM to All
Participants: NameError: name 'sklearn' is not defined

May 18, 2021 8:12:27 PM from JAMEER MULANI to All Participants:


name error

May 18, 2021 8:12:46 PM from Sunny Anand to All Participants:


ERROR:SKLEARN IS NOT DEFINED

May 18, 2021 8:12:48 PM from kallinkeela0@gmail.com to All


Participants: @ramesh plz import sklearn first

May 18, 2021 8:12:54 PM from PRAKASH MADHUKAR SUTAR to All


Participants: SyntaxError: unexpected EOF while parsing

May 18, 2021 8:13:03 PM from sidana.nishant to All Participants:


import sklearn

May 18, 2021 8:13:29 PM from ishanpanch to All Participants:


NameError: name 'Y' is not defined

May 18, 2021 8:13:59 PM from ishanpanch to All Participants: sir


due to that cyclone i wass not able to attend yesterday class thats why no idea

May 18, 2021 8:14:13 PM from ishanpanch to All Participants: that i


have ran

May 18, 2021 8:14:17 PM from ishanpanch to All Participants:


gujarat

May 18, 2021 8:14:33 PM from Kanhaiya Desai to All Participants:


ya cyclone has hit very badly

May 18, 2021 8:14:36 PM from ishanpanch to All Participants: yes im


in valsad

May 18, 2021 8:14:39 PM from SUSHANT KUMAR to All Participants:


Sir its today in Ahmedabad

May 18, 2021 8:14:41 PM from Kanhaiya Desai to All Participants:


me

May 18, 2021 8:14:43 PM from ishanpanch to All Participants: near


daman

May 18, 2021 8:14:56 PM from JAMEER MULANI to All Participants:


ishan take care bro

May 18, 2021 8:15:05 PM from ishanpanch to All Participants:


@jameer yes bro

May 18, 2021 8:15:20 PM from ishanpanch to All Participants: okay


just wait

May 18, 2021 8:15:28 PM from sidana.nishant to All Participants:


# Assign independent variables to X dataset
X =df[df.columns[:4]]
X

May 18, 2021 8:15:35 PM from sidana.nishant to All Participants:


# Assign dependent variable to Y dataset
Y = df["Species"]
Y

May 18, 2021 8:15:37 PM from ishanpanch to All Participants: okay


sir

May 18, 2021 8:15:37 PM from kallinkeela0@gmail.com to All


Participants: #import necessary library
import numpy as np
import pandas as pd
import sklearn
#import sklearn load dataset
from sklearn.datasets import load_iris
iris_dataset = load_iris()
# view information using dataset built in method DESCR (describe)
print (iris_dataset.DESCR)
df = pd.DataFrame(iris_dataset.data)
df.columns = iris_dataset.feature_names
df['Species'] = iris_dataset.target
print(df)
print(df.describe())
X = df[df.columns[:4]]
Y = df['Species']
print(X)
print(Y)
from sklearn.model_selection import train_test_split
X_train, X_test, Y_train, Y_test =
sklearn.model_selection.train_test_split(X,Y,random_state=2,test_size=0.3)
from sklearn.neighbors import KNeighborsClassifier
knn = KNeighborsClassifier()

May 18, 2021 8:16:07 PM from ishanpanch to All Participants:


@kallinkeela thanks

May 18, 2021 8:16:09 PM from PRAKASH MADHUKAR SUTAR to All


Participants: do we need 4 variable everytime for using .train_test_split?

May 18, 2021 8:16:29 PM from PRAKASH MADHUKAR SUTAR to All


Participants: X_train, X_test, Y_train, Y_test

May 18, 2021 8:16:42 PM from kallinkeela0@gmail.com to All


Participants: no worries @ishanpanch - last 2 lines yet to discuss

May 18, 2021 8:16:48 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 8:16:54 PM from Athira Balachandran to All


Participants: @Prakash, according to our dataset column numbers.. in iris
dataset, we have 4 feature columns

May 18, 2021 8:17:08 PM from PRAKASH MADHUKAR SUTAR to All


Participants: i was asking is the syntax same everytime ?or it can be changed ?

May 18, 2021 8:17:11 PM from sidana.nishant to All Participants:


# first use KNN classifier method - import it from sklearn
from sklearn.neighbors import KNeighborsClassifier

May 18, 2021 8:17:48 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 8:18:00 PM from sidana.nishant to All Participants:


# instantiate the knn estimator
knn = KNeighborsClassifier()

May 18, 2021 8:18:10 PM from sidana.nishant to All Participants:


# fit data into KNN model (estimator)
knn.fit(X_train,Y_train)

May 18, 2021 8:18:59 PM from Kushal Malve to All Participants:


done

May 18, 2021 8:19:21 PM from ishanpanch to All Participants: done

May 18, 2021 8:19:21 PM from Kanhaiya Desai to All Participants:


done

May 18, 2021 8:19:23 PM from Navya A to All Participants: yes

May 18, 2021 8:19:31 PM from JAMEER MULANI to All Participants:


yes

May 18, 2021 8:19:34 PM from SUSHANT KUMAR to All Participants:


Sir, pls explain hw r we going to write the codes ?

May 18, 2021 8:19:45 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 8:20:13 PM from Shreedevi.kallimani Kallimani to All


Participants: yes

May 18, 2021 8:20:14 PM from kallinkeela0@gmail.com to All


Participants: no need to normalize here?

May 18, 2021 8:20:27 PM from Athira Balachandran to All


Participants: in line 17, i am getting output as just KNeighborsClassifier().
No description like yours.

May 18, 2021 8:20:35 PM from kallinkeela0@gmail.com to All


Participants: got it

May 18, 2021 8:20:41 PM from Kanhaiya Desai to All Participants:


ya in same range

May 18, 2021 8:20:57 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:21:04 PM from SUSHANT KUMAR to All Participants:


yes sir

May 18, 2021 8:21:07 PM from Prajesh Sortee to All Participants:


from library.module import function()

May 18, 2021 8:21:27 PM from Athira Balachandran to All


Participants: in line 17, i am getting output as just KNeighborsClassifier().
No description like yours Sir

May 18, 2021 8:21:29 PM from Prajesh Sortee to All Participants:


is it right?

May 18, 2021 8:22:12 PM from SUSHANT KUMAR to All Participants:


yes

May 18, 2021 8:22:42 PM from Athira Balachandran to All


Participants: yes

May 18, 2021 8:22:42 PM from Sunny Anand to All Participants: yes

May 18, 2021 8:22:48 PM from SUSHANT KUMAR to All Participants:


what is the meaning of initiating ?

May 18, 2021 8:22:50 PM from JAMEER MULANI to All Participants:


yes

May 18, 2021 8:23:28 PM from Kanhaiya Desai to All Participants:


knn.fit(X_train,Y_train)

May 18, 2021 8:23:52 PM from Shreedevi.kallimani Kallimani to All


Participants: in logistic, we only use KNN model?

May 18, 2021 8:23:54 PM from Kanhaiya Desai to All Participants:


KNeighborsClassifier() giving this output and yours is different

May 18, 2021 8:24:04 PM from SHUBHAM SHARMA to All Participants:


sir but these details are not coming in our jupyter notebook

May 18, 2021 8:24:08 PM from spandey753 to All Participants:


Unknown label type: 'continuous'

May 18, 2021 8:24:15 PM from spandey753 to All Participants: geetng


error

May 18, 2021 8:24:19 PM from Athira Balachandran to All


Participants: Sir, i am not getting that description inside bracket. its not a
problm right?

May 18, 2021 8:24:26 PM from Athira Balachandran to All


Participants: ok sir

May 18, 2021 8:24:29 PM from Kanhaiya Desai to All Participants:


ya same here

May 18, 2021 8:24:50 PM from Prajesh Sortee to All Participants:


methods are not in blue color

May 18, 2021 8:24:51 PM from sidana.nishant to All Participants:


print(knn)

May 18, 2021 8:24:55 PM from Shreedevi.kallimani Kallimani to All


Participants: what are the other models used in logistic regression?

May 18, 2021 8:25:12 PM from Kanhaiya Desai to All Participants:


no giving same output
May 18, 2021 8:25:17 PM from Shreedevi.kallimani Kallimani to All
Participants: based on what you have choosen this model sir

May 18, 2021 8:25:21 PM from SUSHANT KUMAR to All Participants:


n_jobs ??

May 18, 2021 8:25:21 PM from SHUBHAM SHARMA to All Participants:


?knn works

May 18, 2021 8:25:23 PM from Kushal Malve to All Participants:


print(knn) also gives same ouput

May 18, 2021 8:25:30 PM from bijju9480 to All Participants: no it


is giving same output

May 18, 2021 8:25:32 PM from Shreedevi.kallimani Kallimani to All


Participants: oh ok

May 18, 2021 8:25:36 PM from Shreedevi.kallimani Kallimani to All


Participants: understood

May 18, 2021 8:25:42 PM from SHUBHAM SHARMA to All Participants:


use this you will get everything , use ?knn

May 18, 2021 8:26:06 PM from Prajesh Sortee to All Participants:


what is p

May 18, 2021 8:26:10 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:26:18 PM from Prajesh Sortee to All Participants:


in the parameters?

May 18, 2021 8:26:43 PM from SHUBHAM SHARMA to All Participants:


p : int, default=2
Power parameter for the Minkowski metric. When p = 1, this is
equivalent to using manhattan_distance (l1), and euclidean_distance
(l2) for p = 2. For arbitrary p, minkowski_distance (l_p) is used.

May 18, 2021 8:26:44 PM from sidana.nishant to All Participants:

https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClass
ifier.html

May 18, 2021 8:27:26 PM from Kushal Malve to All Participants:


okay

May 18, 2021 8:27:29 PM from VIDYARANI K R to All Participants:


yes

May 18, 2021 8:27:45 PM from Ayadav1721 to All Participants:


Nishant, one request

May 18, 2021 8:27:46 PM from SUSHANT KUMAR to All Participants:


yes sir

May 18, 2021 8:27:52 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes
May 18, 2021 8:28:06 PM from Athira Balachandran to All
Participants: Sir, in self learning, the step had knn =
KNeighborsClassifier(n_neighbors = 1)

May 18, 2021 8:28:14 PM from Athira Balachandran to All


Participants: how is it different?

May 18, 2021 8:28:36 PM from Sachin Shinde to All Participants:


by default 5

May 18, 2021 8:28:40 PM from Athira Balachandran to All


Participants: ok sir

May 18, 2021 8:28:50 PM from Athira Balachandran to All


Participants: as the model sees fit

May 18, 2021 8:28:55 PM from Sachin Shinde to All Participants:


okk

May 18, 2021 8:28:59 PM from Kushal Malve to All Participants:


yes

May 18, 2021 8:28:59 PM from Athira Balachandran to All


Participants: ok sir

May 18, 2021 8:29:00 PM from Sunny Anand to All Participants: ok

May 18, 2021 8:29:01 PM from JAMEER MULANI to All Participants:


can we give it 7 or any random no

May 18, 2021 8:29:03 PM from Pavan G Shanbhag to All Participants:


s

May 18, 2021 8:29:05 PM from Sanjay.menon to All Participants:


yes

May 18, 2021 8:29:16 PM from JAMEER MULANI to All Participants:


ok sir

May 18, 2021 8:29:55 PM from Kanhaiya Desai to All Participants:


groups

May 18, 2021 8:29:56 PM from SUSHANT KUMAR to All Participants:


types

May 18, 2021 8:30:00 PM from Kushal Malve to All Participants:


different classes of groups

May 18, 2021 8:30:05 PM from P maheswar Reddy to All Participants:


types of flowers

May 18, 2021 8:30:06 PM from Athira Balachandran to All


Participants: 3 outcomes

May 18, 2021 8:30:09 PM from Shreedevi.kallimani Kallimani to All


Participants: Iris-Setosa

May 18, 2021 8:30:11 PM from SHUBHAM SHARMA to All Participants:


setosa,versicolor,virginica classification

May 18, 2021 8:30:17 PM from Kushal Malve to All Participants:


- Iris-Setosa
- Iris-Versicolour
- Iris-Virginica

May 18, 2021 8:30:23 PM from SUSHANT KUMAR to All Participants:


yes sir

May 18, 2021 8:30:23 PM from sidana.nishant to All Participants:


#Model Evaluation
#Predict the output on test dataset
# predict the outcome for the new observation using knn classifier
y_predict=knn.predict(X_test)
y_predict

May 18, 2021 8:30:23 PM from Athira Balachandran to All


Participants: yes sir

May 18, 2021 8:30:41 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:30:50 PM from spandey753 to All Participants:


'KNeighborsClassifier' object has no attribute 'effective_metric_'

May 18, 2021 8:30:55 PM from spandey753 to All Participants:


getting error

May 18, 2021 8:31:04 PM from Kanhaiya Desai to All Participants:


sir accuracy

May 18, 2021 8:31:18 PM from VIDYARANI K R to All Participants:


evalute

May 18, 2021 8:32:06 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:32:19 PM from sidana.nishant to All Participants:


# Calculate the accuracy of the model for checking the model performance
from sklearn.metrics import accuracy_score
accuracy_score(y_predict,Y_test)

May 18, 2021 8:32:27 PM from SUSHANT KUMAR to All Participants:


yes sir

May 18, 2021 8:33:16 PM from SHUBHAM SHARMA to All Participants:


versicolor

May 18, 2021 8:33:17 PM from Sagarika Kashyap to All Participants:


versicolor

May 18, 2021 8:33:23 PM from sidana.nishant to All Participants:


#Check model performance on new dataset
# create object with new values for prediction
X_new = [[3,5,4,1],[5,3,4,2]]
May 18, 2021 8:33:29 PM from sidana.nishant to All Participants:
knn.predict(X_new)

May 18, 2021 8:34:16 PM from spandey753 to All Participants: Sir


getting error in y_predict

May 18, 2021 8:34:27 PM from spandey753 to All Participants:


'KNeighborsClassifier' object has no attribute 'effective_metric_'

May 18, 2021 8:34:32 PM from Kanhaiya Desai to All Participants:


sir dint understood line 22

May 18, 2021 8:34:32 PM from spandey753 to All Participants: ok

May 18, 2021 8:34:54 PM from Shreedevi.kallimani Kallimani to All


Participants: Yes sir

May 18, 2021 8:34:59 PM from SUSHANT KUMAR to All Participants:


no sir pls expalin once again

May 18, 2021 8:35:03 PM from Sunny Anand to All Participants:


yeah,got it

May 18, 2021 8:35:07 PM from Kanhaiya Desai to All Participants:


sir line 22

May 18, 2021 8:35:17 PM from SUSHANT KUMAR to All Participants:


the arrays in X-new

May 18, 2021 8:35:34 PM from Sunny Anand to All Participants: 3

May 18, 2021 8:35:35 PM from Shreedevi.kallimani Kallimani to All


Participants: 3

May 18, 2021 8:35:36 PM from SUSHANT KUMAR to All Participants:


3

May 18, 2021 8:35:37 PM from JAMEER MULANI to All Participants:


3

May 18, 2021 8:36:10 PM from SUSHANT KUMAR to All Participants:


yes

May 18, 2021 8:36:21 PM from SUSHANT KUMAR to All Participants:


sir m asking about line 22

May 18, 2021 8:36:29 PM from SUSHANT KUMAR to All Participants:


on the new data set

May 18, 2021 8:36:30 PM from Kanhaiya Desai to All Participants:


sir u dint ans my ?

May 18, 2021 8:36:48 PM from SUSHANT KUMAR to All Participants:


but what does 3,5,4,1?

May 18, 2021 8:36:55 PM from Kanhaiya Desai to All Participants:


line no. 22 not understood
May 18, 2021 8:36:59 PM from Sachin Shinde to All Participants:
4

May 18, 2021 8:37:01 PM from Athira Balachandran to All


Participants: 4

May 18, 2021 8:37:04 PM from SUSHANT KUMAR to All Participants:


4

May 18, 2021 8:37:06 PM from Sunny Anand to All Participants: 4

May 18, 2021 8:37:16 PM from SUSHANT KUMAR to All Participants:


ok

May 18, 2021 8:37:40 PM from SUSHANT KUMAR to All Participants:


ok

May 18, 2021 8:37:48 PM from Kanhaiya Desai to All Participants:


wht are the values in list

May 18, 2021 8:37:54 PM from Prajesh Sortee to All Participants:


so verginica is the category?

May 18, 2021 8:38:23 PM from Kanhaiya Desai to All Participants:


4

May 18, 2021 8:38:28 PM from SHUBHAM SHARMA to All Participants:


'sepal length (cm)', 'sepal width (cm)', 'petal length (cm)', 'petal width
(cm)'

May 18, 2021 8:38:39 PM from Athira Balachandran to All


Participants: Sir, just a smaal suggestion .... Can u please minimize the left
side folder section of ur jupiter lab?

May 18, 2021 8:38:42 PM from Kanhaiya Desai to All Participants:


k its arbitrary

May 18, 2021 8:39:12 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 8:39:18 PM from Prajesh Sortee to All Participants:


why array is an output here?

May 18, 2021 8:39:21 PM from VIDYARANI K R to All Participants:


k for ok

May 18, 2021 8:39:23 PM from Kanhaiya Desai to All Participants:


sir m saying ok

May 18, 2021 8:39:34 PM from SUSHANT KUMAR to All Participants:


:)

May 18, 2021 8:40:15 PM from Prajesh Sortee to All Participants:


our input is a list here

May 18, 2021 8:40:30 PM from PRAKASH MADHUKAR SUTAR to All


Participants: in case of binomial class what will be the change ?

May 18, 2021 8:40:41 PM from Prajesh Sortee to All Participants:


yes

May 18, 2021 8:40:55 PM from Prajesh Sortee to All Participants:


yes

May 18, 2021 8:41:00 PM from P maheswar Reddy to All Participants:


:q

May 18, 2021 8:41:04 PM from sidana.nishant to All Participants:


# use the Logistic regression estimator
from sklearn.linear_model import LogisticRegression
logReg = LogisticRegression()

May 18, 2021 8:41:11 PM from sidana.nishant to All Participants:


# fit data into the Logistic regression estimator
logReg.fit(X_train,Y_train)

May 18, 2021 8:41:37 PM from sidana.nishant to All Participants:


#Model Evaluation
# predict the outcoome using Logistic regression estimator
y_predict=logReg.predict(X_test)

May 18, 2021 8:42:09 PM from sidana.nishant to All Participants:


#Model Evaluation
# predict the outcoome using Logistic regression estimator
y_predict=logReg.predict(X_test)

May 18, 2021 8:42:28 PM from VIDYARANI K R to All Participants:


accuracy of 100 % means is it overfitting

May 18, 2021 8:42:31 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 8:42:43 PM from Shreedevi.kallimani Kallimani to All


Participants: why accuracy is changed to 97% from 100?

May 18, 2021 8:42:53 PM from Kushal Malve to All Participants:


C:\Users\KUSHAL\anaconda3\lib\site-packages\sklearn\linear_model\
_logistic.py:762: ConvergenceWarning: lbfgs failed to converge (status=1):
STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.
Increase the number of iterations (max_iter) or scale the data as shown in:
https://scikit-learn.org/stable/modules/preprocessing.html
Please also refer to the documentation for alternative solver options:
https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression
n_iter_i = _check_optimize_result(

May 18, 2021 8:42:59 PM from Kushal Malve to All Participants:


sir what is this error?

May 18, 2021 8:43:04 PM from Shreedevi.kallimani Kallimani to All


Participants: only knn

May 18, 2021 8:43:04 PM from VIDYARANI K R to All Participants:


need to change the algorithm in that situation

May 18, 2021 8:43:11 PM from Sagarika Kashyap to All Participants:


2

May 18, 2021 8:43:12 PM from Prajesh Sortee to All Participants:


scroll above

May 18, 2021 8:43:59 PM from Prajesh Sortee to All Participants:


no

May 18, 2021 8:44:05 PM from Kanhaiya Desai to All Participants:


sir scroll down

May 18, 2021 8:44:35 PM from JAMEER MULANI to All Participants:


accuracy code copy plz

May 18, 2021 8:44:44 PM from sidana.nishant to All Participants:


# Calculate the accuracy of the model
from sklearn.metrics import accuracy_score
accuracy_score(y_predict,Y_test)

May 18, 2021 8:44:56 PM from sidana.nishant to All Participants:


logReg.predict(X_new)

May 18, 2021 8:45:07 PM from SUSHANT KUMAR to All Participants:


ok Sir

May 18, 2021 8:45:10 PM from Prajesh Sortee to All Participants:


scroll above

May 18, 2021 8:45:20 PM from PRAKASH MADHUKAR SUTAR to All


Participants: how overfitting is avoided ?

May 18, 2021 8:45:28 PM from Kanhaiya Desai to All Participants:


sir 1?

May 18, 2021 8:45:52 PM from Athira Balachandran to All


Participants: So here, the logistic regression classifies X_new as Setosa?
instead of Versicolor?

May 18, 2021 8:45:56 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 8:46:16 PM from JAMEER MULANI to All Participants:


logReg.predict(X_new)

May 18, 2021 8:46:35 PM from Kanhaiya Desai to All Participants:


sir industry how much accuracy is considered for model to goo

May 18, 2021 8:46:38 PM from Athira Balachandran to All


Participants: Sir, one more doubt... why do we have 2 sets of 4 values for
X_new?

May 18, 2021 8:46:58 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 8:47:02 PM from Shreedevi.kallimani Kallimani to All


Participants: Understood sir

May 18, 2021 8:47:02 PM from Gurudatta Patil to All Participants:


yes

May 18, 2021 8:47:03 PM from JAMEER MULANI to All Participants:


logReg.predict(X_new) for this i got op array([2, 2]) is it right???
May 18, 2021 8:47:10 PM from Athira Balachandran to All
Participants: 4

May 18, 2021 8:47:19 PM from Athira Balachandran to All


Participants: y 2 sets?

May 18, 2021 8:48:19 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 8:48:20 PM from Sunny Anand to All Participants: clear

May 18, 2021 8:48:20 PM from Kanhaiya Desai to All Participants:


s all clear

May 18, 2021 8:48:21 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 8:48:24 PM from SUSHANT KUMAR to All Participants:


Sir, can u pls summarise the steps once

May 18, 2021 8:48:25 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 8:48:50 PM from SUSHANT KUMAR to All Participants:


sir, pls summarise once

May 18, 2021 8:48:57 PM from SUSHANT KUMAR to All Participants:


the steps

May 18, 2021 8:49:37 PM from SUSHANT KUMAR to All Participants:


this is applicable to all the models right ?

May 18, 2021 8:49:43 PM from VIDYARANI K R to All Participants:


for linear regression we need not to check accuracy ?

May 18, 2021 8:49:55 PM from VIDYARANI K R to All Participants:


RMSE

May 18, 2021 8:50:01 PM from Kushal Malve to All Participants:


mape

May 18, 2021 8:50:08 PM from VIDYARANI K R to All Participants:


ya

May 18, 2021 8:50:10 PM from PRAKASH MADHUKAR SUTAR to All


Participants: what are the important ML algorithm we should study ?

May 18, 2021 8:50:16 PM from Shreedevi.kallimani Kallimani to All


Participants: sir, are you teaching other models in logistic regression?

May 18, 2021 8:50:36 PM from Kanhaiya Desai to All Participants:


n linear

May 18, 2021 8:50:41 PM from Kanhaiya Desai to All Participants:


2

May 18, 2021 8:50:53 PM from Shreedevi.kallimani Kallimani to All


Participants: Ok sir
May 18, 2021 8:51:08 PM from Athira Balachandran to All
Participants: grouping

May 18, 2021 8:51:09 PM from Shreedevi.kallimani Kallimani to All


Participants: grouping same data

May 18, 2021 8:51:10 PM from ishanpanch to All Participants:


collection

May 18, 2021 8:51:11 PM from kallinkeela0@gmail.com to All


Participants: grouping together

May 18, 2021 8:51:14 PM from VIDYARANI K R to All Participants:


grouping based on same features

May 18, 2021 8:51:14 PM from PRAKASH MADHUKAR SUTAR to All


Participants: we also have module of machine learning in our course right ?

May 18, 2021 8:51:23 PM from Kushal Malve to All Participants:


yes

May 18, 2021 8:51:29 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 8:51:47 PM from PRAKASH MADHUKAR SUTAR to All


Participants: a separate module like python i am saying

May 18, 2021 8:51:52 PM from Sachin Shinde to All Participants:


one question... how to select k value???

May 18, 2021 8:51:54 PM from ishanpanch to All Participants: in our


ds course there is machine learning subject

May 18, 2021 8:52:03 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 8:52:34 PM from PRAKASH MADHUKAR SUTAR to All


Participants: @ishan : yes

May 18, 2021 8:52:40 PM from VIDYARANI K R to All Participants:


grouping

May 18, 2021 8:52:44 PM from PRAKASH MADHUKAR SUTAR to All


Participants: grouping the obs

May 18, 2021 8:52:52 PM from Baburaj.manickam to All Participants:


subset

May 18, 2021 8:52:55 PM from Sachin Shinde to All Participants:


grouping

May 18, 2021 8:52:56 PM from kallinkeela0@gmail.com to All


Participants: grouping similar data

May 18, 2021 8:53:15 PM from SHUBHAM SHARMA to All Participants:


grouping the data by analyzing the features

May 18, 2021 8:54:35 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 8:55:03 PM from Prajesh Sortee to All Participants:


k means

May 18, 2021 8:55:04 PM from SHUBHAM SHARMA to All Participants:


k Means

May 18, 2021 8:55:09 PM from Athira Balachandran to All


Participants: tree

May 18, 2021 8:55:12 PM from Prajesh Sortee to All Participants:


heirarchical

May 18, 2021 8:55:13 PM from PRAKASH MADHUKAR SUTAR to All


Participants: random forest

May 18, 2021 8:55:24 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 8:55:26 PM from Prajesh Sortee to All Participants:


denstity based

May 18, 2021 8:55:26 PM from Baburaj.manickam to All Participants:


Binary tree

May 18, 2021 8:56:49 PM from Athira Balachandran to All


Participants: centroid

May 18, 2021 8:59:27 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 8:59:28 PM from AMARESH MAITY to All Participants:


yes

May 18, 2021 8:59:35 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 8:59:41 PM from Sunny Anand to All Participants: yes

May 18, 2021 8:59:42 PM from SUSHANT KUMAR to All Participants:


yes

May 18, 2021 8:59:59 PM from Prajesh Sortee to All Participants:


that shoul be an euclidean distance?

May 18, 2021 9:00:59 PM from Athira Balachandran to All


Participants: recompute centroid

May 18, 2021 9:02:03 PM from Kanhaiya Desai to All Participants:


y lik e that

May 18, 2021 9:02:17 PM from Pavan G Shanbhag to All Participants:


s

May 18, 2021 9:03:00 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 9:03:01 PM from AMARESH MAITY to All Participants:


yes

May 18, 2021 9:03:06 PM from Sunny Anand to All Participants: yes

May 18, 2021 9:03:06 PM from SUSHANT KUMAR to All Participants:


yes

May 18, 2021 9:04:15 PM from AMARESH MAITY to All Participants:


yes

May 18, 2021 9:04:19 PM from SUSHANT KUMAR to All Participants:


ys

May 18, 2021 9:04:22 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 9:04:23 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 9:04:25 PM from Prajesh Sortee to All Participants:


repeat last

May 18, 2021 9:04:28 PM from Sanjay.menon to All Participants:


yes

May 18, 2021 9:04:28 PM from Kanhaiya Desai to All Participants:


k it will reiterate till it matches the center point

May 18, 2021 9:04:33 PM from Shreedevi.kallimani Kallimani to All


Participants: new centre point, please explain once again sir

May 18, 2021 9:04:54 PM from Ipseeta Panigrahi to All Participants:


sir please explain the whole thing again

May 18, 2021 9:05:08 PM from Shreedevi.kallimani Kallimani to All


Participants: Yes

May 18, 2021 9:05:50 PM from Shreedevi.kallimani Kallimani to All


Participants: yes clr

May 18, 2021 9:05:53 PM from Ipseeta Panigrahi to All Participants:


no 1st pt

May 18, 2021 9:06:04 PM from Prajesh Sortee to All Participants:


can you type just what you have said?

May 18, 2021 9:06:15 PM from Ipseeta Panigrahi to All Participants:


how do yu fix 3 poits?

May 18, 2021 9:07:40 PM from Shreedevi.kallimani Kallimani to All


Participants: remaining data points

May 18, 2021 9:08:05 PM from Kanhaiya Desai to All Participants:


97

May 18, 2021 9:08:07 PM from Shreedevi.kallimani Kallimani to All


Participants: sir, i understood...

May 18, 2021 9:08:21 PM from Ipseeta Panigrahi to All Participants:


yeah

May 18, 2021 9:08:34 PM from Kanhaiya Desai to All Participants:


n whichever close to that group it will join that group

May 18, 2021 9:08:37 PM from Shreedevi.kallimani Kallimani to All


Participants: i was trying to say the, we are calculating min distance btw 97%
data and 3 points

May 18, 2021 9:08:47 PM from Prajesh Sortee to All Participants:


1,5,6,7,8,9,15,45,57 can i take 15,45 and 57
as my centrids here?

May 18, 2021 9:09:54 PM from Pavan G Shanbhag to All Participants:


s

May 18, 2021 9:10:34 PM from Kanhaiya Desai to All Participants:


it will relocate i centroid

May 18, 2021 9:11:03 PM from Prajesh Sortee to All Participants:


but in this dataset all values will be allocaed to cluster has initially
centroid 15? is it right?

May 18, 2021 9:11:03 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 9:11:39 PM from Prajesh Sortee to All Participants:


ok

May 18, 2021 9:11:48 PM from SUSHANT KUMAR to All Participants:


Sir, can u pls cite an example

May 18, 2021 9:11:52 PM from Kanhaiya Desai to All Participants:


how it will apply in usecase

May 18, 2021 9:11:54 PM from SUSHANT KUMAR to All Participants:


how it helps

May 18, 2021 9:12:38 PM from Kanhaiya Desai to All Participants:


centroid

May 18, 2021 9:12:54 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 9:12:55 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 9:12:58 PM from Sachin Shinde to All Participants:


yes

May 18, 2021 9:13:06 PM from Baburaj.manickam to All Participants:


Yes

May 18, 2021 9:14:45 PM from Sunny Anand to All Participants: ok

May 18, 2021 9:14:48 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 9:14:49 PM from Pavan G Shanbhag to All Participants:


s

May 18, 2021 9:15:11 PM from SUSHANT KUMAR to All Participants:


yeah sir

May 18, 2021 9:15:15 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 9:15:22 PM from PRAKASH MADHUKAR SUTAR to All


Participants: we need to plot data incase of unsupervised learning to get
better idea right?

May 18, 2021 9:15:24 PM from SUSHANT KUMAR to All Participants:


perfect

May 18, 2021 9:15:31 PM from Ipseeta Panigrahi to All Participants:


yes sir clear

May 18, 2021 9:16:03 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 9:16:21 PM from Kanhaiya Desai to All Participants:


we are going to solve problem on this

May 18, 2021 9:16:42 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 9:16:47 PM from Kanhaiya Desai to All Participants:


no

May 18, 2021 9:16:51 PM from Sunny Anand to All Participants:


definitely Sir

May 18, 2021 9:16:55 PM from Shreedevi.kallimani Kallimani to All


Participants: yes, lets break

May 18, 2021 9:17:06 PM from Pavan G Shanbhag to All Participants:


done

May 18, 2021 9:17:14 PM from JAMEER MULANI to All Participants:


return time?????

May 18, 2021 9:17:16 PM from Athira Balachandran to All


Participants: c u after the small break sir...

May 18, 2021 9:17:18 PM from Kushal Malve to All Participants:


working

May 18, 2021 9:17:20 PM from Pavan G Shanbhag to All Participants:


working

May 18, 2021 9:17:21 PM from Shreedevi.kallimani Kallimani to All


Participants: working

May 18, 2021 9:17:23 PM from Navya A to All Participants:


working

May 18, 2021 9:17:24 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: working
May 18, 2021 9:17:24 PM from Sumeet Hotwani to All Participants:
i am working in SIEMENS

May 18, 2021 9:17:29 PM from Athira Balachandran to All


Participants: i am a simple homemaker sir

May 18, 2021 9:17:31 PM from SHUBHAM SHARMA to All Participants:


Fresher sir

May 18, 2021 9:17:32 PM from Sumeet Hotwani to All Participants:


an as engineer

May 18, 2021 9:17:36 PM from sidana.nishant to All Participants:


21:40hrs

May 18, 2021 9:17:36 PM from JAMEER MULANI to All Participants:


21:40hrs

May 18, 2021 9:17:38 PM from Sumeet Hotwani to All Participants:


fresher for AI

May 18, 2021 9:17:43 PM from Rexaline Infancia Xavier Raj to All
Participants: working

May 18, 2021 9:17:53 PM from Sumeet Hotwani to All Participants:


yes sir

May 18, 2021 9:17:56 PM from Pavan G Shanbhag to All Participants:


yes

May 18, 2021 9:36:11 PM from PRAKASH MADHUKAR SUTAR to All


Participants: back

May 18, 2021 9:38:09 PM from Kanhaiya Desai to All Participants:


has the session started

May 18, 2021 9:41:13 PM from SHUBHAM SHARMA to All Participants:


no voice?

May 18, 2021 9:41:22 PM from Sunny Anand to All Participants: i am


back...

May 18, 2021 9:41:28 PM from sidana.nishant to All Participants:


back

May 18, 2021 9:41:31 PM from sidana.nishant to All Participants:


back

May 18, 2021 9:41:44 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 9:41:44 PM from Pavan G Shanbhag to All Participants:


yes

May 18, 2021 9:41:47 PM from Athira Balachandran to All


Participants: yes sir

May 18, 2021 9:41:50 PM from Kanhaiya Desai to All Participants:


back

May 18, 2021 9:46:46 PM from kallinkeela0@gmail.com to All


Participants: yes

May 18, 2021 9:46:49 PM from Sunny Anand to All Participants: yes

May 18, 2021 9:46:51 PM from Kanhaiya Desai to All Participants:


yes

May 18, 2021 9:46:52 PM from Gurudatta Patil to All Participants:


y

May 18, 2021 9:46:53 PM from SUSHANT KUMAR to All Participants:


yes

May 18, 2021 9:46:54 PM from saisrivastav to All Participants:


yes

May 18, 2021 9:46:57 PM from Baburaj.manickam to All Participants:


yes

May 18, 2021 9:46:58 PM from JAMEER MULANI to All Participants:


yes

May 18, 2021 9:47:42 PM from JAMEER MULANI to All Participants:


yes

May 18, 2021 9:48:33 PM from PRAKASH MADHUKAR SUTAR to All


Participants: codes

May 18, 2021 9:48:49 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 9:50:38 PM from JAMEER MULANI to All Participants:


no wait

May 18, 2021 9:50:43 PM from Navya A to All Participants: no

May 18, 2021 9:50:53 PM from VIDYARANI K R to All Participants:


yes

May 18, 2021 9:51:03 PM from Ayadav1721 to All Participants: done

May 18, 2021 9:51:25 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 9:51:28 PM from Shreedevi.kallimani Kallimani to All


Participants: done

May 18, 2021 9:51:50 PM from spandey753 to All Participants: done

May 18, 2021 9:51:55 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: ImportError: cannot import name 'Kmeans' from 'sklearn.cluster'
(/Users/rameshkumarselvarathinam/opt/anaconda3/lib/python3.8/site-packages/
sklearn/cluster/__init__.py)

May 18, 2021 9:52:01 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: getting the above error

May 18, 2021 9:52:14 PM from Pavan G Shanbhag to All Participants:


why the features as 5 sir,???

May 18, 2021 9:52:20 PM from JAMEER MULANI to All Participants:


done

May 18, 2021 9:52:22 PM from Kanhaiya Desai to All Participants:


sir minimize the left side

May 18, 2021 9:52:30 PM from sidana.nishant to All Participants:


#import require libraries
import numpy as np
#import KMeans class from sklearn.cluster
from sklearn.cluster import KMeans
#import make_blobs dataset from sklearn.cluster
from sklearn.datasets import make_blobs

May 18, 2021 9:52:31 PM from Pavan G Shanbhag to All Participants:


done

May 18, 2021 9:52:38 PM from sidana.nishant to All Participants:


#define number of samples
n_samples =300
#define random state value to initialize the center
random_state =20

May 18, 2021 9:52:43 PM from sidana.nishant to All Participants:


#define number of feature as 5
X,y = make_blobs(n_samples=n_samples,n_features=5,random_state=random_state)

May 18, 2021 9:53:07 PM from Pavan G Shanbhag to All Participants:


okay

May 18, 2021 9:53:34 PM from saisrivastav to All Participants:


done

May 18, 2021 9:53:36 PM from SHUBHAM SHARMA to All Participants:


@Ramesh, in kMeans you have taken 'm' small

May 18, 2021 9:53:50 PM from SHUBHAM SHARMA to All Participants:


It is KMeans

May 18, 2021 9:53:57 PM from SHUBHAM SHARMA to All Participants:


sir ramesh use Kmeans

May 18, 2021 9:54:17 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: yes yes.. changed

May 18, 2021 9:54:21 PM from RAMESH KUMAR SELVARATHINAM to All


Participants: it is working

May 18, 2021 9:54:26 PM from Ayadav1721 to All Participants: :)

May 18, 2021 9:54:28 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes
May 18, 2021 9:54:46 PM from Ayadav1721 to All Participants: The
duration of the course should be more...

May 18, 2021 9:54:51 PM from Sachin Shinde to All Participants:


X is not getting...no any error

May 18, 2021 9:54:53 PM from Ayadav1721 to All Participants: your


point is correct

May 18, 2021 9:55:08 PM from sidana.nishant to All Participants:


#define number of feature as 5
X,y = make_blobs(n_samples=n_samples,n_features=5,random_state=random_state)

May 18, 2021 9:57:01 PM from sidana.nishant to All Participants:


#define number of cluster to be formed as 3 and in random state and fit
features into the model
predict_y = KMeans(n_clusters=3,random_state=random_state).fit_predict(X)

May 18, 2021 9:57:01 PM from Sunny Anand to All Participants:


ImportError: cannot import name 'Kmeans' from 'sklearn.cluster' (C:\Python\
Python39\lib\site-packages\sklearn\cluster\__init__.py)

May 18, 2021 9:57:08 PM from sidana.nishant to All Participants:


#print the estimator prediction
predict_y

May 18, 2021 9:57:33 PM from Kanhaiya Desai to All Participants:


here it assigns to 3 clusters which we have taken

May 18, 2021 9:57:52 PM from SHUBHAM SHARMA to All Participants:


my predict values are coming differert sir

May 18, 2021 9:57:54 PM from PRAKASH MADHUKAR SUTAR to All


Participants: here make blob is dataset or function ?

May 18, 2021 9:58:13 PM from Kanhaiya Desai to All Participants:


as it is random

May 18, 2021 9:58:24 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 9:58:34 PM from Athira Balachandran to All


Participants: Sir, can u please minimise the left side folder section?

May 18, 2021 9:58:34 PM from SHUBHAM SHARMA to All Participants:


n_features=5 ?

May 18, 2021 9:58:44 PM from Kanhaiya Desai to All Participants:


sir 0,1,2 are three different clusters

May 18, 2021 9:58:49 PM from SHUBHAM SHARMA to All Participants:


ok sir

May 18, 2021 9:59:21 PM from Kanhaiya Desai to All Participants:


or excel

May 18, 2021 9:59:22 PM from SHUBHAM SHARMA to All Participants:


no no sir , just confirming what its doing here so we can change them in
future

May 18, 2021 9:59:28 PM from Ayadav1721 to All Participants:


Showing error

May 18, 2021 9:59:36 PM from SHUBHAM SHARMA to All Participants:


ok sirrrr

May 18, 2021 9:59:38 PM from Ayadav1721 to All Participants:


---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-5-0f44c8ff10f2> in <module>
1 #print the estimator prediction
----> 2 predict_y
NameError: name 'predict_y' is not defined

May 18, 2021 9:59:43 PM from SUSHANT KUMAR to All Participants:


what are the columns here Sir ?

May 18, 2021 9:59:51 PM from SUSHANT KUMAR to All Participants:


i mean what variables are there ?

May 18, 2021 9:59:51 PM from Kanhaiya Desai to All Participants:


ya own notes grasp fast

May 18, 2021 10:00:17 PM from SUSHANT KUMAR to All Participants:


ok

May 18, 2021 10:00:32 PM from Ayadav1721 to All Participants: okay

May 18, 2021 10:00:34 PM from Ayadav1721 to All Participants: yes

May 18, 2021 10:00:37 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:00:40 PM from Sunny Anand to All Participants: done
and understood

May 18, 2021 10:01:33 PM from PRAKASH MADHUKAR SUTAR to All


Participants: decision tree is a clustring ML algorithm right ?

May 18, 2021 10:01:57 PM from Prajesh Sortee to All Participants:


accuracy

May 18, 2021 10:02:09 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 10:02:16 PM from Prajesh Sortee to All Participants:


sorry

May 18, 2021 10:02:22 PM from Prajesh Sortee to All Participants:


True

May 18, 2021 10:02:31 PM from Kanhaiya Desai to All Participants:


sir we can apply this knowledge in stock markets to predict the stocks

May 18, 2021 10:03:06 PM from Kanhaiya Desai to All Participants:


ya
May 18, 2021 10:03:46 PM from Kanhaiya Desai to All Participants:
screen is freezed

May 18, 2021 10:03:49 PM from SHUBHAM SHARMA to All Participants:


screen freeze

May 18, 2021 10:03:51 PM from Pavan G Shanbhag to All Participants:


screen freeze

May 18, 2021 10:03:51 PM from PRAKASH MADHUKAR SUTAR to All


Participants: reduce no fo feature ?

May 18, 2021 10:03:56 PM from Prajesh Sortee to All Participants:


reducing rows and columns

May 18, 2021 10:04:02 PM from SUSHANT KUMAR to All Participants:


to reduce some redundant data

May 18, 2021 10:04:03 PM from Sunny Anand to All Participants:


Sir ,if you are writing somethng I cant see it.

May 18, 2021 10:04:08 PM from Kanhaiya Desai to All Participants:


screen is not visible

May 18, 2021 10:04:09 PM from VIDYARANI K R to All Participants:


reduce the number of independent variable

May 18, 2021 10:04:14 PM from Pavan G Shanbhag to All Participants:


simplify the data

May 18, 2021 10:04:22 PM from shilang to All Participants:


reducing unwanted or less important features

May 18, 2021 10:04:26 PM from Shreedevi.kallimani Kallimani to All


Participants: remove unwanted data

May 18, 2021 10:04:30 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 10:04:31 PM from SHUBHAM SHARMA to All Participants:


yes

May 18, 2021 10:04:31 PM from Pavan G Shanbhag to All Participants:


yes

May 18, 2021 10:04:33 PM from Priyanka Padole to All Participants:


yes

May 18, 2021 10:04:37 PM from Sunny Anand to All Participants: yes

May 18, 2021 10:04:38 PM from kallinkeela0@gmail.com to All


Participants: anybody facing audio issue?

May 18, 2021 10:04:54 PM from Ayadav1721 to All Participants: oly


significant ones remain

May 18, 2021 10:04:59 PM from VIDYARANI K R to All Participants:


some are unwanted
May 18, 2021 10:05:02 PM from P maheswar Reddy to All Participants:
to understand the data easily

May 18, 2021 10:05:04 PM from Priyanka Padole to All Participants:


to reduce redundany

May 18, 2021 10:05:21 PM from shilang to All Participants: bcoz


not all data is important

May 18, 2021 10:05:43 PM from Ayadav1721 to All Participants: ok

May 18, 2021 10:06:11 PM from Prajesh Sortee to All Participants:


Share these text files also

May 18, 2021 10:07:08 PM from Kanhaiya Desai to All Participants:


to effieciency

May 18, 2021 10:07:25 PM from PRAKASH MADHUKAR SUTAR to All


Participants: are you writing anything ?

May 18, 2021 10:07:32 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 10:07:34 PM from Sunny Anand to All Participants: yes

May 18, 2021 10:07:56 PM from PRAKASH MADHUKAR SUTAR to All


Participants: no my screen was freeze

May 18, 2021 10:08:07 PM from Kanhaiya Desai to All Participants:


no he is writing

May 18, 2021 10:08:08 PM from PRAKASH MADHUKAR SUTAR to All


Participants: it was my problem

May 18, 2021 10:08:12 PM from Kanhaiya Desai to All Participants:


not

May 18, 2021 10:08:26 PM from Sachin Shinde to All Participants:


no

May 18, 2021 10:08:26 PM from Shreedevi.kallimani Kallimani to All


Participants: dependent ?

May 18, 2021 10:08:31 PM from Shreedevi.kallimani Kallimani to All


Participants: dependent data?

May 18, 2021 10:08:35 PM from Sagarika Kashyap to All Participants:


dependent

May 18, 2021 10:08:40 PM from Kanhaiya Desai to All Participants:


no he is not writing just explaining on word file

May 18, 2021 10:09:42 PM from Kanhaiya Desai to All Participants:


ya i was telling to praksh

May 18, 2021 10:09:45 PM from Sunny Anand to All Participants: yess

May 18, 2021 10:09:57 PM from darshansaravanan to All Participants:


yes

May 18, 2021 10:10:03 PM from Latha K to All Attendees: can u pls
give some example

May 18, 2021 10:10:09 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:10:23 PM from SUSHANT KUMAR to All Participants:


not couldnt undertsand hw is it maximu mvarinace

May 18, 2021 10:10:30 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:10:35 PM from Kanhaiya Desai to All Participants:


z

May 18, 2021 10:10:46 PM from Priyanka Padole to All Participants:


no

May 18, 2021 10:11:07 PM from Latha K to All Attendees: give some
example to be clear

May 18, 2021 10:11:08 PM from SUSHANT KUMAR to All Participants:


okk

May 18, 2021 10:11:13 PM from PRAKASH MADHUKAR SUTAR to All


Participants: what do u mean by expalinign the max var ?

May 18, 2021 10:11:34 PM from Kanhaiya Desai to All Participants:


converting the normal distribution into standardised by x- U/ sigma

May 18, 2021 10:11:37 PM from PRAKASH MADHUKAR SUTAR to All


Participants: difr from mean value

May 18, 2021 10:11:40 PM from SUSHANT KUMAR to All Participants:


difference between mean and the value

May 18, 2021 10:11:41 PM from VIDYARANI K R to All Participants:


variation exist from mean

May 18, 2021 10:12:00 PM from Prajesh Sortee to All Participants:


what are those points?

May 18, 2021 10:12:02 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 10:12:09 PM from Latha K to All Attendees: what if


there are outliers

May 18, 2021 10:12:23 PM from SUSHANT KUMAR to All Participants:


yeah

May 18, 2021 10:12:24 PM from Prajesh Sortee to All Participants:


normalize

May 18, 2021 10:12:31 PM from PRAKASH MADHUKAR SUTAR to All


Participants: we convert data in range of 0 to 1
May 18, 2021 10:12:42 PM from Sachin Shinde to All Participants:
so here...we have to reduce the features whos variance is max???is it right?

May 18, 2021 10:13:00 PM from Prajesh Sortee to All Participants:


0 to 3

May 18, 2021 10:13:18 PM from PRAKASH MADHUKAR SUTAR to All


Participants: k

May 18, 2021 10:13:19 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 10:13:25 PM from Prajesh Sortee to All Participants:


-3 to 0 to 3

May 18, 2021 10:13:32 PM from Sachin Shinde to All Participants:


ok

May 18, 2021 10:13:48 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:14:15 PM from Prajesh Sortee to All Participants:


no Z value will be in that range

May 18, 2021 10:14:54 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:15:05 PM from Prajesh Sortee to All Participants:


ok

May 18, 2021 10:15:27 PM from Sachin Shinde to All Participants:


yes

May 18, 2021 10:15:27 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:15:34 PM from VIDYARANI K R to All Participants:


yes

May 18, 2021 10:15:45 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:15:54 PM from PRAKASH MADHUKAR SUTAR to All


Participants: relation bet two var

May 18, 2021 10:15:56 PM from Prajesh Sortee to All Participants:


relation between two

May 18, 2021 10:16:05 PM from PRAKASH MADHUKAR SUTAR to All


Participants: between 0 and 1

May 18, 2021 10:16:24 PM from Kanhaiya Desai to All Participants:


s

May 18, 2021 10:16:27 PM from PRAKASH MADHUKAR SUTAR to All


Participants: yes

May 18, 2021 10:16:31 PM from Shreedevi.kallimani Kallimani to All


Participants: s
May 18, 2021 10:16:32 PM from SUSHANT KUMAR to All Participants:
yes

May 18, 2021 10:17:04 PM from SUSHANT KUMAR to All Participants:


one thing sir , what are the two variables here ?

May 18, 2021 10:17:11 PM from Kanhaiya Desai to All Participants:


in engineering

May 18, 2021 10:17:15 PM from Shreedevi.kallimani Kallimani to All


Participants: yup

May 18, 2021 10:17:17 PM from Sunny Anand to All Participants:


yes,remember it

May 18, 2021 10:17:26 PM from SUSHANT KUMAR to All Participants:


covarinace ??

May 18, 2021 10:17:57 PM from SUSHANT KUMAR to All Participants:


but if there are many variables

May 18, 2021 10:18:20 PM from SUSHANT KUMAR to All Participants:


okk

May 18, 2021 10:18:22 PM from SUSHANT KUMAR to All Participants:


got it

May 18, 2021 10:18:32 PM from Kanhaiya Desai to All Participants:


ya

May 18, 2021 10:18:43 PM from PRAKASH MADHUKAR SUTAR to All


Participants: every pair of variable will be compared i guess

You might also like