用ctree()建立決策樹,用predict()對新資料進行預測。 訓練集與測試集劃分: > str(iris) 'data.frame': 150 obs. of 5 variables: $ Sepal.
確定! 回上一頁