All Projects → dssg → Triage

dssg / Triage

Licence: other
General Purpose Risk Modeling and Prediction Toolkit for Policy and Social Good Problems

Projects that are alternatives of or similar to Triage

Metrabs
This is a computer vision algorithm that takes a single RGB image as the input and estimates 3D human poses as the output.
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Advanced Deep Learning And Reinforcement Learning Deepmind
🎮 Advanced Deep Learning and Reinforcement Learning at UCL & DeepMind | YouTube videos 👉
Stars: ✭ 121 (-0.82%)
Mutual labels:  jupyter-notebook
Deeptime
Deep learning meets molecular dynamics.
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Tf2 notes
(Unoffical)人工智能实践:Tensorflow笔记
Stars: ✭ 121 (-0.82%)
Mutual labels:  jupyter-notebook
Datasist
A Python library for easy data analysis, visualization, exploration and modeling
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Logisticregression vectorized implementation
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Py entitymatching
Stars: ✭ 122 (+0%)
Mutual labels:  jupyter-notebook
Helm Chart
A store of Helm chart tarballs for deploying JupyterHub and BinderHub on a Kubernetes cluster
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Neural Processes
Pytorch implementation of Neural Processes for functions and images 🎆
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Learn jupyter
This is a jupyter practical tutorial. Welcome to edit together!
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Blurr
A library that integrates huggingface transformers with version 2 of the fastai framework
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Openradar
An open source library for interacting with and processing radar data, specialized for MIMO mmWave radars
Stars: ✭ 122 (+0%)
Mutual labels:  jupyter-notebook
Conversationai Models
A repository to house model building experiments and tools that are part of the Conversation AI effort.
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Python autocomplete
Use Transformers and LSTMs to learn Python source code
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Part reid
Code for ICCV2017 paper: Deeply-Learned Part-Aligned Representations for Person Re-Identification
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Pbpython
Code, Notebooks and Examples from Practical Business Python
Stars: ✭ 1,724 (+1313.11%)
Mutual labels:  jupyter-notebook
Python Artificial Intelligence Projects For Beginners
Python Artificial Intelligence Projects for Beginners, published by Packt
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Carnd
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Pytorch Sift
PyTorch implementation of SIFT descriptor
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook
Autoencoders
Implementation of simple autoencoders networks with Keras
Stars: ✭ 123 (+0.82%)
Mutual labels:  jupyter-notebook

Triage

Data Science Toolkit for Social Good and Public Policy Problems

image image image

Building data science systems requires answering many design questions, turning them into modeling choices, which in turn run machine learning models. 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 is designed to:

  • Guide users (data scientists, analysts, researchers) through these design choices by highlighting critical operational use questions.
  • Provide an integrated interface to components that are needed throughout a data science project workflow.

Quick Links

Installation

To install Triage, you need:

  • Python 3.6
  • A PostgreSQL 9.6+ database with your source data (events, geographical data, etc) loaded.
    • NOTE: If your database is PostgreSQL 11+ you will get some speed improvements. We recommend to update to a recent version of PostgreSQL.
  • Ample space on an available disk, (or for example in Amazon Web Services's S3), to store the needed matrices and models for your experiments

We recommend starting with a new python virtual environment (with Python 3.6 or greater) and pip installing triage there.

$ virtualenv triage-env
$ . triage-env/bin/activate
(triage-env) $ pip install triage

Data

Triage needs data in a postgres database and a configuration file that has credentials for the database. The Triage CLI defaults database connection information to a file stored in 'database.yaml' (example in example/database.yaml).

Configure Triage for your project

Triage is configured with a config.yaml file that has parameters defined for each component. You can see some sample configuration with explanations to see what configuration looks like.

Using Triage

  1. Via CLI:
triage experiment example/config/experiment.yaml
  1. Import as a python package:
from triage.experiments import SingleThreadedExperiment

experiment = SingleThreadedExperiment(
    config=experiment_config, # a dictionary
    db_engine=create_engine(...), # http://docs.sqlalchemy.org/en/latest/core/engines.html
    project_path='/path/to/directory/to/save/data' # could be an S3 path too: 's3://mybucket/myprefix/'
)
experiment.run()

There are a plethora of options available for experiment running, affecting things like parallelization, storage, and more. These options are detailed in the Running an Experiment page.

Development

Triag was initially developed at University of Chicago's Center For Data Science and Public Policy and is now being maintained at Carnegie Mellon University.

To build this package (without installation), its dependencies may alternatively be installed from the terminal using pip:

pip install -r requirement/main.txt

Testing

To add test (and development) dependencies, use test.txt:

pip install -r requirement/test.txt [-r requirement/dev.txt]

Then, to run tests:

pytest

Development Environment

To quickly bootstrap a development environment, having cloned the repository, invoke the executable develop script from your system shell:

./develop

A "wizard" will suggest set-up steps and optionally execute these, for example:

(install) begin

(pyenv) installed

(python-3.6.2) installed

(virtualenv) installed

(activation) installed

(libs) install?
1) yes, install {pip install -r requirement/main.txt -r requirement/test.txt -r requirement/dev.txt}
2) no, ignore
#? 1

Contributing

If you'd like to contribute to Triage development, see the CONTRIBUTING.md document.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].