Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new plotting APIs with Triage's result schemas #713

Open
wants to merge 71 commits into
base: post-postmodeling
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
870807a
Add feature_importance metric to SLR
Jan 31, 2019
33321a9
Introduce experiment_runs table, beef up experiments table
thcrock Mar 13, 2019
aa94fe6
Use URL object in SerializableDBEngine
thcrock Mar 19, 2019
7aee1c3
Merge remote-tracking branch 'origin/master' into runs_table
thcrock Mar 19, 2019
b84eb35
Many changes from review
thcrock Mar 20, 2019
bd89738
Forgot introspection module
thcrock Mar 20, 2019
61835c8
More review changes
thcrock Mar 21, 2019
6bfb4e1
Rename callable to avoid reserved word
thcrock Mar 22, 2019
acc2e66
Fixed incorrect definition for best_avg_recency_weight
nanounanue Apr 1, 2019
2beb28e
Update selection_rules.py
nanounanue Apr 1, 2019
7707b08
Merge pull request #665 from dssg/nanounanue-audition-doc-patch
shaycrk Apr 3, 2019
da24b61
Merge pull request #637 from dssg/runs_table
ecsalomon Apr 3, 2019
3fb59a3
Merge pull request #587 from dssg/slr_importances
avishekrk Apr 8, 2019
01f357e
MS Triage (#666)
saleiro Apr 9, 2019
169252e
Dirty duck (the whole enchilada)
nanounanue Apr 9, 2019
a4b4700
Improve mkdocs.yml to fit dirty duck markdown version
thcrock Apr 10, 2019
3f64c3f
Added function to create dirty duck md files to manage.py
nanounanue Apr 17, 2019
47ff0a8
Updated link at menu bar
nanounanue Apr 17, 2019
8e14077
Scheduled monthly dependency update for April (#664)
pyup-bot Apr 17, 2019
422bf82
Individual md files for dirty duck. Added markdown modules. Modified …
nanounanue Apr 18, 2019
8261162
Merge branch 'dirtyduck-integration' of github.com:dssg/triage into d…
nanounanue Apr 18, 2019
5c3569c
Added some suggested modifications
nanounanue Apr 19, 2019
375954e
Material design
nanounanue Apr 19, 2019
64ec319
Merge branch 'master' into dirtyduck-integration
nanounanue Apr 19, 2019
540f997
Completed description of potential paths for Dirty duck
nanounanue Apr 19, 2019
ec78a2a
Dirty duck (the whole enchilada) (#670)
nanounanue Apr 19, 2019
0e07f8d
Fixing instructions on Welcome
nanounanue Apr 19, 2019
0c46b21
Fixed broken link
nanounanue Apr 19, 2019
32ec0dd
Removed “appointment level”
nanounanue Apr 19, 2019
e19d86b
Fixed typo
nanounanue Apr 19, 2019
9afc197
Fixed broken links (again)
nanounanue Apr 19, 2019
c9c5182
Remove redundant imputation flag columns [Resolves #544]
thcrock Apr 19, 2019
e7aea52
Removed prepare_dirtyduck from manage.py - that command is not valid …
nanounanue Apr 21, 2019
067cd59
Merge pull request #675 from dssg/fixing-little-dirtyduck
nanounanue Apr 21, 2019
42aa9f1
Change in behavior from review
thcrock Apr 24, 2019
f82c880
Fix Travis deploy [Resolves #493] (#677)
thcrock Apr 25, 2019
f677953
Straight up impflag vs imp_flag
thcrock Apr 25, 2019
4cebba4
Merge pull request #676 from dssg/redundant_imp_flags
ecsalomon Apr 25, 2019
7435238
Add compute best/worst/stochastic for each evaluation [Resolves #292]…
thcrock May 2, 2019
0fd2260
Upgrade ohio (#678)
thcrock May 3, 2019
1dc8a4a
Insert Ranks for Predictions [Resolves #357] (#671)
thcrock May 3, 2019
a01e1fe
Fix logging typos that only show up when splits are empty
thcrock May 6, 2019
6a0de22
Merge pull request #685 from dssg/logging_typos
ecsalomon May 6, 2019
c2a7728
Support Python 3.7 [Resolves #683] (#684)
thcrock May 6, 2019
9575398
Remove unnecessary site directory files
thcrock May 6, 2019
2d0e53b
Add docs/site to gitignore
thcrock May 6, 2019
11ee044
Merge pull request #686 from dssg/remove_site_dir
thcrock May 6, 2019
be4f431
ensure ``S3Store`` does not attempt to write too-large chunks to S3 (…
jesteria May 7, 2019
4f8992b
Merge pull request #687 from dssg/jsl/s3store-5gb
thcrock May 8, 2019
fb1207e
Bump experiment to v7 (#689)
thcrock May 8, 2019
cc5f66c
Catch base RequestException to reflect differing Travis environment
thcrock May 8, 2019
6cb43f9
Fixes #691 (#693)
nanounanue May 9, 2019
345a3a3
Don't auto-upgrade db for new Experiments [Resolves #695] (#698)
thcrock May 16, 2019
b29b3d0
Add more user database management options to CLI [Resolves #697] (#699)
thcrock May 20, 2019
e97aab1
Bias Part 1: Protected groups generator (#680)
saleiro May 20, 2019
5342254
Config doc (#694)
tweddielin May 21, 2019
f763558
test for capitals, remove duplicate dev requirement
shaycrk May 24, 2019
3638f49
Merge pull request #701 from dssg/kit_caps_test
thcrock May 24, 2019
e47f07a
Bias part 2 (#688)
saleiro May 30, 2019
91150d8
Added DummyClassifier to the SimpleClassifiers batch (#702)
nanounanue May 30, 2019
be6e974
Scheduled monthly dependency update for May (#679)
pyup-bot May 30, 2019
b5e8407
Update README.rst
rayidghani Jun 5, 2019
18368c1
Update README.rst
rayidghani Jun 5, 2019
91ebcbd
check for empty protected_df (#709)
shaycrk Aug 7, 2019
258306b
add pydotplus to requirements'
tweddielin Oct 7, 2019
1ce00fc
fix plots with triage's result-schemas
tweddielin Oct 7, 2019
9299831
remove old tests for postmodeling
tweddielin Oct 7, 2019
40b4b73
fixed tests
tweddielin Oct 9, 2019
d157ad6
remove unused codes
tweddielin Oct 9, 2019
ba5b6c2
fix conflicts
tweddielin Oct 10, 2019
6c0da70
merge with master and fix conflicts
tweddielin Oct 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dist/
.cache/
.coverage*
.tox/
docs/site/

/.install.*.bash.inc
/.python-version
Expand Down
29 changes: 20 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist: xenial
language: python
python: 3.6
python: ["3.6", "3.7"]
addons:
postgresql: '9.5'
services:
Expand All @@ -11,19 +12,29 @@ install:
- pip install -r requirement/include/build.txt -r requirement/include/test-management.txt
env:
matrix:
- BOTO_CONFIG=/tmp/nowhere
- BOTO_CONFIG=/tmp/nowhere
global:
secure: U00z8IVLCenhcgaf2k+orF2zrNuQDbuSZs7ob+HvUPUHbFf8nadGN7RQ1E/AeiDPuqqOB03gQnqEEM1/o6EzzTGICsjUuSwGkmXXVwkpk5DZeEv6zIlrXpIaPvD0ZRTDh9g2GohmL4AEc7v7cKxMCSW2zYfP9qhiHMmxD98yB3llc3Z/zBjCC1Wp9d6/2+MEiUWytqYg1pI4vamL+awHrgjpImrMYnC4guMpvwHqslL1t/HhvHzzrob1EjxIPZuDzzSmXAcRTDkrX56gFKn6+wPyGf7M8BbiyilqFThN93hhNc3XYXTV+ptQgi6Rn8EfKpKuL0qBW3wOw9e6SExtz8ESNB+DjSe7zTPNXGH1WbeyMUCrArdZj0+FVCjoT8dG9bDUMl+kgMn2J5VBS4umpmIVaJCJvmldojax4W+fuR4nrfnb3pIP+hDjemlgbpdmjBh39c+A3ZC7Zcv3fhpvGIyg8/2GBzNRaNc4wiVcd8An+VlToJLLwuBekA0J1NDWvKmuMX5Kew+Y4w1w1WgJAW8kWMEY51tlIwuWYdsdIRGLFgOucbtLMJpQXjtP8OxKHcWsCDiIEZJk49IMdcU3q6Wmss1TfElNwxpdpECrLEn8y1CDIhzb+PcUYdqHWPgW30TKOs4URags4m/XVmDJZrgv3JcwiQiYbUepZ8hPdTY=
script: tox
notifications:
email: false
after_success: codecov
deploy:
on:
-
repo: dssg/triage
tags: true
distributions: sdist bdist_wheel
password:
secure: pJkSXYD04vwgw8KHIlMtuN2b24utupFHfXL9wnijFDJtXgoMTqo2SIW+l6gAG25bp6Z69w3P7l+ZJefc6YkgCTaE+/ypEQdpiD2NZJ//fldXp8Xc68biLP76TOVEMLDVd0pYzbCpV8/6gBzUuL/f1GUadRBLwrxuxzl/TlQEnOiMiCW9Cr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CUCQjYzD/yCJGuDCuY/42+QGaMo9oEVgw7ublC0Xzib+zyuogTvjxYQR+XGJnCgeDYEs7A/o8CHdJKSeIbxpnuZShPpkdBQgzWmnvlfgJTYICaa10oAf5+sDnBQQsumZBT3iuKJETXIkNxeo=
provider: pypi
user: dssg
on:
repo: dssg/triage
tags: true
-
provider: pages
skip_cleanup: true
keep_history: true
on:
tags: true
github_token:
secure: k9B6boJecrnckJaei63Ulyqq0Guj1D6hEGcnvChqlG0K7rbC8ItK9WAB+l349mPzFVflQqXvovcr+skB3FuVTiv8nD6y5ACKZTYy9IAC0OURHIBYEwnTyBFc7xuUKRlHsGok5DfQkUeQgiyUGTPLAExDkufjSAamnevATSGk3uCzpDzexRqSKm69Py1ZMEgSmTriH+Z90p/OET0lZPn0rkBXlgeReElJ2ffPjE8HaE9JovL22/9ZoNlBjnK85fAt4WEAWSdoL1f2Ye+XILlfIx2abFzbthU+0mPZf3U3bvzPWNwYzMs5fwnV635yHEMT2yRDA8Hrpbe+EFEk+/GfwITnVpSawmZutsuH4xjmh9owCTqMvI2IWNJ5cTVgs4NoRIlqU0Eiaxyn2Iv123WNO3SjoLKJ7i3CXK82V2rMkufbVBEzG010G24wJ087w+mZux7wxxQ5DQmgm1leNBLqGmkdGMYVBQubAyS5rKBW8akvBX+T3b8c/CUoamOnWXP6nTS3jGfSP0doBBqhe8C7qA75FfwS350ln/CJBfuU2mS7ya1PawS1sdZ9M8eYm1gl3ueLQjaXnG2BcbDqDGRNHrrXDGtNCdD7AeoQ+3jVUR1hoyHS+zxMxRUBb/Gpd7sKwyiF4kR5sQ2M3mLLo2YCk9+l8Y/nY9E3MuZggfq1d7c=
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ pip install -r requirements/dev.txt

Once this is done, you can modify any of the pages under the documentation root directory, and change general doc site configuration in [docs/mkdocs.yml](docs/mkdocs.yml). While modifying a documentation page, you can preview your changes by running the mkdocs dev server:
```
cd docs
mkdocs serve
manage docs
```

### Submit Feedback
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
BY DOWNLOADING triage PROGRAM YOU AGREE TO THE FOLLOWING TERMS OF USE:

Copyright ©2017. The University of Chicago (Chicago). All Rights Reserved.
Copyright (c)2017. The University of Chicago ("Chicago"). All Rights Reserved.

Permission to use, copy, modify, and distribute this software, including all object code and source code, and any accompanying documentation (together the Program) for educational and not-for-profit research purposes, without fee and without a signed licensing agreement, is hereby granted, provided that the above copyright notice, this paragraph and the following three paragraphs appear in all copies, modifications, and distributions. For the avoidance of doubt, educational and not-for-profit research purposes excludes any service or part of selling a service that uses the Program. To obtain a commercial license for the Program, contact the Technology Commercialization and Licensing, Polsky Center for Entrepreneurship and Innovation, University of Chicago, 1452 East 53rd Street, 2nd floor, Chicago, IL 60615.
Permission to use, copy, modify, and distribute this software, including all object code and source code, and any accompanying documentation (together the "Program") for educational and not-for-profit research purposes, without fee and without a signed licensing agreement, is hereby granted, provided that the above copyright notice, this paragraph and the following three paragraphs appear in all copies, modifications, and distributions. For the avoidance of doubt, educational and not-for-profit research purposes excludes any service or part of selling a service that uses the Program. To obtain a commercial license for the Program, contact the Technology Commercialization and Licensing, Polsky Center for Entrepreneurship and Innovation, University of Chicago, 1452 East 53rd Street, 2nd floor, Chicago, IL 60615.

Created by Data Science and Public Policy, University of Chicago

Expand Down
9 changes: 7 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ Risk modeling and prediction
.. image:: https://codeclimate.com/github/dssg/triage.png
:target: https://codeclimate.com/github/dssg/triage

Predictive analytics projects require the coordination of many different tasks, such as feature generation, classifier training, evaluation, and list generation. These tasks are complicated in their own right, but in addition have to be combined in different ways throughout the course of the project.
Building systems that use predictive models require answering many design decisions, turning them into modeling choices, and technical tasks. Questions such as cohort selection, unit of analysis determination, outcome determination, feature (explanantory variables) generation, model/classifier training, evaluation, selection, and list generation are often complicated and hard to choose apriori. In addition, once these choices are made, they have to be combined in different ways throughout the course of a project.

Triage aims to help solve these problems by:

1. Guiding users (data scientists, analysts, researchers) through these design choices by highlighting operational use questions that are important.

2. Providing interfaces to these different phases of a project, such as an ``Experiment``. Each phase is defined by a configuration (corresponding to a design choice) specific to the needs of the project, and an arrangement of core data science components that work together to produce the output of that phase.

Triage aims to provide interfaces to these different phases of a project, such as an ``Experiment``. Each phase is defined by configuration specific to the needs of the project, and an arrangement of core data science components that work together to produce the output of that phase.


Installation
Expand Down
81 changes: 72 additions & 9 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,92 @@
site_name: Triage Documentation
theme: readthedocs
theme:
name: 'material'
palette:
primary: 'blue grey'
accent: 'deep orange'
font:
text: 'Ubuntu'
code: 'Ubuntu Mono'
logo:
icon: 'book'
favicon: 'assets/images/favicon.ico'

docs_dir: sources
repo_name: 'dssg/triage'
repo_url: http://github.com/dssg/triage
edit_uri: blob/master/docs/templates
edit_uri: ''
site_description: 'Documentation for Triage.'

extra:
social:
- type: 'github'
link: 'https://github.com/dssg/hitchhikers-guide'
- type: 'twitter'
link: 'https://twitter.com/datascifellows'
- type: 'linkedin'
link: 'https://linkedin.com/company/center-for-data-science-and-public-policy-university-of-chicago'


markdown_extensions:
- toc:
permalink: True
baselevel: 2
- toc:
permalink: True
baselevel: 2
toc_depth: 1
- admonition
- codehilite:
guess_lang: false
- def_list
- footnotes
- meta
- pymdownx.arithmatex
- pymdownx.b64
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.extrarawhtml
- pymdownx.keys
- pymdownx.highlight
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.superfences

extra_javascript:
- "js/mermaid.min.js"

pages:
nav:
- Home: index.md
- Dirty Duck Tutorial: https://dssg.github.io/dirtyduck
- Dirty Duck Tutorial:
- Welcome: dirtyduck/docs/index.md
- Choose your own adventure: dirtyduck/docs/choose_your_own_adventure.md
- Setup:
- For the impatient: dirtyduck/docs/for_the_impatient.md
- Infrastructure: dirtyduck/docs/infrastructure.md
- Data preparation: dirtyduck/docs/data_preparation.md
- Case studies:
- Problem description: dirtyduck/docs/intro.md
- Resource prioritization: dirtyduck/docs/inspections.md
- Early Warning System: dirtyduck/docs/eis.md
- Triage:
- A deeper look into triage: dirtyduck/docs/triage_intro.md
- Experiment:
- Defining an Experiment: experiments/defining.md
- Testing Feature Configuration: experiments/feature-testing.md
- Experiment Configuration: https://github.com/dssg/triage/blob/master/example/config/README.md
- Running an Experiment: experiments/running.md
- Upgrading an Experiment: experiments/upgrading.md
- Upgrading an Experiment:
- v6 -> v7: experiments/upgrade-to-v7.md
- v5 -> v6: experiments/upgrade-to-v6.md
- v3/v4 -> v5: experiments/upgrade-to-v5.md
- Temporal Validation Deep Dive: experiments/temporal-validation.md
- Cohort and Label Deep Dive: experiments/cohort-labels.md
- Prediction Ranking: experiments/prediction-ranking.md
- Feature Generation Recipe Book: experiments/features.md
- Experiment Algorithm: experiments/algorithm.md
- Experiment Architecture: experiments/architecture.md
- Audition: https://github.com/dssg/triage/tree/master/src/triage/component/audition
- Model selection: dirtyduck/docs/audition.md
- Postmodeling: postmodeling/index.md
- Model governance: dirtyduck/docs/ml_governance.md
- Scaling up: dirtyduck/docs/aws_batch.md
113 changes: 0 additions & 113 deletions docs/site/css/base.css

This file was deleted.

7 changes: 0 additions & 7 deletions docs/site/css/bootstrap-3.0.3.min.css

This file was deleted.

Loading