MATLAB Answers

LH
0

What is the difference between the fit functions of regression model and the train regression models in regression learner app?

Asked by LH
on 9 Sep 2019
Latest activity Answered by Dheeraj Singh on 12 Sep 2019
I am a begginer in Matlab machine learning toolbox.
I applied both methods, regression learner app and fit functions for my dataset.
For example, from regression learner app, I selected ensemble boosted tree. The results were similar to the fitrensemble fuction when I used 'OptimizeHyperparameters','auto'.
Now, I have this question in my mind, what is the difference between these two methods, if we can get the same results?
Is there any way to improve the optimization of the results?
Appreciate for any comments.

  0 Comments

Sign in to comment.

1 Answer

Answer by Dheeraj Singh on 12 Sep 2019

As per the documentation of fitrensemble it returns the trained regression ensemble model object (Mdl) that contains the results of boosting 100 regression trees using LSBoost .
Ensemble boosted tree also uses Least-squares boosting (LSBoost).
This may be the reason for getting similar results for both.You can also change the method used in fitrensembleand then compare your results.

  0 Comments

Sign in to comment.