-
Notifications
You must be signed in to change notification settings - Fork 0
Assignment1 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Assignment1 #1
Conversation
| #Other models - SVC and Logistic Regression | ||
| svclassifier = SVC(kernel='poly', degree=8) | ||
| svclassifier.fit(X_train_sc, y_train) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again the code runs fine here and everything ran right, but print out the values you get from the classifier.fit so we can see if the models are accurate or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well the code includes confusion matrix for both models which shows accuracy, precision, recall and F1 score.
| fig4 = px.violin(df, y="PetalLengthCm", color="Species", violinmode='overlay', hover_data=df.columns) | ||
|
|
||
| fig5 = px.ecdf(df, x="SepalLengthCm", y="SepalWidthCm", color="Species", ecdfnorm=None) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do fig1.show(),fig2.show(), etc so we can see the plots. the code runs fine but they don't show up unless you have them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the note! I commented fig.show() to the code.
Python code should be in Assignment1.py file