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

Python can't take input while using functions

I am working on the Housing Prices problem hosted on Kaggle. While building my model, I figured that it makes sense to reuse some of the code that I've been using for the train dataset, on the test set as well so I took the code performing mutual…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
0
votes
2 answers

Getting Substring after certain char in python

I want to cut a String such as "0011165.jpg_Fish" to get only Fish, so everything after the "_", how do i do that in python? Thank you very much!
Sven Prüß
  • 9
  • 1
  • 2
0
votes
1 answer

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 24: invalid start byte

I am trying to load the "Crimes in Boston" database on Kaggle notebook, (https://www.kaggle.com/AnalyzeBoston/crimes-in-boston) by the way, the most updated version of this data can be found…
SteveMcManaman
  • 391
  • 1
  • 17
0
votes
1 answer

Error while exporting FastAI text classifier model

I've built a text classifier using FastAi on Kaggle, while trying to export the trained model i get the following error - TypeError: unsupported operand type(s) for /: 'str' and 'str' I've tried setting the leaner model directory and path to working…
0
votes
1 answer

How to quickly get code from Kaggle notebook without requiring registration?

I can already see three ways, but none are quick (not compared to say, accessing a raw file on github) Fork/download (requires registration) Follow instructions here (i.e. download, open up in jupyter/ipython notebook) Copy the code blocks…
stevec
  • 41,291
  • 27
  • 223
  • 311
0
votes
2 answers

Dataset throwing KeyError while looping through a list of variables

I have a list of variables with values encoded in a way which throws Pandas off. For example: I have a column named "Alley" and it has a list of values, one of which is NA, which stands for "No Alley". However, Pandas interprets this as NaN. To…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
0
votes
1 answer

Bigquery maximum processing data size allowance?

My question is how much data are we allowed to process on bigquery. I am using stackoverflow's kaggle dataset to analyze the data, and the text I am analyzing is around 27gb. I just want to get the average length per entry, so I do query_length_text…
Rafay Kalim
  • 115
  • 1
  • 9
0
votes
1 answer

Why my competition results are disappearing from my profile page at Kaggle?

I've participated in 3 competitions at Kaggle (one was already ended) but only 1 of them can be seen in my profile page at Kaggle now. Recently, my Titanic competition result has disappeared. Does anybody know what's going on? Thanks.
Stanislav Jirák
  • 465
  • 3
  • 7
  • 17
0
votes
1 answer

How do I load zipfile on Kaggle?

I'm having data files inside .zip folder which I'd like to load but I can't do the most basic syntax for the command as shown on the picture below: Help would be appreciated. Thanks.
Stanislav Jirak
  • 725
  • 1
  • 7
  • 22
0
votes
1 answer

Download a Kaggle dataset using rvest

I would like to download a zipped dataset from Kaggle, using R and rvest package. I could not figure out how to login to Kaggle website and download the file linked here:…
mifek
  • 41
  • 2
0
votes
1 answer

Tensorflow doesn't train: 'DataFrame' objects are mutable, thus they cannot be hashed

I want to build and train a neural network with tensorflow (but without Keras, on Keras it I got it working) on the kaggle dataset 'House Prices'. I use Python and apart from the actual training, my code runs fine. However, when training, I either…
McCahen
  • 3
  • 3
0
votes
1 answer

Is the commit time in kaggle is the same as that of running the code?

I have built a CNN in kaggle kernel which takes 4 hrs to get trained. Will the commit process also take the same amount of time?
Atharva Joshi
  • 65
  • 1
  • 1
  • 5
0
votes
1 answer

Using LSTM for large text

I have a dataset for detecting fake news that i got from kaggle( https://www.kaggle.com/c/fake-news/data ). I want to use LSTM for the classification The mean length of words in a single article is about 750 words. I have tried to remove…
0
votes
2 answers

Installed kaggle in the wrong directory

The kaggle API documentation (https://github.com/Kaggle/kaggle-api) states that one needs python 3 installed to install kaggle. However, when installing kaggle with the command pip install --user kaggle, it downloads to the wrong folder…
Diego Domenig
  • 397
  • 1
  • 3
  • 7
0
votes
1 answer

Push and run python script on Google Cloud for ML

I recently started to learn Python and ML using old Kaggle Airbus Ship Detection competition. I have write a code, which now contains two files: Decode.py and Train.py and some external modules, which are used for training like resnet.py,…
Michal
  • 443
  • 1
  • 10
  • 25