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

2 visualizaciones (últimos 30 días)
Francisco
Francisco el 6 de Nov. de 2013
Respondida: Matthew Heberger el 4 de Mayo de 2021
Anyone knows how to suppress output to command window while running GeneralizedLinearModel.stepwise? The semicolon is not it, just in case. Thanks

Respuestas (1)

Matthew Heberger
Matthew Heberger el 4 de Mayo de 2021
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;

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by