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

Template for adding a new model #21

Merged
merged 10 commits into from
Oct 24, 2024
6 changes: 1 addition & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,4 @@ repos:
- id: nbqa-isort
args: ["--profile=black"]
- id: nbqa-flake8
args:
[
"--extend-ignore=E203,E402,E501,F401,F841",
"--exclude=logs/*,data/*",
]
args: ["--extend-ignore=E203,E402,E501,F401,F841", "--exclude=logs/*,data/*"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# The MEDS Dynamic Extensible Validation (MEDS-DEV) Benchmark: Re-thinking Reproducibility and Validation in ML for Health

> \[!WARNING\]
> MEDS-DEV currently only supports binary classification tasks.

This repository contains the dataset, task, model training recipes, and results for the MEDS-DEV benchmarking
effort for EHR machine learning.

Expand Down Expand Up @@ -131,8 +134,6 @@ Note this package currently supports binary classification only.

### To Add a Model

TODO

### To Add a Dataset

TODO
Expand Down
4 changes: 4 additions & 0 deletions src/MEDS_DEV/templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# README templates

This directory contains README templates for contributing to the MEDS-DEV repository with new
models, datasets, tasks, and results.
Empty file.
31 changes: 31 additions & 0 deletions src/MEDS_DEV/templates/model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# \[New model\] \*\*Add your model name here\*\*

> \[!Warning\]
> MEDS-DEV currently only supports binary classification tasks and therefore only accepts binary
> classification models for now.

## Description

Add a brief description of your model, including the details of its design and its intended purpose
(what sorts of tasks is it designed for).
kamilest marked this conversation as resolved.
Show resolved Hide resolved
kamilest marked this conversation as resolved.
Show resolved Hide resolved

## Dependencies

Add any dependencies that your model may have.
kamilest marked this conversation as resolved.
Show resolved Hide resolved

## Running the model

Please provide a step-by-step instructions for running your model, including installation,
details on the commands or a remote API, and any parameters.
kamilest marked this conversation as resolved.
Show resolved Hide resolved

## Resources and links

Add a link to the repository to your model's implementation and any other useful resources
(e.g. documentation).
kamilest marked this conversation as resolved.
Show resolved Hide resolved

## Checklist

Please make sure your model conforms to the MEDS-DEV API, including

- [ ] It is compatible with the most recent version of the MEDS data format.
- [ ] Its outputs are compatible with the most recent version of the MEDS-DEV evaluation schema.
kamilest marked this conversation as resolved.
Show resolved Hide resolved
Empty file.
Empty file added src/MEDS_DEV/templates/task.md
Empty file.
Loading