HealthCatalyst / healthcareai-py

Python tools for healthcare machine learning
http://healthcare.ai
MIT License
309 stars 186 forks source link

Error in verification #464

Open ricky5151 opened 6 years ago

ricky5151 commented 6 years ago

It happens that when I am trying to import SupervisedModelTrainer from healthcareai, the error shown out as below. Is there any method to solve this problem?

Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> from healthcareai import SupervisedModelTrainer File "/usr/local/lib/python3.4/dist-packages/healthcareai/__init__.py", line 1, in <module> from .advanced_supvervised_model_trainer import AdvancedSupervisedModelTrainer File "/usr/local/lib/python3.4/dist-packages/healthcareai/advanced_supvervised_model_trainer.py", line 9, in <module> import healthcareai.common.model_eval as hcai_model_evaluation File "/usr/local/lib/python3.4/dist-packages/healthcareai/common/model_eval.py", line 142 return {'accuracy': accuracy, **roc, **pr} ^ SyntaxError: invalid syntax

ricky5151 commented 6 years ago

3.4.2

Best Regards, Ooi Yoong Khang

From: Max [mailto:notifications@github.com] Sent: Monday, January 29, 2018 2:57 PM To: HealthCatalyst/healthcareai-py healthcareai-py@noreply.github.com Cc: ricky5151 khang1994@hotmail.com; Mention mention@noreply.github.com Subject: Re: [HealthCatalyst/healthcareai-py] Error in verification (#464)

@ricky5151https://github.com/ricky5151

What version of python are you using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/HealthCatalyst/healthcareai-py/issues/464#issuecomment-361155762, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah14RAQ75tfwZgOZnDsznRNyT4L6bG4sks5tPWvXgaJpZM4RwIMt.