Question

Hi , i have fitted two models in R , a linear regression model and a decision tree model. How would i compare the outcom...

Hi , i have fitted two models in R , a linear regression model and a decision tree model. How would i compare the outcomes of the two models and determine which one is the better model in R ?

1 0
Add a comment Improve this question Transcribed image text
Answer #1

The 10-fold cross validation procedure can be used to evaluate each algorithm, importantly configured with the same random seed to ensure that the same splits to the training data are performed and that each algorithms is evaluated in precisely the same way.

you can find the mean accuracy and standard deviation accuracy and select the model which performs better.

Add a comment
Know the answer?
Add Answer to:
Hi , i have fitted two models in R , a linear regression model and a decision tree model. How would i compare the outcom...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT