Questions tagged [prediction]

The tag has no usage guidance.

2
votes
1answer
194 views

How to extract the sample split (values) of decision tree leaves ( terminal nodes) applying h2o library

Sorry for a long story, but it is a long story. :) I am using h2o library for python to build a decision tree and to extract a decision rules out of it. I use some data for training where labels get ...
2
votes
1answer
19 views

what is the interest of TimeDistributed after an LSTM layer?

I've already seen several similair questions but I did not understand anything, what is the interest of TimeDistributed? why we need to insert a TimeDistributed layer after LSTM to establish the time ...
2
votes
1answer
75 views

How do I use rnn to forecast to n periods with limited data?

So this is my 1st time trying to run a small time-series dataset through an RNN, but after a lot of searching, I haven't been able to find, 1. How I can use this to forecast to n periods ? (like in ...
1
vote
1answer
26 views

Explanation of MAPE formula

I have a regression problem with 150 independent variables and three response variables. To report the performance, I calculated the Mean Absolute Percentage Error using the unseen test dataset which ...
1
vote
1answer
27 views

Combining scaling, dimensionality reduction, prediction using sklearn pipeline

I would like to use a sklearn pipeline doing this : ( - ) scale the data ( StandardScaler ) ( - ) reduce dimensionality ( PCA ) ( - ) make a prediction with GradientBoostingRegressor() and ...
1
vote
1answer
30 views

How to construct confidence bound for Time Series Prediction?

I have some time series data and am using some Deep Learning techniques to get its prediction. Now, I would like to construct confidence bounds for it. I calculated the residuals, their mean and ...
1
vote
1answer
15 views

Service Request classification, questionnaire filling and call logging

I am very new to machine learning. I just went through some of the tutorials in Azure and completed one practice workflow(car price prediction). I hope I can ask basic questions here. Scenario : We ...
1
vote
1answer
52 views

How to add previous predictions for new predictions in LSTM?

I am trying to train a model on a big data sequence like this [0.2 0.1 0.1 ..... 0.4 0.8] . I create X vectors with length 60 for inputs and Y scaler numbers as ...
3
votes
0answers
37 views

Timeseries prediction error measurement. How to deal with diffrent time scales?

I have some time series and a prediction model. Now I would like to measure how good/bad the prediction is for different products. The problem is that for each product the time points (frequency of ...
3
votes
0answers
104 views

Why does CV yield lower score?

My training accuracy was better than my test accuracy, hence I thought my model was over-fitted and tried Cross-validation. The model further degraded. Is that my input data need to be sanitised ...
2
votes
0answers
44 views

Prediction questions related to the dataset

I have been self-learning data science from different sources. I have a dataset which was sent to me by my friend from one of her college courses. The work is to be done in R preferably. Description: ...
2
votes
0answers
100 views

Next events prediction based on previous events

I have data set of sequences of user executed commands sorted in the order of its occurrence. The data looks like this. ...
2
votes
0answers
2k views

Kalman filter for time series prediction

I have the information about the behaviour of 400 users across period of 1 months (30 days). Across those 30 days I measure 4 different information (let's call it A,B,C and D), hence I have a total of ...
2
votes
0answers
462 views

NARX Network Multi-Step Forecasting Question

I've been attempting to do multi-step ahead prediction with the NARX (Non-Linear with Exogenous Inputs) Neural Network. As I understand it, this network can be defined mathematically as follow: $y(t+...
1
vote
0answers
18 views

Multi-label learning, how to interpret the scores of instances

I am working on a multi-label learning classification problem. When I tune the hyperparameters of the model, the sign of each label (each line on the MLL) remains the same while the scores change. ...
1
vote
0answers
26 views

Unable to Print or Save Predicted Results in Orange?

I have applied some models (Logistic, Tree, SVM, Neural Network, etc) in order to predict my results. However, when I printed or saved my predicted results, I was unable to print the Complete ...
1
vote
0answers
15 views

Keras prediction

I have been editing this stock price prediction program. I am new to python programming. I am trying to print the predicted values for the next 10 days. however it is printing the prediction for the ...
1
vote
0answers
41 views

How to create a timeline graph ( Date / time series) in MATLAB?

The data file is attached https://ufile.io/ttwi8.How may I create a timeline graph where my y-axis is the number of cases(Demand and prediction as sjown in attached graph) and my x axis is increasing ...
1
vote
0answers
12 views

Structures for incorporating linear functions into a nonlinear optimization problem

I'm working on a problem which naturally involves both linear and nonlinear operations, and I'd like some help understanding the best way to combine these into a neural network framework. To be more ...
1
vote
0answers
49 views

Make image label prediction from Chainer CNN model

I have train dataset of 8000 images and labels. Validation set consists of 1957 images and labels. The test set contains 2487 images. Each image contains White Blood Cell images. WBC is divided innto ...
1
vote
0answers
14 views

Import the same interval of previous week into the deep model

In a dataset, the data are the average of vehicles speed in the points (cells) of a map. I am trying to build a prediction model. While the inputs are the average of vehicles speed of all points in ...
1
vote
0answers
42 views

LSTM data scaling formula based on range

I am planning to run LSTM for a prediction project which has the following input ...
1
vote
0answers
70 views

Improving population weighting

Bit of a noob in this stats world, so apologies in advance for any naiveté. I did a fair bit of stats long ago in college but it's a distant memory, so please assume little knowledge! The dataset I'...
1
vote
0answers
17 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
80 views

How to calculate and print unseen time series values for LSTM after train, valid and test data

My dataset is time series data. It contains data of 10 packages. trainX = (1410,3,15), trainY= (1410,1), testX=(110,3,15), testY=(110,1). Input is three feature vectors of last three months and i am ...
1
vote
0answers
27 views

one predictive methods

Is there any algorithm/method/system/application that combine all predictive methods into one? so for users instead of deciding which method they should use, is there any platform that you just feed ...
1
vote
0answers
107 views

Dataset containing spatial and temporal features (built on a CNN model)

A dataset contains spatial and temporal features. It contains the time series data (2 min intervals) of the sections of a map. It is 320*480 (320 map sections and 480-time intervals). Each row ...
1
vote
0answers
50 views

Naive/ Persistent Models & 7 Day Forecasts

When determining the baseline performance using a persistent or naive model I understand it to be using the value of the previous time step as the prediction for the next time step and then ...
1
vote
0answers
63 views

Orange: Predictions widget on same data gives different results

I have built a simple tree predictor and then applied this to a new set of data. This was giving a very different probability distribution so I tested connecting the same training data and comparing ...
1
vote
0answers
612 views

Test data predictions yield random results when making predictions from a saved model

I am classifying aerial imagery that is tiled into 256x256 tiles using Keras and TensorFlow. The model splits the training data (i.e. the 256x256 image tiles making up the study area) into 70% ...
1
vote
0answers
23 views

Choosing the right prediction method

i have a data set with personal properties (age, education etc.), and each entry in the dataset is associated with a list of websites and daily visit. my goal is to predict for a given person the ...
1
vote
0answers
49 views

spatiotemporal prediction using support vector regression

i am using a geographic dataset and i intend to use SVR as machine learning method for predicting spatiotemporal patterns from this dataset. My question is does SVR canensure spatiotemporal ...
1
vote
0answers
243 views

Is there a way to find the weights of every feature in spark ml model?

I am using spark ml classifier to create a model to predict whether a user will buy a product or not and I am using features both continuous and categorical. The model is predicting the outcome with ...
1
vote
0answers
39 views

Joint distribution of density forecasts

I have a panel data set and I have created a model and finally I have obtained some density forecasts. That is, I run my model for the $y_{it}$ and i obtain predictions for $\hat{y_{i,t+1}}$ , $\hat{...
0
votes
0answers
11 views

Can anyone please guide me how to find the accuracy, presion and recall of a tensorflow objectdetection api trained model

I have trained a tensorflow object detection api model named faster-RCNN, but I am not able to find its accuracy, precision and recall on test dataset. Kindly guide me on how to find them. I have ...
0
votes
0answers
9 views

Scores of the objective function are very close to zero

For my model, I am using a square loss for the objective function. When I get the result of the prediction, the score given for each instance is very close to zero ($1*e^{-10}$). Does this mean that ...
0
votes
0answers
15 views

Best service to host fine-tuned bert model?

I want to offer my fine-tuned bert model over the cloud. Are there any easy services to do this while only paying for usage (instead of an entire server)?
0
votes
0answers
13 views

How to find prediction probability in given CNN in tensor flow?

I am very new in tenser flow. Lets assume I already have a trained convolution neutral network, now I give one new data to this CNN, and I want to see whats the prediction probability in each class. (...
0
votes
0answers
20 views

Choosing loss function in Keras for prediction binary_crossentropy or categorical_crossentropy

What loss function in keras should I chose for binary_crossentropy or categorical_crossentropy? I have data like : $w1,w2,w3,w2,w2,w1,w3,w5,w9,w5,w4...$ I want to predict sequence: input: $w1,w2,w3$...
0
votes
0answers
7 views

How to reduce complexity of inference stage in recommender systems?

Given a large set of customers and a large set of items, how to make predictions given a model like this one: https://arxiv.org/pdf/1606.07792.pdf As stated in the article: "Since there are over a ...
0
votes
0answers
5 views

What is the difference between BAIR action free and action conditioned dataset?

The papers SV2P and SVAP talk about BAIR robot pushing dataset in 2 settings: action-free and action-conditioned. From the papers, I only understood that in action-conditioned setting, another action ...
0
votes
0answers
8 views

Logistic Regression Perfect segregation issue

Is it possible that a combination of independent variables are showing a perfect segregation in a binary logistic regression. As I am getting the warning: glm.fit: fitted probabilities numerically 0 ...
0
votes
0answers
15 views

Caffe CNN prediction gives poor accuracy on validation set despite success during training

I am new to Machine Learning, CNN and Caffe and I have an issue I would be very happy to solve. As part of a University project I must use a Machine Learning method to classify images into 3 classes. ...
0
votes
0answers
16 views

How can I evaluate my sequence prediction model?

I want to evaluate the performance of my prediction model , which is an VED (Variational Encoder Decoder) used for sequences prediction (it predicts the next sequence knowing the actual) I want to ...
0
votes
0answers
7 views

How to weight models for ensemble learning where models dont always have an output?

I have a problem, where I need to weight models for ensemble learning, however, some models aren't always able to give a prediction. The problem to classify 1 unit to win out of several ( 5 - 10 other ...
0
votes
0answers
14 views

Drawing Trees, finding Probabilities and Predicting

My first post here :) I have some transition states. Like below, where each row reflect to a specific process: ...
0
votes
0answers
11 views

Convert binary outcome to multiple categorical outcome

I have a dataset containing binary labels Y with values "correct" or "wrong". I want to study the reason of wrong state, based on several conditions made from multiple features. For example I want ...
0
votes
0answers
25 views

Can Amazon Comprehend (Medical) be used for autocompletion of words or phrases?

"Amazon Comprehend Medical can accurately identify abbreviations, misspellings, and typos in medical text" source here. As such I believe one could use it to develop an autocorrect service, that ...
0
votes
0answers
26 views

How to measure accuracy of a route prediction

I developed a new route prediction algorithm and I am trying to find a metric that informs on how well a prediction was. This metric is meant to be used offline, meaning that the goal is not to ...
0
votes
0answers
359 views

How can I use machine learning methods on modelling time series data?

I face a data which records the default rate of loans by cohort.e.g. My company currently hold a portfolio comprising personal loans whose starting date was in a range from 2014 Jul till now. The ...