Skip to main content

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.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
1k views

How to remove outliers from each group within a boxplot?

I am wanting to remove all the outliers for each individual ID in a boxplot. I have tried the following code: ''' ...
A.H's user avatar
  • 31
1 vote
0 answers
310 views

Reduce MNIST dataset

I am working on the MNIST dataset. How I can reduce 50% of this data? (x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data()
Salman Al-haddad's user avatar
1 vote
0 answers
47 views

Posting Jupyter notebooks for blind review

Is there an elegant way to post Jupyter notebooks for blind review, so that no author is identifiable? I could get a throwaway Google account or something, but I was hoping there was a better way.
Steve Petersen's user avatar
1 vote
0 answers
102 views

px.choropleth not showing any map, but just the legend!

I am unable to figure out why below code doesn't give proper o/p as maps, but just legends. *Summary_Table is my data_frame that contains 'id' and 'Total Deaths' and geojson_data contains the location ...
nve's user avatar
  • 11
1 vote
0 answers
96 views

How to use k_means algorithms on likert dataset?

I have a dataset of 10,000 customers with ten features all of which are Likert type. Like this: customer feature1 feature2 feature3 ID1 3 1 5 ID2 4 5 4 ID3 3 5 1 ID4 1 3 2 ID5 2 5 1 ID6 1 3 4 ...
SA12's user avatar
  • 111
1 vote
1 answer
4k views

I am getting this error ValueError: not enough values to unpack (expected 4, got 2)

I have written this code: ...
Yhogi Alawdi's user avatar
1 vote
0 answers
92 views

Issue with miscount on test train split in Python

Problem Hey everyone. I think I am missing something incredibly easy, but because I am wokring in resampling for the first time it is giving me all sorts of inadequacy. I performed an ADASYN up sample ...
ChrisP's user avatar
  • 11
1 vote
2 answers
2k 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: ...
MyName's user avatar
  • 137
1 vote
1 answer
532 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 (...
Andrea Moro's user avatar
1 vote
0 answers
34 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 ...
louisD's user avatar
  • 11
1 vote
0 answers
363 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 : ...
Revolucion for Monica's user avatar
1 vote
0 answers
166 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 ...
Blenz's user avatar
  • 2,084
1 vote
1 answer
369 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 ...
Keren's user avatar
  • 81
1 vote
2 answers
204 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:
Hermes Morales's user avatar
1 vote
0 answers
371 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 ...
SimonLL's user avatar
  • 11
1 vote
0 answers
305 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 ...
tsttst's user avatar
  • 161
1 vote
0 answers
123 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: ...
Dmitry Nogin's user avatar
0 votes
0 answers
13 views

Is DataSpell super slow training models?

I am working on a project where I have to train a couple of models, from Random Forest Regressor to Hybrid CNN-LSTM models. I was using DataSpell for this, also using the GPU of my laptop for the ...
David C.'s user avatar
0 votes
0 answers
33 views

Extracting the lines and arrows from matplotlib streamplot() (issues with scaling)

My goal is to extract the coordinates of lines and arrows produced by plt.streamplot(), since I want to reuse them elsewhere. plt.streamplot() generates lines and arrows as objects of type ...
James's user avatar
  • 133
0 votes
0 answers
82 views

vscode cannot reconnect to existing jupyter notebook server when waking my laptop

I recently switched from browser to vs code for using jupyter notebook and the IDE-like features (e.g. auto-complete, debugging, etc) provided by VS code is really so much better than a browser. But ...
username123's user avatar
0 votes
1 answer
266 views

Splitting CSV data with missing target variable using train_test_split in Python

I have a dataset in CSV format that consists of a training dataset with around 300 instances and a test dataset with around 100 instances. The issue is that the target variable (the column we want to ...
Yasmine Bzgn's user avatar
0 votes
0 answers
27 views

Help with running topology GAN (TopoGAN)

Link: https://github.com/TopoXLab/TopoGAN-ECCV2020 Sorry if this is the wrong place to ask, but I've been looking for help on how to work this out for a long time as I don't have much experience in ...
fds-mqdwqmqkdwl's user avatar
0 votes
1 answer
368 views

Plot multiple catplots from a dataframe

I have a dataframe and I want to plot multiple catplots. I want to use a loop but i do not know how to code one for this. Any examples? ...
ahmike's user avatar
  • 1
0 votes
3 answers
58 views

What ML Algo should I use to plot & predict customer location vs. amount spent?

Im using real customer csv files from my ecommerce store. I was initially going to use k cluster with 2 values. I want the two values to be Province Code, and amount spend on my store. This will ...
ChickenJoe's user avatar
0 votes
0 answers
563 views

Problems with implementing LIME

Hope you are holding on tight, Christmas soon! **Updates: I'm only able to get the results in probability but I want it in pure binary (0 or 1). I tried using .predict instead of predict_proba(x_test) ...
Ostlimpa's user avatar
0 votes
0 answers
121 views

How to use my resampled data (through SMOTE) for my models?

I'm quite new to Python coding so maybe this is an obvious thing. I am dealing with an imbalanced data set. I have encoded the categorical features and transformed them into numpy.array. After this, I ...
Ostlimpa's user avatar
0 votes
1 answer
44 views

How to count words in a dataframe?

I would like to count how many Male and female who answer (ex. Biking / Cycling). Below is the sample data:
Jasmine's user avatar
0 votes
1 answer
1k views

gym car racing v0 using DQN

I am currently learning reinforcement learning and wanted to use it on the car racing-v0 environment. I have successfully made it using PPO algorithm and now I want to use a DQN algorithm but when I ...
Din's user avatar
  • 1
0 votes
0 answers
181 views

Text Classification for columns with numbers, string and special characters

I have a dataframe with 3 columns and 1 label Here is an example of a row ...
user128219's user avatar
0 votes
1 answer
119 views

When using Jupyter (R kernel) and the keras library. When a cell is run there is no output. W/no output, there's no way knowing code functions.?

The keras digit object detection code does actually run in Jupyter using the R kernel. But it took three attempts to recognize that there wasn't an issue with Jupyter, or the R kernel, or the code. ...
Gray's user avatar
  • 101
0 votes
1 answer
140 views

Deployment in AzureML for NLP with fastText

I am new to Azure ML. I am working on sentimental analysis on a small tweet dataset with the help of fastText embedding (fastText file 'wiki-news-300d-1M.vec' is around 2.3 GB which I downloaded in my ...
cris2019's user avatar
0 votes
0 answers
137 views

JupyterNotebook exporting graphs as SVG unintentionally cropped

Within JupyterNotebook the graphs are perfectly rendered and look great, however I cannot figure out why it's (unintentially) cropping my graphs during the exporting, such that the axis descriptions ...
Godgory's user avatar
0 votes
2 answers
5k views

Jupyter, Python: the kernel appears to have died while training a model on a big amount of data

I am training my model on almost 200 000 images, i'm using Jupyter and now after 3 days of training ( i used 800 epochs and batch-size = 600) I have this " the kernel appears to have died. It ...
Lema Zaidi's user avatar
0 votes
1 answer
7k views

Reading a json-file from an API, getting "AttributeError: 'Response' object has no attribute 'data' "error

Title says it all. Im trying to read a json file im accessing via an API. But when I try, I get the error: 'AttributeError: 'Response' object has no attribute 'data'...
L. Nielsen's user avatar
0 votes
1 answer
56 views

Ordering a material science dataset (properties names, properties scalars, formulas)

I'm dealing with a materials science dataset and I'm in the following situation, I have data organized like this: ...
James Arten's user avatar
0 votes
0 answers
252 views

outliers in time series

I have a data set like the following where the rows are dates and the columns are values recorded by different sensors on those dates. Before working with the data for the purpose of predicting it, I ...
user60108's user avatar
  • 109
0 votes
1 answer
814 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 ...
Malathi's user avatar
  • 135
0 votes
1 answer
2k 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 ...
daniel blanco's user avatar
-1 votes
2 answers
4k views

AttributeError: 'NoneType' object has no attribute 'landmark'

I am on windows, using jupyter notebook, Mediapipe:Holistic Solution, Python, tensorflow. I am using a Holistic solution and trying to get the left hand, right hand and pose landmarks. I am giving my ...
Escanor6's user avatar