Matlab程序:Train_error = mean(Train_Error);转换成python程序
时间: 2024-02-11 21:08:59 浏览: 155
train_C4_5.zip_C4.5_matlab_c4.5_c4.5 matlab_matlab train_train
Python程序:
```
Train_error = np.mean(Train_Error)
```
其中,np是numpy库的别名,需要先导入该库。
阅读全文
train_C4_5.zip_C4.5_matlab_c4.5_c4.5 matlab_matlab train_train