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

How Do You Revise Scoring of a Risk Assessment Tool After Validating It?

I have validated a criminal justice risk assessment tool designed to predict prison misconduct in a six month follow up period post-assessment (0 = No Misconduct; 1 = Misconduct) using AUCs and predicted probabilities/ORs derived from a logistic…
0
votes
1 answer

Predict Values based on readings Best approach

I am working on a project where I am given a round 200 readings/featured columns and based on those reading there are some attributes about 60(columns) of them ranked from 0-5. now I have about 1000 rows from the featured readings and only 100 from…
Saulti23
  • 23
  • 3
0
votes
0 answers

dataset related to ndvi values and yield prediction?

Hi can anyone know any site or availability of dataset which includes ndvi values , areas,production of yield..I am doing yield prediction on the basis of ndvi values.If anyone have data or resources kindly share with me.I am facing deficulty in…
0
votes
0 answers

Is there a way in SAS to evaluate model accuracy using a test set?

I built a regression model using proc reg on a training set (70%) and I would like to evaluate the model accuracy (MAPE, R2, adjusted R2, RMSE, etc) using the test set (remaining 30%). Is there a way to do so in SAS?
0
votes
1 answer

deequ - How one can "train" deequ for a number trend?

let's say we have a column with a number that increases a bit on a daily basis, but cannot predict the increase with good precision. For example (the value on day_x is): day_1 = 10, day_2 = 20, day_3 = 35, day_4 = 22, (a sudden decrease here)…
0
votes
0 answers

ValueError: Graph disconnected: cannot obtain value for tensor KerasTensor(type_spec=TensorSpec(shape=(None, 224, 224, 3)

I trained a pretrained model with vgg19 on 9 classes. I saved the model and load it to predict on images into a folder. When I try to predict, I have this error: ValueError: Graph disconnected: cannot obtain value for tensor…
0
votes
0 answers

non-broadcastable output operand with shape (67,1) doesn't match the broadcast shape (67,2)

I am trying to predict Y with a exogenous variable with a LSTM test_set = df_test[['q_sales','holiday']] inputs = np.reshape(test_set, (len(test_set), 2)) inputs = min_max_scaler.transform(inputs) inputs = np.reshape(inputs, (len(inputs),1,2)) Y =…
0
votes
0 answers

Internal validation with small sample in R

I am doing a prediction task with a small sample size (300 points with 18 predictors) using R. Following Frank Harrel's suggestion, I would like to go with bootstrapping. Below is my understanding of the procedure. It uses bootstrap only once to…
R and C.F
  • 49
  • 4
0
votes
1 answer

Why to invert predictions on LSTM-RNN?

Here: https://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/ under the paragraph: LSTM Network for Regression this guy inverts predictions inside the LSTM-RNN code. If I remove those lines of code, the…
just_learning
  • 413
  • 2
  • 11
  • 24
0
votes
0 answers

how to combine/concatenate two resnet50 (one pre-trained and one untrained) in parallel manner to predict image memorability?

I have two models: resnet50 (trained) and resnet50 (untrained). I need to combine these two models to predict image memorability. Can anyone tell me how to achieve this using python? model image: please click here
0
votes
1 answer

Data type already in int but receiving error: cannot convert float infinity to integer

I have a column: "Rented Bike Count" in my data frame, which is the dependent variable of my linear regression project. I found that its distribution is highly skewed, so I wanted to transform it into a more normal distribution as a data preparation…
0
votes
0 answers

fb prophet regressor underestimated

I am working on monthly sales data. especially in the month of June, the sales are almost 3*X. how do I add a regressor? I tried to create a binary regressor but the value is still underestimated. how can I increase the impact of the regressor? def…
sdave
  • 531
  • 4
  • 18
0
votes
2 answers

Predicting when an output might happen in time in R

I have a dataset of peoples blood results in R: ID Result date A1 80 01/01/2006 A1 70 01/01/2009 A1 61 01/01/2010 A1 30 01/01/2018 A1 28 01/01/2022 B2 40 01/01/2006 …
tacrolimus
  • 500
  • 2
  • 12
0
votes
1 answer

Using Jaccard Coefficient to predict possible links in a network

I am using the Jaccard Coefficient to predict links in a newtork and then get the AUC score of my prediction. My code works, but each time it gives me a different score because each time it randomly chooses different nodes as the training set. Let's…
0
votes
0 answers

¿What does lightgbm classifier prediction generates in python?

i have a question. When i use lightGBMclassifiers i've realized that the events rate doesnt have a linear relationship with my predictions. So my question is, what kind of predictions generates python using the function predict_proba and whats the…
Juan David
  • 361
  • 1
  • 4
  • 15
1 2 3
99
100