適合的使用時機於當有些特徵的方差過大時,使用標準化能夠有效地讓模型快速收斂。 from sklearn.preprocessing import StandardScaler scaler = StandardScaler().fit(X) ...
確定! 回上一頁