Questions tagged [kaggle]

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

Relating to the following Kaggle data science categories:

1115 questions
-2
votes
2 answers

Why my neural network isn`t learning and why it prediction is equal on all test dataset?

I try to train my first simple neural network. I downloaded dataset from kaggle with already written on tensorflow model. I try to repeat this model on pytorch, but my network obviously not training and prediction does not change from example to…
-2
votes
1 answer

Can Someone help in visualizing if data is normally distributed or not

I have just started to learn data science. This is the link to my first project: https://www.kaggle.com/code/madhavdass/divvy-bikes-chicago/notebook Can someone help in visualizing if : tripdata_clean$ride_duration_min and…
-2
votes
1 answer

Which year saw the highest and lowest no of countries participating in olympics?

I'm new to SQL & practicing OLYMPICS dataset on kaggle & unable to query out the result in single row. The question mark is where I am stuck select games, count(DISTINCT r.region) AS a, count(DISTINCT r.region) AS b from oly JOIN regions r ON…
AmitS
  • 1
  • 2
-2
votes
1 answer

How should I reduce the computing time in pandas on Kaggle?

I am working on 2019 Data Science Bowl.The training and testing data is taking a long time when I am using pandas to read it ,I want to reduce the time so that the machine can run the analysis efficiently. import numpy as np # linear algebra import…
-2
votes
1 answer

Sample Submission on Boston Housing Dataset

I want to enter my submission for the competition at https://www.kaggle.com/c/boston-dataset/data. But as it turns out there is sample Submission file. Now I have tried removing column names, index but keep getting different errors. Error snip Any…
Jay Nankani
  • 1
  • 1
  • 1
-2
votes
1 answer

find open source consumer dataset

A while ago somebody gave me a tip about which forum to post questions about finding open source data sources on stackexchange, but I don't remember which forum. If someone could let me know that would be great. I'm trying to find an open source…
user3476463
  • 3,967
  • 22
  • 57
  • 117
-2
votes
1 answer

How to get predictions on X_test given the DNN?

I finished building the DNN model for the Titanic Dataset. Given that, how do I make predictions on the X_test? My code can be accessed through my github: https://github.com/isaac-altair/Titanic-Dataset Thanks
-2
votes
2 answers

Why is my output dataframe shape not 1459 x 2 but 1460 x 2

Below is what i have done so far. #importing the necessary modules import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from sklearn.linear_model import LinearRegression from sklearn.linear_model import…
TINA15
  • 13
  • 1
  • 10
-2
votes
1 answer

Python 3 OS windows 10 error handling lists

I tried to test a code written in python 2 in free access here. When I run the code I encountered the following error related to list Many thanks for helps Jane (I'm a newbee in python) Traceback `(C:\Users\myusername\Anaconda3)…
-2
votes
1 answer

Showing Matplotlib Animation on Kaggle Kernel

In this Kaggle Kernel https://www.kaggle.com/asindico/new-york-taxi-exploration I can't manage to show a matplotlib animation using on Basemap and hexbin. Here is the code snippet import pandas as pd import matplotlib.pyplot as plt from…
Andrea Sindico
  • 7,358
  • 6
  • 47
  • 84
-2
votes
1 answer

Error in eval(expr, envir, enclos) : object 'PAY_0.1' not found (Boosting)

I am trying to apply a boosting model but I keep getting this error. Any help at all would be much appreciated. This is a data set from kaggle, UCI credit card data, if you are wondering. DataSplit <-…
-2
votes
1 answer

Why is this sapply not working on my data-frame? (titanic kaggle)

I have the data frame from the titanic kaggle and I try to remove the NA values from the age column. To do so, I try the following code df.train <- read.csv('data/titanic_train.csv') fixe.age <- function(passenger){ returnedage <- passenger$Age …
Krowar
  • 341
  • 2
  • 7
  • 15
-2
votes
1 answer

Change char name containing colon (":") with dplyr

I have a dataset containing Country names written like this: - en:france - en:united-kingdom - en:spain I would like to change the name into something like: - France - United_Kingdom - Spain but if I use select function with dplyr I get this…
user6385828
-2
votes
1 answer

R data.table - Set Value in new column where value in other columns = 1

You may recognise this from Kaggle. I have multiple columns called Soil_Type1 all the way to Soil_Type40. The have the value 0 if that soil type is absent or 1 if it is present. Only 1 soil type can be present per row. I want to create a new column…
Conor
  • 27
  • 1
  • 7
-3
votes
0 answers

Getting Started with Titanic

Hay, I am stuck at the Kaggle first step into ML "Getting Started with Titanic" This the link to the notebook = https://www.kaggle.com/code/jisnukalita/getting-started-with-titanic the error look something like this Error pandas I am expecting the…
1 2 3
74
75