1. After imputation of nulls with mean what is the average value of the compressive strength in concrete?
2. The feature that has a moderately strong relationship with compressive strength in concrete is?
3. Standardize the dataset using standardscaler(), split the dataset into train and test of proportions 70:30 and set the random state to 1. Build a Linear Regression Model on the data and the resulting r-squared value is between which range?
(1) The average compressive strength of the concrete was 58.6 MPa.
(3)
from sklearn.preprocessing import StandardScaler
sc = StandardScaler()
X = sc.fit(X)
X = sc.transform(X)
Comments
Leave a comment