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
0answers
14 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
28 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 ...
0
votes
1answer
55 views

Implementing Mahalanobis Distance in Python

I am trying to implementing Mahalanobis Distance from scratch but I am getting an error- The formula for Mahalanobis Distance is- Now my code is- ...
2
votes
0answers
23 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
0answers
43 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
13 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
370 views

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

This is my stock market csv data: ...
0
votes
1answer
24 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
30 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
368 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
21 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
172 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
27 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
108 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
134 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
16 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
125 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
193 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
70 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
30 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
47 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
135 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
587 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
45 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
82 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
63 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
75 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
63 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
80 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
242 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: ...
3
votes
1answer
2k 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 ...
0
votes
1answer
19 views

I am getting a Type Error in this Line

Diff = [i - j for i,j in zip(text_features, author_signature)] Diff is a List , text_features = [1, 2, 3] , author_signature = [3, 2, 1]
1
vote
1answer
129 views

Can I make kaggle kernels read directly from my computer?

For some reason jupyter notebooks never work the same as kaggle kernels for me. I want to use kaggle kernels but the downside is I don't know how to make it read from a file on the computer like a ...
0
votes
1answer
1k views

Jupyter notebook running very slow

I am running a RandomForestClassifier on my data but my jupyter notebook is very slow. It took almost 2 hours to run the below code: ...
1
vote
0answers
31 views

Data Visualization Plotly.js renders same image when saved to html from jupyter notebook

I have displayed two different Plotly images (bar charts) in Jupyter notebook using Plotly API. However, when I save the notebook to html both the bar chart displays as the same image. For e.g. I have ...
3
votes
3answers
6k views

How to download a Jupyter Notebook from GitHub? [closed]

This is a fairly basic question. I am working on a data science project inside of a Pandas tutorial. I can access my Jupyter notebooks through my Anaconda installation. The only problem is that the ...
1
vote
1answer
307 views

TensorFlow: how to print out all elements in a tensor

I have a tensor that is of the size (19,19,5,80). I want to print out all the elements in it but if I use print(XXX.eval()), ...
6
votes
4answers
2k views

Share Jupyter Notebook with a non programmer

I would like to share a Jupyter Notebook with somebody who is not a programmer (via a URL). I understand that I must publish my work to github and then use http://nbviewer.jupyter.org/ to render the ...
1
vote
0answers
90 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
144 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: ...
0
votes
1answer
22k views

MemoryError for np.array [closed]

I was trying the Keras CNN Stater Code on Ubuntu 16.04, from the below link: https://www.hackerearth.com/challenge/competitive/deep-learning-3/machine-learning/predict-the-energy-used-612632a9/#...
3
votes
0answers
426 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
20 views

Unable to access saved code

I am new to jupyter notebook and i can't find my saved .ipynb code after logging out of jupyter notebook accidentally. Thanks in anticipation
4
votes
1answer
111 views

Jupyter notebooks and git [closed]

I am looking for any straightforward solution to work with Jupyter Notebooks and git since the cached data on the .ipynb files makes the diff difficult to read. Does anyone know any standalone ...
0
votes
1answer
147 views

Jupyter notebook - Converted Python dataset to R Dataframe. Got stuck in converting back from R to Python Dataframe

I am able to Install Anaconda and able to write Python and R code without any issues based on below help. https://gist.github.com/simecek/019d87c55fec3839d95bbf8489dde61d I extracted my data from MS-...
1
vote
2answers
84 views

How to extract all information by using id

I need to apply classifier algorithm after clustering. Now after clustering I find the id numbers that which id belongs which cluster. I clustered them into 2 cluster. Now I need to collect those ...
1
vote
0answers
226 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 ...
2
votes
4answers
4k views

Interactive plots in Jupyter

I'm looking for Jupyter extension to plot interactive graphs. For example I need to plot twenty time series lines with order to examine data. Only plugin which I've found is bqplot https://github.com/...