Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hrailabs/toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
junebug-junie committed Sep 29, 2024
2 parents 719811e + b7aa14c commit b370e0a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<h1><b>Instructions</b></h1>

<b>Installation:</b>
<li>Set up a virtual environment: `equity_toolkit`
<li>`conda env create -f env.yaml`
<li>`conda activate equity_tookit`

<b>File Prep:</b>
<li>Place input csv file in `inputs` folder.
<li>Update `config` file with parameters.

<b>Run App:</b>
<li>`python app.py`
<li>Navigate to local browser: http://127.0.0.1:8050/

<b>Run Model:</b>
```import yaml
import model
with open('config.yaml') as f:
config = yaml.safe_load(f)
model = model.Model(config)
df_prep, tbl = model.prep()
df_result = model.analysis(df_prep.copy(), tbl)
```

#to do, add legalese
#add api reference
#add use case
#add a notebooks file

0 comments on commit b370e0a

Please sign in to comment.