How to make logistic regression model that obtained from literature review?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
In case I know the full formula of the multivariate logistic regression model (such as exactly number of estimated intercept and variable coefficients of model parameters and the predictor variables) from the literature review, how can I make a model function follow formula to implement in the future?
for example, I know the value of b0, b1, ... and know what the predictors (x1, x2, ...) is
probability_y = exp(Z) / (1+exp(Z))
Z = b0 + b1x1 + b2x2 + b3x3 + b4x4 + ...
0 Kommentare
Antworten (1)
Krishna
am 3 Okt. 2023
Bearbeitet: Krishna
am 3 Okt. 2023
Hello Kanokkwan,
It seems like you know the number of features as well as the value of weights you want to use in logistic regression. Now you want to train the network using that features and pre trained weights. For this you can use transfer learning. Please go through this documentation to learn more about transfer learning:
Also, logistic regression follows the same formula provided by you. So if you want to train the network from scratch use built in function provided by MATLAB. Please go through this documentation to learn more about logistic regression:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!