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.

44 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
1 answer
168 views

Is it possible to work with AWS Sagemaker Studio Notebooks using a local IDE?

Is it possible to work with AWS Sagemaker Studio Notebooks using an IDE such as VSCode or PyCharm/IntelliJ running on my local machine? And if yes, how? Ideally I'd like to want to connect to the ...
florian's user avatar
  • 111
1 vote
0 answers
235 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
38 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
81 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
74 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
0 answers
90 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
1 answer
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
415 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
353 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
155 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,044
1 vote
1 answer
341 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
185 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
341 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
283 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
  • 151
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
9 views

How do I get ktrain to return a multilabel output in tabular regression?

So the output vector I'm training a ktrain model on is 2 dimensional (the outputs are ['Temp', 'Velo']. And ktrain is even able to compute these when I use predictor.predict (see attached image), but ...
Sisyphus's user avatar
0 votes
0 answers
74 views

ValueError: X has 40 features, but RandomForestRegressor is expecting 32 features as input

...
nesly's user avatar
  • 1
0 votes
1 answer
41 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
0 answers
66 views

Install package from conda-forge

I am trying to install the TRIQS package from conda-forge. As mentioned here, I used conda install -c conda-forge triqs on ...
Bekaso's user avatar
  • 101
0 votes
0 answers
16 views

Running all cells again adding new rows instead of return new dataframe

i am creating a class just like lazypredict library but with k fold support and return a data frame withh the mean score of every model every thing works and i can ...
Burhan Khanzada's user avatar
0 votes
2 answers
36 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
295 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
48 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
184 views

Image is rendered when I run jupyter notebook locally, but the image is not rendered when I see the same jupyter notebook on github

I went on github issues to find solutions from people who has similar issue but none of them worked for me. Can someone please help?
Nerdy19's user avatar
0 votes
0 answers
83 views

control Append in loop python

I have a csv file and am working on a custom dictionary function where I would like to append values by user input; but, it is appending multiple times. Which keys are occurring is shown in image:1. I ...
Job247Online's user avatar
0 votes
0 answers
22 views

ValueError: Input 0 of layer "lstm_6" is incompatible with the layer

I am trying to create a hybrid model which is consists of EfficientNetB7 and LSTM. ...
Beba.S's user avatar
  • 27
0 votes
0 answers
172 views

I want to create a network graph with multiple features on python

I have a dataframe of stock tickers which have a few features. Below is the dataframe: Currently I am using networkx and pyvis to create network graphs. At the moment, I'm only able to use either one ...
alphaQ's user avatar
  • 1
0 votes
0 answers
463 views

Colab Pro+ notebook stopped being busy when reopened without producing any output

I am training a fairly large dataset on Colab Pro+ with background execution. While the cell is running, the status reads 'busy' and I can check from the Resources tab that the notebook is indeed ...
dskon's user avatar
  • 1
0 votes
1 answer
37 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
655 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
128 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
72 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
112 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
1 answer
3k 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
0 votes
0 answers
65 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
4k 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
6k 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
55 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
242 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
688 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
1 answer
3k 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