0% found this document useful (0 votes)
43 views

ChatLog Cognixia - Machine Learning With Python Training - 25 - Jul - 2020 2020 - 09 - 05 11 - 01

This chat log document contains exchanges between Devansh Jain and Ganesh Bhure during a machine learning training session on recommendation engines, visualization techniques, choosing the best ML algorithm for classification problems, plotting more than 3 dimensions, time series analysis and Granger causality.

Uploaded by

jaindevansh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

ChatLog Cognixia - Machine Learning With Python Training - 25 - Jul - 2020 2020 - 09 - 05 11 - 01

This chat log document contains exchanges between Devansh Jain and Ganesh Bhure during a machine learning training session on recommendation engines, visualization techniques, choosing the best ML algorithm for classification problems, plotting more than 3 dimensions, time series analysis and Granger causality.

Uploaded by

jaindevansh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

Chat Log C:\Users\ejadeva\Documents\ChatLog Cognixia __ Machine Learning with Python Training __

25_Jul_2020 2020_09_05 11_01.rtf

DEVANSH JAIN (to Organizer(s) Only): 8:07 AM: Good Morning


DEVANSH JAIN (to Organizer(s) Only): 8:20 AM: Did we cover recommnedation engines?
GANESH BHURE (to All - Entire Audience): 8:20 AM: # Visualising the Training set results
from matplotlib.colors import ListedColormap
X_set, y_set = X_test, y_test
X1, X2 = np.meshgrid(np.arange(start = X_set[:, 0].min() - 1, stop = X_set[:, 0].max() + 1, step = 0.01),
np.arange(start = X_set[:, 1].min() - 1, stop = X_set[:, 1].max() + 1, step = 0.01))
plt.contourf(X1, X2, classifier.predict(np.array([X1.ravel(), X2.ravel()]).T).reshape(X1.shape),
alpha = 0.75, cmap = ListedColormap(('red', 'green')))
plt.xlim(X1.min(), X1.max())
plt.ylim(X2.min(), X2.max())
for i, j in enumerate(np.unique(y_set)):
plt.scatter(X_set[y_set == j, 0], X_set[y_set == j, 1],
c = ListedColormap(('darkred', 'lightgreen'))(i), label = j)
plt.title('Classification (Training set)')
plt.xlabel('Age')
plt.ylabel('Estimated Salary')
#plt.legend()
plt.show()
DEVANSH JAIN (to Organizer(s) Only): 8:20 AM: yes , unable to recollect
DEVANSH JAIN (to Organizer(s) Only): 8:22 AM: Do we have a method to find out the best ML algorithm for
solving a problem like in Classification logit Reg, SVM, or any other algo we should use
DEVANSH JAIN (to Organizer(s) Only): 8:23 AM: ok
DEVANSH JAIN (to Organizer(s) Only): 8:40 AM: we only have 3 clusters
DEVANSH JAIN (to Organizer(s) Only): 8:41 AM: so if change y_kmenasn value, it wont plot anything
DEVANSH JAIN (to Organizer(s) Only): 8:45 AM: plot can be 3d, then you can play with size as 4th dimension
and color for fifth dimension
DEVANSH JAIN (to Organizer(s) Only): 8:45 AM: we cant plot byond 3 dim
DEVANSH JAIN (to Organizer(s) Only): 8:46 AM: yes, some charts
DEVANSH JAIN (to Organizer(s) Only): 8:46 AM: generated using that
DEVANSH JAIN (to Organizer(s) Only): 8:46 AM: plaotly only
DEVANSH JAIN (to Organizer(s) Only): 8:46 AM: plotly*
DEVANSH JAIN (to Organizer(s) Only): 8:46 AM: scatter plots
DEVANSH JAIN (to Organizer(s) Only): 8:47 AM: point size, color, opacity can be changed all those add one
dim
DEVANSH JAIN (to Organizer(s) Only): 8:47 AM: also shape
DEVANSH JAIN (to Organizer(s) Only): 9:18 AM: ok
DEVANSH JAIN (to Organizer(s) Only): 9:42 AM: yes
DEVANSH JAIN (to Organizer(s) Only): 10:42 AM: yes, a bit complex, but i m good
DEVANSH JAIN (to Organizer(s) Only): 10:43 AM: may be will go through the recording again
DEVANSH JAIN (to Organizer(s) Only): 10:50 AM: Coding only
DEVANSH JAIN (to Organizer(s) Only): 10:54 AM: ok, I am good. Granger's Causailty for timeseries as well,
can we do?
DEVANSH JAIN (to Organizer(s) Only): 10:55 AM: ok
DEVANSH JAIN (to Organizer(s) Only): 11:00 AM: Thanks Ganesh :)

You might also like