
Security News
Node.js TSC Declines to Endorse Feature Bounty Program
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
A module for evaluating the predictions of the models trained on MEDS datasets.
This package provides an evaluation API for models produced in the MEDS ecosystem. If predictions are produced
in accordance with the provided pyarrow
schema, this package can be used to evaluate a model's performance
in a consistent, Health-AI focused manner.
To use, simply:
pip install meds-evaluation
meds-evaluation-cli
tool: meds-evaluation-cli predictions_path="$PREDICTIONS_FP_GLOB" output_dir="$OUTPUT_DIR"
A JSON file with the output evaluations will be produced in the given dir!
[!NOTE] This is a work-in-progress package and currently only supports evaluation of binary classification tasks.
Inputs to MEDS Evaluation must follow the prediction schema, which by default has five fields:
subject_id
: ID of the subject (patient) associated with the eventprediction_time
: time at which the prediction as being madeboolean_value
: ground truth boolean label for the prediction taskpredicted_boolean_value
(optional): predicted boolean label generated by the modelpredicted_boolean_probability
(optional): predicted probability logits generated by the modelThis is equivalent to the following polars
schema:
Schema(
[
("subject_id", Int64),
("prediction_time", Datetime(time_unit="us")),
("boolean_value", Boolean),
("predicted_boolean_value", Boolean),
("predicted_boolean_probability", Float64),
]
)
Note that while predicted_boolean_value
and predicted_boolean_probability
are optional, at least one of
them must be present and contain non-null values in order to generate the results. In addition, a schema can
contain additional fields but at the moment these will not be used in MEDS Evaluation.
MEDS Evaluation pipeline is intended to be used together with MEDS-DEV, but can also be adapted to use as a standalone package.
Please refer to the MEDS-DEV tutorial to learn how to extract and prepare the data in the MEDS format and obtain model predictions ready to be evaluated.
FAQs
A module for evaluating the predictions of the models trained on MEDS datasets.
We found that meds-evaluation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.