predictive maintenance machine learning 源码
分类培训和验证 X_dados = df [[ "volt" , "rotate" , "pressure" , "vibration" ]] y_dados = df [ "failure" ] from sklearn . model_selection import train_test_split X_train , X_test , y_train , y_test = train_test_split ( X_dados , y_dados , test_size = 0.33 , random_state = 42 ) print ( 'Dados treino X: {}' . format ( len ( X_train )) ) print ( 'Dados teste X: {}' . format ( len ( X_test )) ) print ( 'Dad
用户评论