New answers tagged

2 votes

Why we do random sampling when we select the training set?

Then if we random sample 80 data points to generate our training how do we know that we won't pick the 80 samples from the first interval? Because this is extremely unlikely: one can calculate the ...
user avatar
  • 21.8k
2 votes

Scalar predictor - is it better to have a lot of training data that is less precise? Or fewer training data that is more precise?

super-interesting question! My approach to the problem would be not to do any preprocessing on the data. This is, feed all the experiments to the network with the target being the 0/1 variable ...
user avatar
  • 489
1 vote

Scalar predictor - is it better to have a lot of training data that is less precise? Or fewer training data that is more precise?

I would say that it's better to have more data, since noise in the data is reduced by the optimization algorithm when optimizing (and therefore cause no problem in the optimization phase), and you can ...
user avatar
0 votes

Can anyone explain why there is an error?

You are manually implementing train/test split. It is better to use scikit-learn's train test split function. ...
user avatar
0 votes

ValueError: Layer model expects 2 input(s), but it received 3 input tensors using generator

The problem is in the data_generator function. Do this: ...
user avatar

Top 50 recent answers are included