Question: course : machine learning using python Task 4: Run the example codes in First Things First: Look at Your Data section on the Juryter notebook

course : machine learning

using python

course : machine learning using python Task 4: Run the example codes

Task 4: Run the example codes in "First Things First: Look at Your Data section on the Juryter notebook at once as follows: import pandas as pd import numpy as np import mglearn # create dataframe from data in X_train # Label the columns using the strings in iris_dataset.feature_names iris_dataframe = pd.DataFrame (X_train , columns=iris_dataset.feature_names) # create a scatter matrix from the dataframe, color by y_train grr = pd.plotting.scatter_matrix(iris_dataframe, c=y_train, figsize=(15, 15), marker='o', hist_kwds={'bins': 20), 5=60, alpha-.8, cmapanglearn.cm3) a. The above code visualizes the train set. Change the code to visualize the test set. Include your code and results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!