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.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 views

Practical way to convert jupyter notebook to MS Word document?

What would be a practical way to convert a Jupyter Notebook to a Word document (.doc) ? I am asking this in a professional context, so I'd like to avoid manual solutions, do it in an efficient way (...
0
votes
1answer
26 views

how to solve an error when training model using xgboost

I am following the tutorial at https://www.hackerearth.com/practice/machine-learning/machine-learning-projects/python-project/tutorial/. I am almost at the end of it but I started getting an error. ...
0
votes
0answers
14 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.
3
votes
1answer
31 views

How to properly store a list of pandas dataframes, so that I can import them in a new python script?

I'm trying to make a GUI in PyQt5 to present the results of my research. The results are around 800 pandas dataframes, stored in lists (so that I can call them individually according to the list index)...
2
votes
2answers
52 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 ...
0
votes
0answers
9 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
1answer
24 views

Graph isn't an attribute in TensorFlow? Very basic question

Hi am am just starting to learn how to use TensorFlow and this is one of my first projects. I am simply trying to create a graph. This is my code: ...
2
votes
1answer
29 views

Importing .ipnyb file from Kaggle into local Jupyter

Total beginner question here, please let me know if it would be more appropriate somewhere else. I just created my first iPython notebook in Kaggle and I downloaded the ipnyb file. Now I have ...
2
votes
1answer
49 views

What is the difference between “Python interactive” and “Python 3” kernels

When creating a new notebook using the web interface, Jupyter gives me two options: 'Python Interactive' and 'Python 3' (see screenshot). However, I've been unable to find any indication on what the ...
0
votes
1answer
28 views

Why is the code provided in this book mostly commented out?

I am new to text mining and have been playing around with the code provided in the book Applied Text Analysis With Python. I came to a problem with this specific part: https://github.com/foxbook/atap/...
0
votes
0answers
9 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 ...
2
votes
1answer
24 views

5 digit number mis-reads analysis

Nothing to do with number recognition in the classical 'hand-written' sense Disclaimer above to avoid this being counted as a repeat. I have a selection of 96 serial numbers, and a separate ...
3
votes
3answers
450 views

Collaborating on Jupyter Notebooks

I have prepared Jupyter Notebook with some findings and I shared it with other team members through GitHub to get their feedback in a written form. It used to work like this when working together on a ...
1
vote
1answer
69 views

Attribute error when loading pickle file in python jupyter notebook

I have created a config file with the following code for an object detection task and saved in the local disk. ...
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
21 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 ...
1
vote
0answers
11 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 ...
0
votes
0answers
30 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 ...
1
vote
0answers
81 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
37 views

visualize images inside the Dataframe [closed]

I use python 3.7.3 and I run this code on Jupyter Notebook . I have a column named 'image' in my Dataframe named df that contains Url of images I wanna visualize inside the df. I saw some answers ...
4
votes
1answer
75 views

How to display graph with MathJax in jupyter notebook?

I am trying to create a jupyter-notebook with a graphical depiction of a neural network. For starters, I am trying to display a simple network that evaluates a boolean NOT operator. I am using the <...
0
votes
1answer
180 views

Upload 'tsv' file to Google Colab / Jupyter Notebook

TSV(Tab separated Value) extension file can't be uploaded to google colab using pandas Used this to upload my file ...
0
votes
0answers
19 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
2k views

np.loadtxt function showing error, could not convert string to float: '“Date”'

This is my stock market csv data: ...
0
votes
1answer
59 views

Jupyter Notebook - Change HTTP Headers

I am using jupyter notebook to host my machine learning codes and notebooks. Jupyter Notebook server is sending some HTTP headers like Server = TornadoServer/5.1.1 I want to remove this header. Also ...
0
votes
1answer
43 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
0answers
1k views

Jupyterlab Inline Interactive plot

I am trying to make my inline plots in jupyterlab interactive. So far, I have tried a suggestion as pointed out here, among others: https://stackoverflow.com/questions/50149562/jupyterlab-interactive-...
1
vote
0answers
30 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 ...
0
votes
0answers
24 views

De-trending for forecasting

I use De-trending (pandas) to get a stationary dataset, it works, but how can I get the normal values back? ...
2
votes
1answer
469 views

Pandas Groupby makes kernel die in Jupyter notebook/Python

I have a groupby in jupyter-notebook that takes ages to run and after 10 minutes of running it says 'kernel died...', The groupby looks like this: ...
0
votes
0answers
40 views

Code completion and suggestion EMR Notebook

I Created an EMR Cluster with Pyspark and connected to its notebook. However i noticed there's no code completion neither method documentation. Has anyone ever had the same issue? Didi you solve it? ...
3
votes
0answers
191 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 ...
0
votes
1answer
164 views

Azure Data Studio opens Jupyter Notebook / Lab HTML

When I start Jupyter Lab or Notebook from the terminal, Azure Data Studio opens the auto-redirect HTML file instead of Firefox. Is there a way to correct this behavior? I'm experiencing this issue ...
1
vote
1answer
17 views

Can I continue a machine learning process after shutdown?

I use Mask RCNN for object detection and instance segmentation. I am new to neural networks, this is my first project. I use jupyter notebook. Can I continue learning after shutdown? I would like ...
3
votes
2answers
534 views

What is the lightest browser to launch a jupyter notebook?

Currently I am using Firefox as default browser, I have no issue to naviguate with it, but I have a little limited memory (8GB, 6.8 available) and Firefox takes a lot of RAM for nothing big, the more ...
3
votes
1answer
282 views

Error with Jupyter Notebook and Google Cloud

so I integrated my google cloud with the Jupyter Notebook and it seemed to be working as follows: [I 12:13:51.633 NotebookApp] Serving notebooks from local directory: /home/kerenb1 [I 12:13:51.633 ...
1
vote
1answer
81 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
1answer
34 views

How to place multiple graphs in same coordinate system (pandas,mathplotlib) -> look pic [closed]

in short how to set graphs in same coordinate system, not separated as in pic each in its own coordinate system in one frame....
1
vote
1answer
55 views

Arguments in python fast.ai function that are not in the function definition?

I have been coming across function calls that use arguments that are not in the function definition. I would like to know how that works (i.e. how the compiler interprets this). For example, this ...
2
votes
1answer
280 views

Change priority of cell execution in jupyter notebook?

I am sometimes in the following situation: I want to execute two cells: Cell 1 takes on the order of 10 minutes or hours. Cell 2 will take 1 second. I'd rather execute cell 2 first and see the result,...
2
votes
1answer
868 views

gpu pytorch code way slower than cpu code?

I have the following pytorch code in a jupyter notebook: import torch t_cpu = torch.rand(500,500,500) %timeit t_cpu @ t_cpu Which outputs: ...
1
vote
0answers
72 views

open jupyter notebook file in linux from folder system [closed]

I have .ipynb files stored locally on my computer. The way I currently open these is by opening the terminal, typing "jupyter notebook" then navigating through jupyter notebook's file system to my ....
2
votes
1answer
123 views

Better code completion in python notebooks

How come python code suggestion is awful in notebooks and spyder? Smetimes it shows classes methods and variables, sometimes not
1
vote
1answer
92 views

requesting password while git push in jupyter notebook

I am trying to push the commited changes from kaggle kernels using jupyter notebook but while pushing the changes git asking me for username and I really don't know how to give username as it seems ...
2
votes
1answer
98 views

Tools for visualisation: making a video of a sliding windows moving on the time series

I have a Neural Network (an autoencoder) that gets as the input a time-window of length M from a time series of length N, (...
1
vote
0answers
105 views

Problem upgrading pip command in Azure Jupyter notebook [duplicate]

Trying to install CNTK I received a message saying that I should upgrade pip command in [https://datascience.stackexchange.com/questions/43068/problem-importing-cntk-in-azure-jupyter-notebook]1 ...
0
votes
2answers
96 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:
-1
votes
1answer
423 views

Installed module pysubgroup not found in Jupyter Notebook [closed]

I'm trying to use the pysubgroup python package referenced here. I think I properly installed it as shown below, with no errors when I installed it: ...
6
votes
2answers
4k views

Conda Verification Failed

I was trying to install jupyter package for anaconda in my current environment but constantly getting the following error. Preparing transaction: done Verifying transaction: failed ...