Machine Learning Practice, Quiz 1
Time left
02:00:00
Which of the following things can be observed from a Histogram ?
Which of the following things can be observed from a Histogram ? Which of the following are use cases of ColumnTransformer? Consider a regression dataset, the features are "Temperature" and "Humidity", and the label is "Precipitation" (i.e. rain fall in centimeter), both the features are numerical and there are no missing values in the dataset. Following code snippet trains a simple model on this dataset, assume necessary imports: data = pd.read_csv('dataset.csv') X = data[data.columns[:-1]] y = data[data.columns[-1]] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.8) mms = MinMaxScaler() X_train['Temperature'] = mms.fit_transform(X_train['Temperature']) X_train['Humidity'] = mms.fit_transform(X_train['Humidity']) X_test['Temperature'] = mms.fit_transform(X_test['Temperature']) X_test['Humidity'] = mms.fit_transform(X_test['Humidity']) lr = LinearRegression().fit(X_train,y_train) Choose the correct statements from the options: