Questions tagged [jupyter]

Jupyter is a collection of environments and protocols for interactive computing. It supports many languages and kernels, and works with frontends including the web application Jupyter Notebook. Jupyter was split from IPython in 2015, and Jupyter Notebook is based on IPython Notebook.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
265 views

How to reload cell in jupyter notebook? After OSError: [Errno 12] Cannot allocate memory

I got an error: OSError: [Errno 12] Cannot allocate memory I deleted some files. And I have free memory. I don't want start learning again from first epoch. (I got ...
3
votes
0answers
619 views

Why Tensorflow does NOT quit when CUDA_ERROR_OUT_OF_MEMORY

It was my understanding that when trying to create a tensorflow session, if the amount of available GPU memory is not enough for what the program asks for, the program should raise an error and exit. ...
2
votes
2answers
84 views

how to see decision tree when running in anaconda?

In Jupyter displaying the DT is done as follows: # Display in jupyter notebook from IPython.display import Image Image(filename = 'tree.png') How to see DT ...
1
vote
0answers
20 views

Multi Class Perceptron

I'm trying to implement multiclass perceptron in R. ...
1
vote
1answer
28 views

Scalling and unscalling of data for SVR prediction

I'm trying to use SVR to predict a certain feature. I create the model with the following code: ...
1
vote
1answer
43 views

Add Cell Numbers to Jupyter?

Does anyone know a way to add cell numbers (not line numbers within cells)? I have been using nbextensions for a while but it does not seem to have the ability to label cell numbers.
1
vote
1answer
21 views

Site packages location not shared between Python and Jupyter Lab

I appreciate the fact that Jupyter runs in an isolated mode. I read several posts about it by now. What I don't understand is why the JUPYTER_PATH variable is ignored as well as appending manually (...
1
vote
0answers
26 views

Integrate SageMaker notebook instances into development flow

I often get stuck by the calculation time when I work on a model locally. Even sampling quite heavily sometimes still let the running times very long. Ideally, these times must be of the order of the ...
1
vote
0answers
150 views

Big dataset for multi-class classification can't be dasked and split, normal one can't be handled

I have a huge dataframe (550MB), the lending club one available here, and I have to predict the class of the grades. The dask dataframe is : ...
1
vote
0answers
60 views

Error-analysis and evaluation of a model using Python?

My method of evaluating a model is the following : Split the training data set and do cross validation to obtain an accuracy of my model on my cross validation data set. Use the parameters that gave ...
1
vote
1answer
98 views

How to integrate google cloud with dropbox and jupyter notebook using tensorflow

So I opened up a google cloud account and have access to global and local (us east 1) resources (Compute Engine API , NVIDIA K80 GPUs) and connected it to my dropbox. Next, I followed this youtube ...
1
vote
0answers
103 views

How to link csv file within a markdown file when using Jupyter Lab?

I would like to render rapid reports using the Markdown files with links to csv files [csv](path to csv file). This part is working, I can dowload the csv file from the markdown preview, but I can't ...
1
vote
0answers
186 views

How to plot a 3-axis bar chart with matplotlib (and pandas + jupyter)

I'm a bit confused about how to go about plotting a 3-axis bar chart: So my jupyter notebook reads in an excel/sheet and I have a table: ...
1
vote
0answers
236 views

Adding custom packages to Jupyter Lab?

Is there a way of making custom Python packages generally available within Jupyter lab? While their documentation suggests to make install-able versions, and going through PIP, this is rather ...
1
vote
0answers
438 views

How to give weight to features manually

I have a dataset with continuous label ranges from one to five with nine different features.So I wanted to give weight to each feature manually because some of the features have very less dependency ...
1
vote
0answers
120 views

How to use rmagic in Azure Notebooks?

I am trying to get some data out of R snippet to Azure Python 3 Jupyter notebook (hosting is available for free at http://notebooks.azure.com). I tried the following in Python 3 notebook: ...
0
votes
0answers
13 views

Save latex equation in Jupyter as image

I have a latex equation in my Jupiter notebook. \begin{equation*} s_{(x,n)} = 2 ^ {-\frac{E(h(x))}{c(n)}} \end{equation*} Can I save the equation as an image? ...
0
votes
0answers
8 views

Preparing L2 norm kernel to be use in SVR

I have a pandas DataFrame and I want to use SVR with one of DataFrame's columns ("Age"). In this SVR model, I want to use the L2 norm. To do this, I created a custom kernel function called ...
0
votes
0answers
7 views

EMR Notebook Code completion and suggestion not working

I am using Notebook of AWS EMR, and I noticed that the code autocompletion is not working, I wonder if there is any way to enable it?
0
votes
0answers
33 views

np.loadtxt function showing error, could not convert string to float

This is my data file : I am trying to read this file with loadtxt() and the geometry points get loaded into one NumPy array, so I separate the data into two arrays:...
0
votes
0answers
21 views

Using rbf_kernel with two 2D numpy arrays causes Python 3 kernel to die

I am trying to calculate the maximum mean discrepancy between two datasets, X, Y, where the entries of X, Y are of type ...
0
votes
0answers
11 views

Is there any way to stop a jupyter cell mid-training and not lose the weights trained till that point?

My Deep Learning Network has been running quite some time now and has not reached halfway through its total epochs and nowhere near to the conditions to invoke the callback. However, I would like to ...
0
votes
0answers
94 views

Jupyter Notebook stuck on loading without giving any output

I've recently trained a model which has achieved 99% accuracy on training and 96% on validation data. It is a model which uses images to successfully distinguishes between 120 classes of fruits. I've ...
0
votes
0answers
7 views

%%capture explanation

I tried to search functionality of this magic function this is what I have found python doc, but I could not understand when and why we need it. could anyone please explain this magic line and give an ...
0
votes
0answers
14 views

Jupyter notebook memory consumption while training vs script

Anyone seeing this issue where, when you're training a model with torch on Jupyter Notebook your GPU memory utilization is more than if it was a python script? Ran the same notebook through a script ...
0
votes
0answers
9 views

play session from ratings dataset in Movie20 M

I need to extract listening sessions from the ratings dataset which has the columns cols = [userId movieId rating timestamp] timestamp is just a number for eg 1112486027 listening sessions are ...
0
votes
0answers
72 views

Training object detection models from the scratch without using pre-trained models and weights

I have a data set of 25 images. I wish to run Faster RCNN or yolov3 object detection models on this images.I want to create my custom trained model and get weights after running say 10 epochs. Later I ...
0
votes
0answers
51 views

Jupyter notebook pyspark error in %manage_spark

The environment is Jupyterhub on Centos using Pyspark kernel. When trying to run the below commands in JupyterLab I get errors. But the same commands work fine if I revert to regular Jupyter notebook ...
0
votes
0answers
26 views

Feature Engineering and Time calculation for grid search cv

I am new to data science and don't have model building experience. I have a dataframe with 5000 rows and 10 columns. The target column takes 1/0 as values. One feature column is ZIP Code. I converted ...
0
votes
1answer
214 views

Jupyter Notebook not importing pandas module

I am running Jupyter on a server on a virtual environment. I then tunnel my connection so I can access Jupyter on my browser. When I SSH into the server, I can use the Panda module in both Ipython ...
0
votes
2answers
120 views

Problem importing CNTK in Azure jupyter notebook

Vineeth Sai indicated in this that with the following code: pip install cntk the problem is solved. However, I am getting the error shown in attached image: