Top "Prediction" questions

For questions related to statistical prediction, especially for programming tasks.

AttributeError: 'Model' object has no attribute 'predict_classes'

I'm trying to predict on the validation data with pre-trained and fine-tuned DL models. The code follows the example available …

compiler-errors keras prediction
How to get a classifier's confidence score for a prediction in sklearn?

I would like to get a confidence score of each of the predictions that it makes, showing on how sure …

python machine-learning scikit-learn probability prediction
What is the difference between classification and prediction?

What is the difference between classification and prediction in machine learning?

machine-learning classification prediction definition
xgboost in R: how does xgb.cv pass the optimal parameters into xgb.train

I've been exploring the xgboost package in R and went through several demos as well as tutorials but this still …

r machine-learning prediction xgboost
How to use weka for predict results

Im new to weka and I'm confused with the tool. What I needed to do is im having a data …

dataset data-mining classification weka prediction
Cross validation for glm() models

I'm trying to do a 10-fold cross validation for some glm models that I have built earlier in R. I'm …

r partitioning prediction glm cross-validation
Keep same dummy variable in training and testing data

I am building a prediction model in python with two separate training and testing sets. The training data contains numerical …

python dataframe scikit-learn prediction dummy-variable
Extract prediction band from lme fit

I have following model x <- rep(seq(0, 100, by=1), 10) y <- 15 + 2*rnorm(1010, 10, 4)*x + rnorm(1010, 20, 100) id <- NULL …

r prediction confidence-interval mixed-models
How to train the network only on one output when there are multiple outputs?

I am using a multiple output model in Keras model1 = Model(input=x, output=[y2, y3]) model1.compile((optimizer='sgd', …

model keras prediction loss multipleoutputs
Predict function error for probabilities in glmnet?

I am trying to predict probabilities in a dataset using glmnet. My code reads: bank <- read.table("http://…

r probability prediction glmnet