Supress output in Generalize​dLinearMod​el.stepwis​e

조회 수: 1 (최근 30일)
Francisco
Francisco 2013년 11월 6일
답변: Matthew Heberger 2021년 5월 4일
Anyone knows how to suppress output to command window while running GeneralizedLinearModel.stepwise? The semicolon is not it, just in case. Thanks

답변 (1개)

Matthew Heberger
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;

카테고리

Help CenterFile 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!

Translated by