Converting predictions to JSON datasetΒΆ
This guide explains how to convert radiological signs predictions from a model into a JSON dataset. It can be used to create new versions of TB datasets with the predicted radiological signs to be able to use a shallow model. We input predictions (CSV files) and output a dataset.json file.
Use the sub-command predtojson to create your JSON dataset file:
$ bob tb predtojson -vv train train/predictions.csv test test/predictions.csv --output-folder=pred_to_json