Regressione lineare generalizzata
Per ottenere una maggiore precisione e una scelta più ampia di funzioni di collegamento su insiemi di dati a bassa e media dimensionalità, adattare un modello di regressione lineare generalizzata utilizzando fitglm. Per una regressione logistica multinomiale, adattare un modello utilizzando fitmnr.
Per ridurre i tempi computazionali su insiemi di dati ad alta dimensionalità, addestrare un modello di classificazione lineare binario, come ad esempio un modello di regressione logistica, utilizzando fitclinear. È inoltre possibile addestrare in modo efficiente un modello ECOC (codici di output con correzione degli errori) multiclasse, composto da modelli di regressione logistica, utilizzando fitcecoc.
Per la classificazione non lineare con grandi quantità di dati, addestrare un modello di classificazione binario con kernel gaussiano e regressione logistica utilizzando fitckernel.
Blocchi
| ClassificationLinear Predict | Classify observations using linear classification model (Da R2023a) |
Funzioni
Oggetti
Argomenti
Regressione lineare generalizzata
- Generalized Linear Models
Generalized linear models use linear methods to describe a potentially nonlinear relationship between predictor terms and a response variable. - Generalized Linear Model Workflow
Fit a generalized linear model and analyze the results. - Fitting Data with Generalized Linear Models
Fit and evaluate generalized linear models usingglmfitandglmval. - Predict Class Labels Using ClassificationLinear Predict Block
This example shows how to use the ClassificationLinear Predict block for label prediction in Simulink®. (Da R2023a) - Logistic Regression with Tall Arrays
This example shows how to use logistic regression and other techniques to perform data analysis on tall arrays. - Wilkinson Notation
Wilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.
Regressione logistica multinomiale
- Multinomial Models for Nominal Responses
A nominal response variable has a restricted set of possible values with no natural order between them. A nominal response model explains and predicts the probability that an observation is in each category of a categorical response variable. - Multinomial Models for Ordinal Responses
An ordinal response variable has a restricted set of possible values that fall into a natural order. An ordinal response model describes the relationship between the cumulative probabilities of the categories and predictor variables. - Multinomial Models for Hierarchical Responses
A hierarchical multinomial response variable (also known as a sequential or nested multinomial response) has a restricted set of possible values that fall into hierarchical categories. The hierarchical multinomial regression models are extensions of binary regression models based on conditional binary observations.