Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 resultsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started