claimed-framework / component-library

The goal of CLAIMED is to enable low-code/no-code rapid prototyping style programming to seamlessly CI/CD into production.
Apache License 2.0
2.31k stars 4.06k forks source link

AssignmentML4.ipynb not compatible with Python 3.9 which is the only one available on Watson #195

Closed Hasnael07 closed 2 years ago

Hasnael07 commented 2 years ago

@romeokienzler week 4 assignment of the Advanced machine learning and signal processing course on Coursera needs some updates. Many students and I are stuck on it and can't validate the course because of it. It seems that the provided systemml version is not compatible with Python 3.9, but works only until Python 3.8, which for some reason can't be selected in Watson studio as it always says "Notebook environments with Python 3.8 are restricted to notebooks that are already using them. Choose an environment with Python 3.9 instead." Here are the available versions (the notebook doesn't work with the option Default Python 3.8 + Watson NLP (beta)): image The error occurs in cell 6 when calling MLContext(spark). This is the error: TypeError: 'JavaPackage' object is not callable

Thank you.

GhostOfGreg commented 2 years ago

@romeokienzler same problem here, please update the assignment, so it runs on the new Watson Studio environment without giving errors just because of out-dated libraries / environments / packages. Thank you!

romeokienzler commented 2 years ago

Someone is assigned to take care of it...

romeokienzler commented 2 years ago

@GhostOfGreg can u pse try again by re-importing the latest version? should be fixed now..

GhostOfGreg commented 2 years ago

@romeokienzler thank you for the follow-up, I did try it and manage to complete the exercise. Small note: the notebook still had error on python 3.9 xxs environment (1 vCPU) but was working already on the xs environment (2 vCPU).

romeokienzler commented 2 years ago

Thanks so much for the update @GhostOfGreg will include a note on this!