Comments (12)
Yes downgrade your ipywidgets to 4.
from azure-tdsp-utilities.
Hi @ArunNairID , did you use the latest version of IDEAR-Python-AzureNotebooks? I cloned the latest version from GitHub and tested in my machine, it works well. The script should be "i = interactive(TargetAnalytics.custom_barplot, df=fixed(df), col1=w1)" which looks different from your error code. For ipywidgets, try 6.0 or later, see if it works.
from azure-tdsp-utilities.
@wguo123 I'd like to mention that your different script indeed fixes the issue. However, the latest notebook still has the code mentioned by @ArunNairID.
You can see it here: https://github.com/Azure/Azure-TDSP-Utilities/blob/master/DataScienceUtilities/DataReport-Utils/Python/IDEAR.ipynb, in the cell right under "Explore the Target Variable".
I might be sending a PR with a few small modifications I needed to make to get the notebook running, including this little change. If I don't get to it, I wanted to mention that the old script seems to still be there.
Thanks!
from azure-tdsp-utilities.
The same error here. Did you solve it? :(
from azure-tdsp-utilities.
The error is in the the IDEAR notebook when run using Anaconda
https://github.com/Azure/Azure-TDSP-Utilities/blob/master/DataScienceUtilities/DataReport-Utils/Python/IDEAR.ipynb
from azure-tdsp-utilities.
I encountered the same issue when running with Anaconda Python3.6
And downgrading ipywidgets from 6.0 or 7.0 to 5.2.2 solved the issue.
However ipywidgets 5.2.2 or earlier has an issue that it can't detect Widget Javascript and therefore can't show widgets in noteebook. Running jupyter nbextension enable --py --sys-prefix widgetsnbextension
doesn't solve the issue.
from azure-tdsp-utilities.
Hi @hangyao, The other notebook seems to be providing all the functionalities. I eventually resorted to using it. It works perfectly fine in Anaconda with latest version of packages.
https://github.com/Azure/Azure-TDSP-Utilities/blob/master/DataScienceUtilities/DataReport-Utils/Python/IDEAR-Python-AzureNotebooks.ipynb
Regarding,
Running
jupyter nbextension enable --py --sys-prefix widgetsnbextension
doesn't solve the issue.
You need to restart the Jupyter Console once you run the above code in Anaconda prompt. I haven't tried it with version 5.2.2 though. Hope this helps :)
from azure-tdsp-utilities.
Hi @mathewnik90 , yes, you are absolutely right! Thank you! As long as I don't need to generate and combine reports, IDEAR-Python-AzureNotebooks.ipynb should be good to use. Have you tried if it can handle report generation and combination yet?
Thank you very much! It helps a lot!
from azure-tdsp-utilities.
@hangyao: No, IDEAR-Python-AzureNotebooks.ipynb doesn't support report generation and combination. I was able to get IDEAR.ipynb working with the export button. However, the report generated was buggy. In few cases 80% code was generated, however in few others less than that. I have not got a chance to get back to it.
You might want to look at the toggle code button at the bottom of the report. I am using that button along with adding inference below the charts, seems to be doing the trick for me :)
from azure-tdsp-utilities.
@mathewnik90 sorry for the newbie question but I'm trying to get this suite of utilities running on a docker image w/o Azure. I was able to get further by downgrading the images version of ipywidgets
to 5.2.2
but I continue to get the following warning:
Widget Javascript not detected. It may not be installed properly. Did you enable the widgetsnbextension? If not, then run "jupyter nbextension enable --py --sys-prefix widgetsnbextension"
I've executed the following command:
jupyter nbextension enable --py --sys-prefix widgetsnbextension
which reports the following:
Enabling notebook extension jupyter-js-widgets/extension... - Validating: OK
I've committed that change to my docker image and restarted jupyter notebook but continue to get the javascript (JS) warnings. It does produce the outputs but not 100% certain since the JS warnings persist.
Is there a different way to persist the enabling of the extension?
from azure-tdsp-utilities.
@woodmicha : I haven't tried iPyWidgets in docker. This thread throws some light on the issue. Hope this helps.
from azure-tdsp-utilities.
I have encountered the same issue as ArunNairID.
My environment: Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)]
Confirm that downgrading ipywidgets from version 7 to version 5.2.2 solved the issue.
from azure-tdsp-utilities.
Related Issues (20)
- Data Exploration without Target key in YAML file HOT 1
- When Launching IDEAR_MRS from VS2017 -> Error in eval: could not find function "tk_choose.files"
- Enhancement: Separate Plotting HOT 1
- versions not aligned in knitr HOT 1
- Generate Report Error - Quitting from lines 10-100 (adult.log.spin.Rmd) HOT 1
- Error: object 'cat_columns' not found HOT 3
- IDEAR Updates? HOT 1
- Warning: pandas.core.datetools deprecated HOT 1
- Unable to see the generate final button and also unable to find the intermediate .pynb files generated HOT 2
- Creating the "Export" Button HOT 3
- Doesn't Replace Old Plots
- Not resolved....(issue #34 ) HOT 5
- ValueError: Button(description=u'Export', style=ButtonStyle()) cannot be transformed to a widget HOT 4
- Feature request: update python notebook to work with current versions of relevant packages
- Feature Request: Create a version that is native to spark / databricks environments. HOT 1
- Bug in extracting new date/time variables in the IDEAR.rmd file
- Lifecycle in Data Science HOT 4
- add_conf_code_to_report() got an unexpected keyword argument 'local_ns' HOT 2
- Issue running IDEAR.ipynb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-tdsp-utilities.