How to make logistic regression model that obtained from literature review?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Krishna
le 3 Oct 2023
Modifié(e) : Krishna
le 3 Oct 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 commentaires
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!