Member since
06-15-2020
1
Post
0
Kudos Received
0
Solutions
06-30-2020
06:11 AM
hi a newbie question... i'm trying to follow the guide here (using CDSW 1.7) : https://www.cloudera.com/tutorials/building-a-linear-regression-model-for-predicting-house-prices.html when i add the following import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.datasets import load_boston
from sklearn.metrics import mean_squared_error, r2_score i get the ModuleNotFoundError : ModuleNotFoundError: No module named 'sklearn' ModuleNotFoundError Traceback (most recent call last)
in engine
----> 1 from sklearn.model_selection import train_test_split
ModuleNotFoundError: No module named 'sklearn' how can i solve this? thanks
... View more