Using regressionLearner app—how to add models

3 ビュー (過去 30 日間)
Bill Tubbs
Bill Tubbs 2023 年 3 月 6 日
コメント済み: Si Chen 2024 年 7 月 17 日
I'm following this tutorial on how to use the regressionLearner app. At one point it says "Add medium and coarse tree models to the list of draft models. On the Regression Learner tab, in the Models section, click the arrow to open the gallery. In the Regression Trees group, click Medium Tree. The app creates a draft medium tree in the Models pane."
I cannot figure out how to do this. When I click icons in the Model Type gallery it changes the type of the existing model, rather than adding a new model of the selected type.
Screenshot:
No doubt this is so obvious it is staring me in the face,,,
  1 件のコメント
Bill Tubbs
Bill Tubbs 2023 年 3 月 6 日
編集済み: Bill Tubbs 2023 年 3 月 6 日
It's possible my version of Regression Learner is out of date (MATLAB 2021b). I notice other features described in the documentation (such as saving a session) which don't exist in the menus on my version.

サインインしてコメントする。

採用された回答

Bill Tubbs
Bill Tubbs 2023 年 3 月 6 日
編集済み: Bill Tubbs 2023 年 3 月 6 日
I eventually figured out a workaround. It's not very intuitive.
First you have to fit one of your models. Then select this model and then in the Model Type gallery, click on a model type and a new model will be created.
If the model currently selected is not trained, the current model is changed to the type you are clicking on.
I do not understand why this works or whether there is a better way to add a new model.
There should be a menu called 'Models' or at least a '+' button in the model window.
  1 件のコメント
Si Chen
Si Chen 2024 年 7 月 17 日
Thanks! I have exactly same question as you, glad that I found your answer!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRegression Learner App についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by