Skip to content
ml-recall

#standard-scaler

1 question from Data & Features

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedData & Features

What does this print? Give 3 decimals.

import numpy as np
from sklearn.preprocessing import StandardScaler

X = np.array([[0.0], [2.0], [4.0]])
print(StandardScaler().fit_transform(X)[2, 0])

A number with 3 decimals, e.g. 0.816