Allow lb and ub to be passed as lists in RiskScoreOptimizer and starRaySearchModel. This enables user to define their own constraints and use monotonicity constraints.
New Updates
score_visuals.py supports visualization of score card, and FasterRisk class in wrapper.py puts all those things together for FasterRisk (training, printing score, visualizing, getting models...etc) . See more detail in added_functionalities_example.ipynb
Requirements
for visualization, need those packages for support:
Changes
Allow
lb
andub
to be passed as lists inRiskScoreOptimizer
andstarRaySearchModel
. This enables user to define their own constraints and use monotonicity constraints.New Updates
score_visuals.py
supports visualization of score card, andFasterRisk
class inwrapper.py
puts all those things together for FasterRisk (training, printing score, visualizing, getting models...etc) . See more detail inadded_functionalities_example.ipynb
Requirements
for visualization, need those packages for support:
Pillow==9.4.0
matplotlib==3.7.0
More detail is in
requirements.txt
for reference.