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
0 answers

How to use the Kaggle way of displaying dataframes in Jupyter / Colaboratory

Is it possible to use the kaggle way of displaying a dataset in Jupyter / Google Colaboratory? I am looking for an interactive solution, ideally in the notebook cell. My current approach is to use df.plot(), df.head() df.tail() and seaborn to get…
Rutger Hofste
  • 4,073
  • 3
  • 33
  • 44
0
votes
1 answer

Trouble specifying column names when making dataframe from aggregate function

When I make a dataframe with: freq = pd.DataFrame(combined.groupby(['Latitude', 'Longitude','from_station_name']).agg('count')['trip_id']) It works just fine, but when I attempt: freq = pd.DataFrame(combined.groupby(['Latitude',…
Michael
  • 749
  • 1
  • 8
  • 22
0
votes
1 answer

Why is my large file when extracted is of very less size on google colab?

I am using the 'Dogs vs. Cats Redux: Kernels Edition' dataset from kaggle for a deep learning model. import os from getpass import getpass user = getpass('Kaggle Username: ') key = getpass('Kaggle API key: ') if '.kaggle' not in…
Zenquiorra
  • 140
  • 1
  • 2
  • 13
0
votes
1 answer

How can I unzip the csv files downloaded from kaggle on google colab?

I want to unzip csv files downloaded from kaggle on google colab by code below. But every time I run the command unzip, it says there is no such file or directory found, whereas colab says files have been downloaded succesfully ! !pip install…
Callmeat911 True
  • 203
  • 1
  • 2
  • 5
0
votes
1 answer

I cannot install tar.gz packages

When i was trying to install kaggle api (pip install kaggle), it showed an error message: complete output from command python setup.py egg_info: command "python setup.py egg_info" failed with error code 1 in…
Li Ai
  • 201
  • 1
  • 3
  • 10
0
votes
0 answers

Why is this image rendering wrongly for me?

I have followed the code in this notebook tutorial and I am stuck in rendering the 3d lung segmentation https://www.kaggle.com/gzuidhof/full-preprocessing-tutorial I have followed the tutorial except for the following changes: I have imported…
divinediu
  • 423
  • 1
  • 9
  • 33
0
votes
1 answer

How do I use h2o4gpu in kaggle kernel?

I'm trying to setup h2o4gpu library to be used in Kaggle competition, but I haven't found any useful resource to install/setup the environment. How do I set it up step by step? I have tried using the R package installation guide from this source :…
Ralph Deint
  • 380
  • 1
  • 4
  • 15
0
votes
1 answer

Where is the kaggle competitions submodule?

I am new to the kaggle python module and do not understand the structure. I am trying to execute the following command from a sample script here, but when I try to run the import it fails: ModuleNotFoundError: No module named…
TFdoe
  • 571
  • 5
  • 16
0
votes
1 answer

Getting nan in tensorflow

I wanted to build a simple machine learning model with tensorflow so that I could understand the process of machine learning and be able do stuff myself. The dataset that I decided to use are from…
0
votes
1 answer

Is there a way to find the Malware family from the given malware binaries?

I have a huge list of malware binaries from VirusShare website. My problem requires me to have labels of corresponding malware families to which these samples belong. Is there a way?
0
votes
1 answer

Optimize Random Forest regressor due to computational limits

Model fitting using Random Forest regressor takes up all the RAM which leads to online hosted notebook environment (Google colab or Kaggle kernel), crashing. Could you guys help me out with optimization of the model? I already tried hypertuning the…
specbug
  • 512
  • 5
  • 16
0
votes
1 answer

How can import data into kaggle kernel if the folder is zipped?

I facing problem importing data into kaggle kernel from "../input/train/filename". it's throwing an error saying directory doesn't exist. I guess this is happening because the 'train' is a zipped folder. Any solution?
0
votes
1 answer

Why would the LM Prediction function in R add a row to my output

I am trying to use the predict function in R based of a basic linear model. My test set has 1459 values, but when I use the predict function it is creating 1460. I tried removing the NAs from the test set and even tried keeping them in, but do not…
Eric
  • 103
  • 11
0
votes
1 answer

how to edit the content of dataset-metadata.jason file in google colaboratory

as it can be seen I have written the "api_token" in the Jason file by the dump. !pip install kaggle !mkdir .kaggle !touch .kaggle/kaggle.json api_token = {"username":"x","key":"bber45dmn87hg35d9kjh65f5f8fnhgtr5"} import json import zipfile import…
Maryam
  • 13
  • 3
0
votes
1 answer

Tensorflow and Keras Problem ValueError: Error when checking input: expected dense_9_input to have shape (24,) but got array with shape (0,)

Hello I was doing a competition for a kaggle but then while I was practicing with Keras, I encountered a serious problem. The error is "ValueError: Error when checking input: expected dense_9_input to have shape (24,) but got array with shape (0,)".…
심제우
  • 1
  • 1