일반화 선형 회귀
로지스틱 회귀를 비롯해 다양한 분포 및 연결 함수를 포함한 일반화 선형 회귀 모델
저차원에서 중간 차원까지의 데이터 세트에 대한 정확도를 높이고 연결 함수 선택의 폭을 넓히려면 fitglm
을 사용하여 일반화된 선형 회귀 모델을 피팅하십시오. 다항 로지스틱 회귀의 경우 fitmnr
을 사용하여 모델을 피팅합니다.
고차원 데이터 세트에 대한 계산 시간을 단축하려면 fitclinear
를 사용하여 로지스틱 회귀 모델과 같은 이진 선형 분류 모델을 훈련시키십시오. 또한, fitcecoc
를 사용하여 로지스틱 회귀 모델로 구성된 다중클래스 오류 수정 출력 코드(ECOC) 모델을 효율적으로 훈련시킬 수도 있습니다.
빅데이터에 대해 비선형 분류를 수행하는 경우 fitckernel
을 사용하여 로지스틱 회귀를 적용한 이진 가우스 커널 분류 모델을 훈련시키십시오.
블록
ClassificationLinear Predict | Classify observations using linear classification model |
함수
객체
도움말 항목
일반화 선형 회귀
- 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. - 일반화 선형 모델을 사용하여 데이터 피팅하기
glmfit
및glmval
을 사용하여 일반화 선형 모델을 피팅하고 평가합니다. - Train Binary GLM Logistic Regression Classifier Using Classification Learner App
Create and compare binary logistic regression classifiers, and export trained models to make predictions for new data. - Predict Class Labels Using ClassificationLinear Predict Block
This example shows how to use the ClassificationLinear Predict block for label prediction in Simulink®. - Wilkinson Notation
Wilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.
다항 로지스틱 회귀
- 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. - Hierarchical Multinomial Models
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.