ns-rse / sheffield-thyroid

http://blog.nshephard.dev/sheffield-thyroid/
GNU General Public License v3.0
0 stars 0 forks source link

chore(logistic): Use train data frame; rename variables #27

Closed ns-rse closed 2 months ago

ns-rse commented 2 months ago

Correcting logistic regression code to use the train dataframe rather than the full raw data df which includes individuals with missing final_pathology.

Also rename the prefix binary_logistic[s] > glm as it doesn't make much sense, logistic regression implies a binary/dichotomous outcome variable and not all of the predictor variables are binary/dichotomous (there are some binary, but also categorical and continuous variables).