Questions tagged [error-handling]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
1k views

XgBoost error: contrasts can be applied only to factors with 2 or more levels

...
2
votes
0answers
68 views

Errorbars on a weighted average (of a non gaussian distribution)

I have some datapoints $x_i$ and errors $\sigma_i$ which are the absolute value of some datapoints $w_i$ with (supposed) gaussian errorbars (the $\sigma_i$). The $x_i$ are amplitudes so we did not ...
2
votes
0answers
50 views

Modified Voting Algorithm to find the best recommendation

I have to find the best 10 items from the set of items for x number of given features. I don't know what the best recommendation will be. User data is not available to validate it. After reading a ...
1
vote
1answer
14 views

Reason of use of Product rule of Probability in Predicting Error

P(x,y) = P(y|x)P(x) Why do we use this in estimating expected prediction error? i.e. E{(y - f(x))^2} I researched and I came to know that it helps in figuring out noise but How?
1
vote
1answer
62 views

Making Sense of this Error Message

I am using a book and a video to learn how to use KNN method to classify movies according to their genres.This is my code: ...
1
vote
1answer
91 views

How to create a system to detect text structure of a file?

Let's say I want to create a Machine Learning system that has a lot of log files of some few types (F1, F2,.. Fn) and I get a new Log file with maybe some errors or ...
1
vote
1answer
223 views

Importing Excel format data into R/R Studio and using glmnet package?

I have no problem importing Excel formatted data into R/R Studio and use all other R packages that I use. But, when I want to use the glmnet package to develop a regularization model, I invariably ...
1
vote
0answers
35 views

binary classification for counting - estimating the error on counts due to error on prediction score

Ok, so I have the following set up: I have a binary classification problem and I am classifying events into signal and background. Ultimately, I want to count how many background events and how many ...
1
vote
0answers
37 views

k nearest neighbors method, temporal trend in error

I have this set of data that looks like this I was asked o build a $k$-nearest neighbors algorithm for it which I just finished building. I have this question in regards to the data that I do not ...
1
vote
1answer
34 views

Can an R^2, or coefficient of determination be used on non-linear data?

I have used the $R^2$ metric to determine how well my neural network performs a non-linear regression. And it seems to work. The plots look almost identical, and I get an $R^2$ value of 0.93... it ...
0
votes
0answers
20 views

sklearn FutureWarning message when running a CNN model

When I run my model, I am receiving the following error message: ...
0
votes
0answers
17 views

Why Spyder Python throwing error in I/O operation despite it?

Why Spyder Python stated that my code has error valued I/O operation & [SpyderKernelApp] ERROR | Error in message handler while when I run in PyCharm or copy it in Jupyter the code seems fine? ...
0
votes
0answers
23 views

squared error vs absolute error in boosting trees for regression

From the Element of Statistical Machine learning book, it says: Using loss criteria such as the absolute error or the Huber loss (10.23) in place of squared-error loss for regression, and the ...
0
votes
0answers
33 views

Tensorflow V1, tf.global_variables_initializer() got error: InvalidArgumentError: feed a value for placeholder tensor 'X'

I have started learning Tensorflow V1, and try to implement a 4-layer MLP model with Batch Normalization. But once I invoke the BN() function into the model, it will report ...
0
votes
0answers
1k views

Operands Could not be Broadcast with Shapes (19,)(0,)

I have googled and read something similar to the problem I have but I do not seem to know how to fix the error I got from this particular code: ...
0
votes
0answers
29 views

CNN models comparison

I coded a 38 layer CNN and 8 layer CNN but there's something wrong in my 38 layer CNN, which doesn't learn anything. Not able to fugure out what's wrong. They were trained on CIFAR.
0
votes
0answers
20 views

Error using imread function in matlab code

I was doing some sort of speech recognition pattern for recognition of sound but I stuck at imread error in matlab, any advice what to change in picture below you can find code and error. Code Error ...