ehrapy.tools.mc.run_unsupervised_training#
- static mc.run_unsupervised_training(medcat_obj, text, progress_print=100, print_statistics=False)#
Performs MedCAT unsupervised training on a provided text column.
- Parameters:
medcat_obj (
MedCAT) – ehrapy’s custom MedCAT object, that keeps track of the vocab, concept database and the (annotated) resultstext (
Series) – Pandas Series of (free) text to annotate.progress_print (
int) – print progress after that many training documentsprint_statistics (
bool) – Whether to print training statistics after training.
- Return type: