Questions tagged [kaggle]

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

Relating to the following Kaggle data science categories:

1115 questions
-1
votes
2 answers

Applying functions on each row. is it checking the condition for every column in the row and applying on all of them

All credits to the Kaggle Course on pandas here the dataset.head() : enter image description here here the task: We'd like to host these wine reviews on our website, but a rating system ranging from 80 to 100 points is too hard to understand - we'd…
lakuzama
  • 1
  • 1
-1
votes
1 answer

Model training using kaggle kernel

I have been using Kaggle to work on GPU. I have found that whenever I train my model again my accuracy on validation data changes. I don't get a consistent result. Is it because of the GPU I am accessing?
-1
votes
1 answer

Kaggle exercise:Lists Question no. 5. Syntax error using "print"

Q. We're using lists to record people who attended our party and what order they arrived in. For example, the following list represents a party with 7 guests, in which Adela showed up first and Ford was the last to arrive: party_attendees =…
-1
votes
1 answer

Is there any dataset available for similar posts recommendation like Facebook, Instagram and Twitter?

I want to build a similar post recommendation system that a user sees after performing some activity on the news feed. For example: If he/she spends more time on sports posts, giving him/her sports recommended post so I would like to get help on…
-1
votes
1 answer

How to import zip image folder as data in a cnn model?

I am trying to run a basic cnn model on cats vs dogs images.The images exist as zip file.How can we extract the images in the zip folder to a directory using the kaggle online notebook? enter image description here
Ragu C
  • 1
  • 2
-1
votes
1 answer

Kaggle BigQuery integration

Kaggle do provide link to Big Query, is there any API doc and examples to link. Below is what I tired # Set your own project id here PROJECT_ID = 'your-google-cloud-project' from google.cloud import bigquery bigquery_client =…
user2458922
  • 1,691
  • 1
  • 17
  • 37
-1
votes
2 answers

Kernel Stuck in GeosSpatial Analysis Kaggle micro-course

While doing the Kaggle GeoSpatial analysis micro-course on kaggle, my kernel/notebook is getting stuck at two cells in the Proximity Analysis exercise notebook and taking up a lot of CPU resources. Since the problem could be my code, I ran the…
-1
votes
2 answers

ggplot2 error: missing value where TRUE/FALSE needed. I have no idea

I am taking an online R class in Udemy, here is the code for a Linear regression visualization. I got the error message from the last command. The data from the website about bikesharing: https://www.kaggle.com/c/bike-sharing-demand/data The data…
sooo
  • 21
  • 7
-1
votes
1 answer

Could not find kaggle.json in colab?

I want to use google's gpu for my model, I started using google colab. Because the kaggle API expects the username and api-key to be in a kaggle.json file located in a .kaggle directory, I first created the directory .kaggle and then the file…
-1
votes
1 answer

Colab running out RAM

I've been working on kaggle's dataset Favorita Grocery sales. I'm trying to use the function add_datepart from fast.ai but when I invoke add_datepart, Colab runs out of RAM. Is there any remedy for this? Any way around this?
Husun
  • 29
  • 1
  • 7
-1
votes
1 answer

Making a US Heat Map?

''' perstate = df[df['State'] != '']['State'].value_counts().to_dict() data = [dict( type = 'choropleth', autocolorscale = False, colorscale = 'Blues', reversescale = True, locations = list(perstate.keys()), …
Elit Dogu
  • 1
  • 1
-1
votes
1 answer

How to output the number of restaurants in each category (such as: Italian, Japanese, Chinese)

Using python and pandas, how can I output the number of restaurants in each category? I have a datset of Restaurants and column called "Categories" which contains "restaurants" such as (Italian, Chinese...). I want to count the TOP 10 number of…
Spark2.0
  • 101
  • 1
  • 1
  • 6
-1
votes
2 answers

Computer Vision Exercise

I am trying to start in computer vision. Can somebody describe study plan and how to start in this field. I am already doing fast.ai. I need systematic plan and exercise to be solved. Thanks
Neelam
  • 19
  • 2
-1
votes
1 answer

How do I install basemap on Kaggle? Can someone provide the code?

I am trying to install higher resolution Basemap (basemap-data-hires)and the pip commands I am finding don't seem to work. Thanks! OSError: Unable to open boundary dataset file. Only the 'crude' and 'low', resolution datasets are installed by…
-1
votes
1 answer

Generate a validation set from a Kaggle's training set

As Kaggle provides a training set and a test set, I would like to know a way to generate a validation set (dev set) from this training set. The goal is to have three sets : - Training set + Validation set = Kaggle's training set - Test set =…
Mistapopo
  • 433
  • 3
  • 16