sunlabuiuc / PyHealth

A Deep Learning Python Toolkit for Healthcare Applications.

Home Page:https://pyhealth.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyhealth.calib.calibration.

bbb801 opened this issue · comments

Dear Sir/Madam,

I got an error in the following commands:

from pyhealth.calib.calibration.hb import HistogramBinning
cal_model = HistogramBinning(model)
cal_model.calibrate(cal_dataset=val_dataset)

val_dataset is from torch subset from BaseEHRDataset. Could you give some advice?
image
image