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

Accessing a list of lists

I have data in the form of a list of lists. I wanted to do something like (data[1::100])[3], where I access the first 100 elements, and then just the third column of all those elements. In tutorials on Kaggle, I had seen things like data[1::100,3],…
user2258552
  • 824
  • 1
  • 11
  • 25
0
votes
1 answer

Read images from a csv file with Octave

I want to read the training.csv file with Octave for the Kaggle competition. The file contains 16 fields. First 15 are the coordinates of keypoints. The 16th is is the image, which is 9216 numbers (0 to 255) separated by space. Tried, but with no…
vbnk
  • 45
  • 2
  • 6
0
votes
1 answer

IndexError: too many indices on Python

Using PyDev with an eclipse environment for Python 2.7 on OSX. Trying to count the element in the array and sum up the elements in the array. Getting an error on the index. import numpy as np import os import sys csv_file_object = fileName =…
Scott Davis
  • 983
  • 6
  • 22
  • 43
0
votes
1 answer

Adding column from one data frame as last column of another data frame

I am new to R and machine learning algorithms, and trying to learn using the kaggle scikit example. I have the following two data frames: > str(d.train) 'data.frame': 1000 obs. of 40 variables: $ V1 : num 0.299 -1.174 1.192 1.573 -0.613 ... >…
Timothée HENRY
  • 14,294
  • 21
  • 96
  • 136
0
votes
1 answer

NoClassDefFoundError while executing mahout program (JAR) using maven

I was trying to implement the digit recognizer which is discussed in following blog post in detail: http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt/ I receive following error when I execute the Java…
Manoj Awasthi
  • 3,460
  • 2
  • 22
  • 26
0
votes
2 answers

Evaluation of multilabel and multiclass data labels

are there any evaluation metrics available for multiclass-multilabel classification? for example, I'm taking part in the following competition at kaggle and it requires ROC AUC as evaluation metric.: http://www.kaggle.com/c/mlsp-2013-birds Is it…
Abhishek Thakur
  • 16,337
  • 15
  • 66
  • 97
0
votes
3 answers

How to approach a machine learning programming competition

Many machine learning competitions are held in Kaggle where a training set and a set of features and a test set is given whose output label is to be decided based by utilizing a training set. It is pretty clear that here supervised learning…
Joy
  • 4,197
  • 14
  • 61
  • 131
0
votes
4 answers

Type Mismatch Error using randomForest in R

I am trying to use random forest in R for classifying some kaggle data but I keep getting the following error whenever I try to use the model which I have created. Error in predict.randomForest(fit, newdata = test, type = "class") : Type of…
cobie
  • 7,023
  • 11
  • 38
  • 60
-1
votes
1 answer

What site can I find a dataset containing parameters related to the heart condition that I could use to train a machine learning model?

I want to train a machine learning model on anomaly detection and predictive analysis but am not so sure where I could get a reliable dataset that would produce close to a perfect model. So far I have only found not so reliable datasets that cannot…
Fideo
  • 1
  • 1
-1
votes
1 answer

How to get data from the kaggle datasets site by entering the command on the Google Colab?

The question here is that we get service from the Github site by entering the quick command: git clone “URL” But What should we write to get the data set and convert it into a template from the kaggle site?? Google colab kaggle clone “URL” ??
amirhosein
  • 1
  • 1
  • 4
-1
votes
2 answers

Save Notebooks to GitHub

After clicking 'Link to GitHub' and go to save a version with copy in Github the save Botton doesn't work. Anybody can tell something about how to fix this issue. I'm trying to save a Kaggle notebooks to Github, and, I can't. Thanks
-1
votes
1 answer

how to use custom dataset from kaggle to keras vision transformer

so i was reading this example in the keras website https://keras.io/examples/vision/image_classification_with_vision_transformer/ my question is, how can i use custom dataset from kaggle for example…
-1
votes
1 answer

How can I get the requirements.txt file on Colab or Kaggle notebook?

I finished my project on Kaggle but I want to add requirements file how can I do it I want to do it directly from Kaggle or colab file
elox
  • 3
  • 1
-1
votes
1 answer

My validation accuracy is higher than my training accuracy and also there is no change both my accuracies

I am training an CNN model (AlexNet- with random weights) using dataset from kaggle. My hyperparameters are Learning Rate: 0.001,Batch Size: 64,Loss function: Cross Entropy Loss, Optimizer: Adam Optimizer. My validation accuracy is a lot higher…
-1
votes
1 answer

How do I count different values in the same column with in a specific date range?

I am trying to find how many times the primary_type of 'crime' happened each year. The Dataset is on KAGGLE. https://www.kaggle.com/datasets/currie32/crimes-in-chicago and I downloaded it and uploaded it into…