Contents Menu Expand Light mode Dark mode Auto light/dark mode
PyHealth
Logo

Getting Started

  • Installation
  • Tutorials
  • Advanced Tutorials

Documentation

  • Data
    • pyhealth.data.Event
    • pyhealth.data.Visit
    • pyhealth.data.Patient
  • Datasets
    • pyhealth.datasets.BaseDataset
    • pyhealth.datasets.SampleDataset
    • pyhealth.datasets.MIMIC3Dataset
    • pyhealth.datasets.MIMIC4Dataset
    • pyhealth.datasets.eICUDataset
    • pyhealth.datasets.OMOPDataset
    • pyhealth.datasets.splitter
    • pyhealth.datasets.utils
  • Tasks
    • pyhealth.tasks.drug_recommendation
    • pyhealth.tasks.readmission_prediction
    • pyhealth.tasks.mortality_prediction
    • pyhealth.tasks.length_of_stay_prediction
  • Models
    • pyhealth.models.MLP
    • pyhealth.models.CNN
    • pyhealth.models.RNN
    • pyhealth.models.Transformer
    • pyhealth.models.RETAIN
    • pyhealth.models.GAMENet
    • pyhealth.models.MICRON
    • pyhealth.models.SafeDrug
    • pyhealth.models.Deepr
  • Trainer
  • Tokenizer
  • Metrics
    • pyhealth.metrics.multiclass
    • pyhealth.metrics.multilabel
    • pyhealth.metrics.binary
  • MedCode

Additional Information

  • PyHealth live
  • Development logs
  • About us
Back to top
Edit this page

Metrics#

We provide easy to use metrics (the same style and args as sklearn.metrics) for binary classification, multiclass classification, multilabel classification. We also provide other metrics specically for healthcare tasks, such as drug drug interaction (DDI) rate.

  • pyhealth.metrics.multiclass
    • multiclass_metrics_fn()
  • pyhealth.metrics.multilabel
    • multilabel_metrics_fn()
  • pyhealth.metrics.binary
    • binary_metrics_fn()
Next
pyhealth.metrics.multiclass
Previous
Tokenizer
Copyright © 2022, PyHealth Team
Made with Furo