Supress output in GeneralizedLinearModel.stepwise
2 次查看(过去 30 天)
显示 更早的评论
Anyone knows how to suppress output to command window while running GeneralizedLinearModel.stepwise? The semicolon is not it, just in case. Thanks
0 个评论
回答(1 个)
Matthew Heberger
2021-5-4
Add the following to the input: 'Verbose', 0. For example:
% Load some example data provided by Matlab
load hald;
% Run the stepwise model, specifying NO output to the Command Window
mdl = stepwiselm(ingredients, heat, 'Verbose', 0);
% Display the model coefficients.
mdl.Coefficients;
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!