Question 4
Consider following data:
What will be the output of the following code? (Assume necessary imports)
si = SimpleImputer(strategy='mean')Xnew = si.fit_transform(X)print(f'{Xnew[1,0]}, {Xnew[2,1]}')7,6
6,6
6,7
7,7
Consider following data:
What will be the output of the following code? (Assume necessary imports)
si = SimpleImputer(strategy='mean')Xnew = si.fit_transform(X)print(f'{Xnew[1,0]}, {Xnew[2,1]}')7,6
6,6
6,7
7,7
Correct answer
7,6
Question 4 of 23 in the IIT Madras BS Machine Learning Practice (MLP) Quiz 1 paper sat on 26 Feb 2023, in the January 2023 term (IIT M DIPLOMA AN2 EXAM QPD2 26 Feb 2023). It carries 1 mark.