C5.0 decision tree - c50 code called exit with value 1

前端 未结 6 1172
再見小時候
再見小時候 2020-12-06 17:38

I am getting the following error

c50 code called exit with value 1

I am doing this on the titanic data available from Kaggle

<
6条回答
  •  無奈伤痛
    2020-12-06 18:27

    I had the same error, but I was using a numeric dataset without missing values.

    After a long time, I discovered that my dataset had a predictive attribute called "outcome" and the C5.0Control use this name, and this was the error cause :'(

    My solution was changing the column name. Other way, would be create a C5.0Control object and change the value of the label attribute and then pass this object as parameter for the C50 method.

提交回复
热议问题