watson-studio

Linking IBM Cloud Object Storage to Watson Studio new project?

余生颓废 提交于 2021-02-17 06:10:06
问题 I've attempted to create object storage for a new Watson Studio project, but get the same 'Reseller channel...is invalid' as other comments. I've tried changing my region from Dallas, to London or Tokyo as one answer suggested, but I get an 'Unexpected response code: 500' message. I can create an object storage, using the manual workaround here: https://cloud.ibm.com/catalog/services/cloud-object-storage But then how do I select this object storage when I create my new project? I can see the

Why I can't see notebook in project Watson Studio?

◇◆丶佛笑我妖孽 提交于 2021-02-17 05:21:48
问题 I've created a project in Watson Studio, then want to create a Jupiter notebook, however, can't see this feature. Does anyone know why? 回答1: You are missing entitlements meaning you have either created watson studio in other region than US region as i see you are hitting US region watson studio url https://dataplatform.cloud.ibm.com/. Go to IBM Cloud Dashboard => https://cloud.ibm.com/ and check which region has your watson studio service and then open that service and click manage -> Get

Why I can't see notebook in project Watson Studio?

守給你的承諾、 提交于 2021-02-17 05:21:07
问题 I've created a project in Watson Studio, then want to create a Jupiter notebook, however, can't see this feature. Does anyone know why? 回答1: You are missing entitlements meaning you have either created watson studio in other region than US region as i see you are hitting US region watson studio url https://dataplatform.cloud.ibm.com/. Go to IBM Cloud Dashboard => https://cloud.ibm.com/ and check which region has your watson studio service and then open that service and click manage -> Get

Watson Studio ImportError: No module named 'pydotplus'

。_饼干妹妹 提交于 2021-01-29 09:01:57
问题 Using: Watson Studio Python 3.5 With Spark Python Notebook: https://gist.github.com/anonymous/ea77f500b4fd80feb69fadb470fca235 This part gives the error: from IPython.display import Image import pydotplus dot_data = tree.export_graphviz(regr, out_file=None, feature_names = X_train.columns.values ,filled=True) graph = pydotplus.graph_from_dot_data(dot_data) Give error: ImportError: No module named 'pydotplus' Solution Is there another environment that actually has this module installed? OR Is

Download Pandas Dataframe in Watson Studio

假如想象 提交于 2020-05-17 05:40:40
问题 I want to know how to download as a CSV file a Pandas Dataframe when I'm using a Jupyter Notebok in Watson Studio. 回答1: I assume, you have created a pandas dataframe and now wondering where can you save the dataframe as csv file and then eventually download that saved csv file to your local machine. You need to use project api to save the pandas dataframe as csv to project data asset as described in following link:- # Save dataframe as csv file to storage project.save_data(data=df.to_csv

How can I save a binary file to my project assets using project-lib python?

守給你的承諾、 提交于 2019-12-25 00:57:08
问题 The project lib documentation shows how to save a pandas dataframe to the project assets: # Import the lib from project_lib import Project project = Project(sc,"<ProjectId>", "<ProjectToken>") # let's assume you have the pandas DataFrame pandas_df which contains the data # you want to save in your object storage as a csv file project.save_data("file_name.csv", pandas_df.to_csv()) # the function returns a dict which contains the asset_id, bucket_name and file_name # upon successful saving of

How to prevent 'pip install …' running every time I run the whole notebook?

拜拜、爱过 提交于 2019-12-24 00:38:06
问题 Most of the python notebooks I run tend to need some setup for the initial run, using ! pip install ... Executing the setup code every time the notebook is run is inefficient, so I would prefer to avoid that. Also, I don't want to move the setup code to a different notebook because usually it is just a few lines of code. 回答1: The solution for me was to run a small one line python script that only tries to import the module. If the import was successful, the pip install command does not get

Deep Learning - How can I test the MNIST tutorial model on WML?

房东的猫 提交于 2019-12-22 23:22:27
问题 This is a "Watson Studio" related question. I've done the following Deep-Learning tutorial/experiment assistant, successfully deployed a generated CNN model to WML(WebService). Cool! Tutorial: Single convolution layer on MNIST data Experiment Assistant Next, I'd like to test if the model could identify my image( MNIST ) in deployed environment, and the questions came to my mind. What kind of input file( maybe pixel image file ) should I prepare for the model input ? How can I kick the scoring

Issue installing rpy2 inside Watson Studio Python 'Environment'

巧了我就是萌 提交于 2019-12-13 20:49:39
问题 I'm trying to install rpy2 inside a Watson Studio 'environment': !pip install rpy2 However, the environments don't appear to have R available: Collecting rpy2 Downloading https://files.pythonhosted.org/packages/f1/98/c7652cc9d7fc0afce74d2c30a52b9c9ac391713a63d037e4ab8feb56c530/rpy2-2.9.4.tar.gz (194kB) 100% |████████████████████████████████| 204kB 4.4MB/s eta 0:00:01 Complete output from command python setup.py egg_info: Error: Tried to guess R's HOME but no command 'R' in the PATH. ---------

Importing scripts into a notebook in IBM WATSON STUDIO

青春壹個敷衍的年華 提交于 2019-12-11 17:14:57
问题 I am doing PCA on CIFAR 10 image on IBM WATSON Studio Free version so I uploaded the python file for downloading the CIFAR10 on the studio pic below. But when I trying to import cache the following error is showing. pic below- After spending some time on google I find a solution but I can't understand it. link https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/add-script-to-notebook.html the solution is as follows:- Click the Add Data icon (Shows the Add Data icon), and then