1. 首页
  2. 数据库
  3. 其它
  4. predictive maintenance machine learning 源码

predictive maintenance machine learning 源码

上传者: 2021-04-29 10:37:00上传 ZIP文件 20.16KB 热度 17次
分类培训和验证 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
用户评论