Questions tagged [prediction]

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

In science, a prediction is a rigorous, often quantitative, statement, forecasting what will happen under specific conditions; for example, if an apple falls from a tree it will be attracted towards the center of the earth by gravity with a specified and constant acceleration. The scientific method is built on testing assertions that are logical consequences of scientific theories. This is done through repeatable experiments or observational studies.

Mathematical equations and models, and computer models (e.g., ), are frequently used to describe the past and future behaviour of a process within the boundaries of that model.

In microprocessors, permits avoidance of pipeline emptying at branch instructions. In engineering, possible failure modes are predicted and avoided by correcting the mechanism causing the failure.

2846 questions
0
votes
0 answers

Multivariate LSTM Forecasting

i'm currently trying to forecast weather using LSTM with 4 variables and i wanted to get the prediction of each variables. In my mind right now there should be 4 models which has the same architecture just having different inputs? i have 10 years…
Wonderweis
  • 75
  • 3
  • 9
0
votes
0 answers

Why the prediction' result with weka is incomplete?

I am doing a classification using RF and MLP in WEKA. I have inserted in weka a first file for prediction which contains 101 lines but the prediction result of weka gives the prediction only for the first 9 lines. I made another test with a file…
0
votes
1 answer

How to show picture from predictions? (CNN AI predictions)

I am trying to get the images from a list of predictions called 'classes' classes = model.predict(test_set) and to match the result with the picture, I am finding a little troubling to do. Below is what I have done to try and show the images with…
0
votes
0 answers

Adaboost does not stop running in R studio

I'm finding troubles to run the following code in R studio: I want to create a prediction model running the adaboost algorithm and first of all, in " model <- boosting(out ~ ., data = train, boos = TRUE, mfinal = 10)" it doesn't stop…
0
votes
2 answers

R: Problem with raster prediction from a linear model

I am using the function raster::predict to extract the prediction part of a linear model as a raster but I am getting this error: Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) : object is not a matrix In…
Nikos
  • 426
  • 2
  • 10
0
votes
0 answers

Make a prediction using Actor-Critic shared model from timeseries data using Python

I have been able to train and test a shared RL model that produces a Actor.h5 and Critic.h5 file, as well as a json containing the parameters for training. I am now at the stage where I would like to make a prediction on the next best action for the…
0
votes
1 answer

Simulate many y values from a linear model corresponding to a single x value

I have a real data set that consists of 40 observations. My fully specified model is a multiple linear regression model. Now, I am wondering how can I simulate many y values from this model corresponding to a single x value. Of course, I know how to…
Blue999
  • 23
  • 5
0
votes
0 answers

Predict the item group by given string item

I have a categorized string items list. If I pass a string item I need to predict the suitable category to add to the list. We need to have a 60% matching. Please help me to get understand what are the possible ways to achieve that. My applications…
Amila
  • 52
  • 1
  • 1
  • 10
0
votes
0 answers

splancs::inout function does not work properly, trying to make INLA prediction stack

Please see below code which is from the INLA prediction stack function. However when I run this my points are not selected from within the boundary. Nxy.scale <- 10 # about 10km resolution Boundary <- Mesh$mesh$loc[Mesh$mesh$segm$int$idx[, 2],…
0
votes
0 answers

Predicting multiple target variables

Hello please I am new to making predictions of multiple targets, but not sure how to go about it. So i have a total of 12 columns and 3 out of them are my target variables, what are the possible models for this kind of problem. I have been doing…
Savy
  • 1
0
votes
1 answer

The data contain levels not found in the data

I am using the following function but I get this error The data contain levels not found in the data . Any idea what I have to do? confusionMatrix(reference = as.factor(AAA), data = BBB, mode='everything') AAA c("A", "B", "C", "B", "B", "B", "C",…
Ester Silva
  • 670
  • 6
  • 24
0
votes
0 answers

Forecasting demand n days into the future using Conv1D as a time-series

I have created a Conv1D time series used to forecast weekly demand (my inputs are separated by 7 days). I am now trying to predict the next four weeks of demand. Below is my preprocessing function to achieve the 12 step array: def df_to_X_y(df,…
0
votes
1 answer

Survival analysis with multiple observations for each object

Unlike the XGBoost documentation my dataset contains many observations for each patient, so when a patient health changes new measurements were logged. I’m trying to get benefit from that abundance of data and I fit XGBoost model with all that. I do…
0
votes
0 answers

Calculate a prediction interval for a dataset Python

I have the following table: perc 0 59.98797 1 61.89383 2 61.08403 3 61.00661 4 62.64753 5 62.18118 6 60.74520 7 57.83964 8 62.09705 9 57.07985 10 58.62777 11 60.02589 12 58.74948 13 59.14136 14 58.37719 15 58.27401 16 …
Cole MG
  • 317
  • 2
  • 13
0
votes
0 answers

Prediction using Bidirectional LSTM

I have a table with 1799 users and 31 features which are arranged in rows and columns respectively. The last column is a 2-type condition feature that tells the model which condition the users belong to. I understood that by using LSTM I need to…
1 2 3
99
100