Questions tagged [kaggle]

Relating to Competitions, Datasets, Kernels, Learn, or Kaggle's API.

Relating to the following Kaggle data science categories:

1115 questions
0
votes
1 answer

Filling Null values with respective mean

I have a dataset as follow - alldata.loc[:,["Age","Pclass"]].head(10) Out[24]: Age Pclass 0 22.0 3 1 38.0 1 2 26.0 3 3 35.0 1 4 35.0 3 5 NaN 3 6 54.0 1 7 2.0 3 8 27.0 3 9 14.0 …
Akash Tyagi
  • 97
  • 2
  • 15
0
votes
1 answer

not able to login using request.post in kaggle website

is there any specific reason that I am not able to find authenticity_token when I am invoking get request. I tried many ways but kaggle is not allowing me to login using script. here is my sample code: #url for tain file …
0
votes
1 answer

Using matplotlib to obtain an overlaid histogram

I am new to python and I'm trying to plot an overlaid histogram for a manipulated data set from Kaggle. I tried doing it with matplotlib. This is a dataset that shows the history of gun violence in USA in recent years. I have selected only few…
Niranjan
  • 23
  • 4
0
votes
2 answers

Scikit-Learn accuracy score does not show accuracy

I'm a beginner in Machine Learning and I'm learning through the Kaggle competitions. I've started off with the Titanic competition and now I'm trying to measure the accuracy of my prediction with the scikit-learn accuracy_score function but the…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
0
votes
1 answer

NLP model's accuracy stuck on 0.5098 while training

I built a two layered LSTM model(keras model) for a movie review dataset from kaggle : Dataset While training the model, every epoch was giving the same accuracy of 0.5098. Then I thought it might not be learning the long distance dependencies.Then…
Mohit Saini
  • 21
  • 1
  • 8
0
votes
1 answer

Error when using Kaggle CLI

I originally installed the official Kaggle CLI here a few weeks ago, and it was working fine. Now, however, whenever I try to pull a competition (or even list them) it appears to give me python errors. For example, when I put this: $ kaggle…
Alex S
  • 4,726
  • 7
  • 39
  • 67
0
votes
2 answers

Kaggle file sumbission error (Santander Value Prediction Challenge)

Getting submission error: ERROR: The value '7.63E+15' in the key column 'ID' has already been defined (Line 23029, Column 1). Link to the challenge : https://www.kaggle.com/c/santander-value-prediction-challenge. Head of the submission file: …
Faraz Gerrard Jamal
  • 238
  • 1
  • 3
  • 14
0
votes
3 answers

Kaggle .csv file submission error

I am getting submission error in Kaggle ERROR: Column '' was not expected (Line 1, Column 1) when I am submitting my final .csv file
Pranay Aryal
  • 5,208
  • 4
  • 30
  • 41
0
votes
2 answers

I get a "-bash: command not found" when trying to use the kaggle API

I'm trying to use the kaggle API to download competition data with my terminal. When I run the following command $ kaggle competitions download -c titanic I get the following message $ -bash: kaggle: command not found I read that this has to do…
Mr. President
  • 1,489
  • 3
  • 11
  • 21
0
votes
1 answer

Fetch argument None has invalid type

I am new to Tensorflow so bear with me please, I am following this tutorial and come across an error that I do not know how to fix. Can anyone help me please? Thanks in advance. This is the code I try to execute: def train(): model = Model() …
Teun Vos
  • 584
  • 5
  • 9
0
votes
1 answer

When I add Anotation to the ggplot in a 'kaggle's notebook' I get a huge whitespace above graph, how can I fix that

I have a problem with a kernel I ran in kaggle,A huge white spaces occurs above the plots I plotted using ggplot. I suspect that is because I added annotations to the plots. I did not get this problem when i ran this in R-studio ,probably i am…
hariharan s
  • 165
  • 1
  • 11
0
votes
2 answers

how to use GPU in kaggle_python docker image

I install kaggle_python docker image from this tutorial: http://blog.kaggle.com/2016/02/05/how-to-get-started-with-data-science-in-containers/ this image is perfect but I don't know how to use GPU in it. anyone have any idea?
0
votes
1 answer

Error downloading YouTube-8M dataset with curl in Windows 8.1

I'm trying to download a small chunk of the YouTube-8M dataset. It is just a dataset with video features and labels and you can create your own model to classify them. The command that they claim will download the dataset is this : curl…
5Volts
  • 179
  • 3
  • 13
0
votes
0 answers

Choropleth in Plotly python for USA is Blank

import os import seaborn as sns print(os.listdir("../input")) df=pd.read_csv("../input/gun-violence-data_01-2013_03-2018.csv") //GUN violence dataset from kaggle// from plotly.offline import init_notebook_mode,…
Aravind
  • 13
  • 1
0
votes
1 answer

plt.imshow() changes output of seaborn.countplot()

I'm trying to run this kaggle kernel on my Spyder IDE. Because I'm not using the Jupyter notebook, I can't use %matplotlib inline, however, I'm quite sure it is not related to my problem... I read the data and plotted it once using seaborn, as…
CIsForCookies
  • 12,097
  • 11
  • 59
  • 124