current12 / Stat-222-Project

2 stars 0 forks source link

Revamped Rating Change Model #83

Closed ijyliu closed 2 months ago

ijyliu commented 3 months ago

Create our stepwise progression for the rating change models and implement SMOTE to try to get some predictions that aren't just the majority class all the time.

We are trying to predict: "Upgrade", "Downgrade", "Same Rating".

ijyliu commented 2 months ago

@OwenLin2001

you should be able to just use the functions in Logistic_Regression_Functions.py without modifying them (except for maybe adding an argument that turns off the class weighting part of the grid search). you will just need to write your own function in the changes folder that does smote. your jupyter notebooks will call functions from Logistic_Regression_Functions.py and this new SMOTE function

in your notebooks, you can create a custom_mapping to use that's like {"downgrade": -1, "same": 0}... etc

ijyliu commented 2 months ago

Make hyperparameters grid a function argument.

Make two versions of the three models