Skip to content

Commit 477ea68

Browse files
author
Berk Ustun
committed
fixed merge conflicts, updated readme
2 parents bfbeb7d + edda527 commit 477ea68

File tree

1 file changed

+34
-40
lines changed

1 file changed

+34
-40
lines changed

README.md

Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
risk-slim
22
========
33

4-
`risk-slim` is a machine learning method to fit simple customized risk scores in python.
4+
risk-slim is a machine learning method to fit simple customized risk scores in python.
55

6-
### Background
6+
#### Background
77

8-
Risk scores are simple tools that let users make quick risk predictions by adding and subtracting a few small numbers (see e.g., 500 + medical risk scores at [mdcalc.com](https://www.mdcalc.com/) and the [mdcalc iOS app](https://itunes.apple.com/us/app/mdcalc-medical-calculators-clinical-scores/id1001640662?ls=1&mt=8)).
9-
10-
#### Video
11-
12-
<p align="center">
13-
<a href="http://www.youtube.com/watch?feature=player_embedded&v=WQDVejk17Aw" target="_blank">
14-
<img src="http://img.youtube.com/vi/WQDVejk17Aw/0.jpg" alt="RiskSLIM KDD" width="480" height="360" border="10" />
15-
</a>
16-
</p>
17-
18-
#### Customized Risk Score for ICU Seizure Prediction
8+
Risk scores let users make quick risk predictions by adding and subtracting a few small numbers (see e.g., 500 + medical risk scores at [mdcalc.com](https://www.mdcalc.com/)).
199

2010
Here is a risk score for ICU risk prediction from our [paper](http://www.berkustun.com/docs/ustun_2017_optimized_risk_scores.pdf).
2111

@@ -25,15 +15,23 @@ Here is a risk score for ICU risk prediction from our [paper](http://www.berkust
2515
</p>
2616
</div>
2717

28-
#### References
18+
#### Video
2919

30-
If you use ``risk-slim`` for in your research, please cite our paper!
20+
<p align="center">
21+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=WQDVejk17Aw" target="_blank">
22+
<img src="http://img.youtube.com/vi/WQDVejk17Aw/0.jpg" alt="RiskSLIM KDD" width="480" height="360" border="10" />
23+
</a>
24+
</p>
25+
26+
27+
#### Reference
28+
29+
If you use risk-slim in your research, please cite our paper!
3130

3231
<a href="http://jmlr.org/papers/v20/18-615.html" target="_blank">Learning Optimized Risk Scores</a> <br>
3332
Berk Ustun and Cynthia Rudin<br>
34-
Journal of Machine Learning Research (JMLR), 2019.
33+
Journal of Machine Learning Research, 2019.
3534

36-
3735
```
3836
@article{ustun2019jmlr,
3937
author = {Ustun, Berk and Rudin, Cynthia},
@@ -47,44 +45,40 @@ Journal of Machine Learning Research (JMLR), 2019.
4745
}
4846
```
4947

50-
## Package Details
48+
## Installation
5149

52-
**NOTE: THIS PACKAGE IS CURRENTLY UNDER DEVELOPMENT. THE API MAY CHANGE WITH EACH COMMIT.**
50+
risk-slim requires Python 3.5+ and CPLEX 12.6+.
5351

54-
### Installation
55-
56-
Run the following snippet to install ``risk-slim`` in a Mac/Unix environment, and complete a test run.
52+
### Quick Install
53+
54+
Run the following snippet in a Unix terminal to install risk-slim and complete a test run.
5755

5856
```
5957
git clone https://github.com/ustunb/risk-slim
6058
cd risk-slim
61-
pip install -e . #install in editable mode
62-
bash batch/job_template.sh #batch run
59+
pip install -e . # install in editable mode
60+
bash batch/job_template.sh # batch run
6361
```
6462

65-
### Requirements
66-
67-
- Python 3.5+
68-
- CPLEX 12.6+
69-
70-
The code may still work with older versions of Python and CPLEX, but this will not be tested or supported. If you're hesitant about switching to Python 3, check out this [migration guide](https://github.com/arogozhnikov/python3_with_pleasure)
63+
### CPLEX
7164

72-
#### CPLEX
73-
74-
CPLEX is cross-platform optimization tool solver a Python API. It is free for students and faculty members at accredited institutions. To get CPLEX:
65+
CPLEX is cross-platform optimization tool solver a Python API. It is free for students and faculty members at accredited institutions. To download CPLEX:
7566

7667
1. Register for [IBM OnTheHub](https://ibm.onthehub.com/WebStore/Account/VerifyEmailDomain.aspx)
7768
2. Download the *IBM ILOG CPLEX Optimization Studio* from the [software catalog](https://ibm.onthehub.com/WebStore/ProductSearchOfferingList.aspx?srch=CPLEX)
78-
3. Install the CPLEX Optimization Studio.
69+
3. Install CPLEX Optimization Studio.
7970
4. Setup the CPLEX Python API [as described here](https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Python_setup.html).
8071

81-
If you have problems installing CPLEX, check the [CPLEX user manual](http://www-01.ibm.com/support/knowledgecenter/SSSA5P/welcome) or the [CPLEX forums](https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000002059).
72+
If you have problems with CPLEX, please check the [CPLEX user manual](http://www-01.ibm.com/support/knowledgecenter/SSSA5P/welcome) or the [CPLEX forums](https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000002059).
73+
74+
## Contributing
8275

83-
## Development Roadmap
76+
I'm planning to pick up development again in Fall 2020. I can definitely use a hand! If you are interested in contributing, please reach out to [[email protected]](mailto:[email protected])!
8477

85-
**If you are interested in contributing, please reach out!**
78+
Here's the current development roadmap:
8679

87-
- [sci-kit learn interface](http://scikit-learn.org/stable/developers/contributing.html#rolling-your-own-estimator) API
88-
- support for open source solver
80+
- [sci-kit learn interface](http://scikit-learn.org/stable/developers/contributing.html#rolling-your-own-estimator)
81+
- support for open source solver and Gurobi via [python-mip](https://github.com/coin-or/python-mip)
8982
- reporting tools (roc curves, calibration plots, model reports)
90-
- documentation
83+
- documentation
84+
- pip

0 commit comments

Comments
 (0)