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

前端 未结 6 1171
再見小時候
再見小時候 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:35

    I also got the same error, but it was because of some illegal characters in the factor levels of one the columns.

    I used make.names function and corrected the factor levels:

    levels(FooData$BarColumn) <- make.names(levels(FooData$BarColumn))
    

    Then the problem was resolved.

提交回复
热议问题