标签: scaling
我有这个代码。它运行得很好,但是它确实具有NaN,这在尝试执行SVM时让我头疼。您能否让我知道如何删除NaN?谢谢!
from sklearn.preprocessing import StandardScaler scaler = StandardScaler().fit(feature_vectors) scaled_features = scaler.transform(feature_vectors) scaled_features