Learn R Programming

gencve (version 0.3)

yh_C50: C50 Prediction

Description

Given training data and test examples, the C50 predictions for the test data are produced and the misclassification rate is returned.

Usage

yh_C50(dfTr, dfTe)

Arguments

dfTr
dataframe with last column for the output. The output must be a factor.
dfTe
dataframe for test data. Must have columns corresponding to the training columns except the test output is not needed.

Value

tba. Not fully implemented yet.

See Also

yh_CART, yh_RF, yh_svm, yh_NB, yh_kNN, yh_lda, yh_logistic, yh_qda

Examples

Run this code
yh_C50(SinghTrain, SinghTest)#0.235

Run the code above in your browser using DataLab