We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [prediction]

The tag has no usage guidance.

102 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Derive main prediction for zero-one loss function

Intuitively I can see why mode of predictions is the main prediction of a zero-one loss function, but mathematically I am not sure how it is derived? Main prediction $= argmin_{y'}E_D[L(\widehat y, y'...
0
votes
0answers
8 views

pattern recognition tool

From what i've seen while searching google and the site this is most likely way simpler than what normally get's asked but i've not been able to find anything that could help me with it. What i'm ...
0
votes
0answers
6 views

SRGAN: How to adapt the model to the input image?

I wrote and trained my own SRGAN: so I obtained a generator’s model that takes 32x32 images as input and gives their improved 128x128 version as output… However, the end users of my Android app will ...
0
votes
1answer
15 views

How to measure/rate the effect of a exogenous covariate in a ARIMAX Model?

I have an ARIMA model, I'm trying to figure out how much an external variable (exogenous covariate) could improve the forecast, so I need to "synthesize" a rate that tell me the usefulness (or impact) ...
0
votes
0answers
12 views

Use sequential pattern mining rules to predict next window of a dataset

Suppose that I am performing Sequential Pattern Mining (maxgap = 1, i.e. rules for consecutive windows) and I ran the following code from arulesSequences in R Studio to determine significant rules ...
0
votes
1answer
17 views

Predicting complete time series for given parameter sets

Im searching for an approach that is able to predict a complete time series for a given parameter set. Imagine a robotic arm which has a starting position and a target position. There is a sensor ...
0
votes
1answer
13 views

nltk measure the accuracy of the new features

Have been playing around the NLTK algorithm for some data prediction. Starting form this gib, I started my understanding process. However, there are some bits that don't make sense. If I have a set ...
0
votes
0answers
12 views

what are possible error analysis approach in tabular data?

I am working on binary classification on tabular data. The dataset is mostly made of categorical data and after fitting the data to a model I found test accuracy to be low. I want to do error analysis ...
0
votes
0answers
8 views

prediction with un-obligatory features

I am pre-processing a real-world dataset with some features with missing values. these features are not mandatory - the user doesn't have to provide them. This means the values are not missing at ...
0
votes
0answers
23 views

Predicting house pricing given a dataset consisting of [ location: date of transaction: price ]

What would be the right way to tackle the problem of predicting median house pricing, given that the data I have for training consists in a big list of entries that have the following values: ...
0
votes
0answers
15 views

Modify image with machine learning

Here's my problem: I already have a little neural network that generate images using DCGAN, that was very entertaining to do but now I'd like to modify images using ML methods. Let me explain myself: ...
0
votes
1answer
65 views

Machine Learning based Multivariate Time Series Prediction - How to create supervised data format

Q1: I have a multivariate time series dataset. For each timestep, there are 11 features and 1 output. I am going to use supervised ML to predect the output. I understand that in univariate cases, if ...
0
votes
0answers
9 views

What's the meaning of Err in Online Time Series Predicion with Missing Values

I'm reading THIS paper about online predictions on time series with missing values. And trying to code the third algorithm in C++. The thing is that I don’t understand what they mean by $Err_{\tau}...
0
votes
0answers
37 views

Given $x_1,…,x_n$, predict $y$ without being able to train on $y$

Say we have some large training data (a time series) of a few thousand rows, i.e. $$X_1=\{x_{1,1},\ldots,x_{1,n}\} \in\mathbb{R}^n, \quad y_1\in\mathbb{R}$$ $$\quad\quad \vdots$$ $$X_m=\{x_{m,1},\...
0
votes
0answers
14 views

Find possible fearure values to predict a certain outcome

I have a dataset about patients waiting times in a health district. The data is aggregated by health provider, type of medical procedure, urgency of the procedure (3 classes) and reports the n. of ...
0
votes
1answer
48 views

Include time as a variable in regression model

I am currently working on a regression problem which requires me to predict the costs of a fixed asset. I have used several variables to do so and derived a predicted cost. However, my superior has ...
0
votes
0answers
455 views

How to fix “'The `start` argument could not be matched to a location related to the index of the data.” Error?

When I try to predict the results using ARIMA for a specific train/test split, its throwing an error like this: "'The start argument could not be matched to a ...
0
votes
0answers
8 views

Get sequential model to output probabilities with pystruct

I have implemented a sequential model using Pystruct. The model I use is BinaryCLF and as a learner the StructuredPerceptron. So far, when I test the prediction of my model, I give as an input the ...
0
votes
0answers
11 views

Compare large prediction with observed values

I have test scores for a lot of schools and I created a performance index calculated using the last score of a state test. This index is supossed to predict the performance of the school in the next ...
0
votes
1answer
31 views

Predicting when component will fail having its parameters data

I have a component and I need to predict when it will wear out and will need replacement. I monitor, let's say 5 parameters of this component, each one is monitored for every run cycle. So, the ...
0
votes
0answers
52 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
1answer
35 views

Why am a getting wrong prediction when combining two list of samples, which individually gives correct prediction?

So I am coding in Python. I have to set of samples. Set1 contains samples of class A and the other set, Set2 contains samples of class B. These samples taken are a part of the training dataset. When I ...
0
votes
0answers
10 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
42 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
1answer
39 views

What could make a set of the train data more predictive than the whole train data

I took a sample of my training data and balanced it and then trained my model. The results obtained are more accurate than using the whole set of train data (balanced or imbalanced). My question is: ...
0
votes
0answers
92 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
28 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
8 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
1answer
32 views

Searching prediction from 4 datasets

The fourth dataset contains (train_data, test_data, previous_data, and information_history_data). The goal is to search for a user's rating on the loan to the bank. ...
0
votes
0answers
10 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
10 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
27 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
53 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
9 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
1answer
27 views

Comparing different classification results with different trainig and test data

I have different samples with different sizes. The instances of each sample have different features in comparison to the instances from the other samples. For each sample i train my model and tested ...
0
votes
0answers
15 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
1answer
55 views

Can I test my already trained model using the data it was trained on?

I have a model that predicts multiple choice answers to questions. I used an 80/20 train test split of my questions and tuned it. The questions actually form part of a game aka 10 questions in a game....
0
votes
0answers
13 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
1answer
48 views

Very low probability in naive Bayes classifier 1

I have some training data (TRAIN) and some test data (TEST). Each row of each table contains an observed class (X) and some columns of binary (Y). I'm using a Python script that is intended to predict ...
0
votes
1answer
33 views

Find suitable locations using Machine Learning

Just for fun, I am currently trying to find suitable locations to deploy new stores. So what I did so far is to take the actual sites of current stores and to assign surrounding variables to it. These ...
0
votes
1answer
48 views

Is “adding the predictions to the real data for new training and prediction” a good idea for LSTM?

Considering we have trained our model with a lot of data for "many-to-one" prediction. Then we like to forecast the future data of next 10 days. So we use last 60 of existent data and predict the ...
0
votes
0answers
32 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
1answer
109 views

what is the best approach to my prediction problem

I'm trying to predict occupancy for every floor in a building (with the primary focus on only one "proof of concept" floor for now). I have a lot of time-series data, that tracks user's logons and ...
0
votes
1answer
669 views

Predictions with arbitrairy sequence length for stateful RNN (LSTM/GRU) in Keras

I have time series data of the following properties: input shape: (num_timesteps, num_features) output shape: (num_timesteps, num_outputs) I reshape it to batch ...
0
votes
1answer
770 views

How to Predict/Forecast street's Traffic based on previous values?

I have a dataset which has the following 5 columns: date, hour, day_of_week, street_id, counts My dataset has information about the number of cars that each ...
0
votes
0answers
394 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 ...
0
votes
2answers
38 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 ...
-1
votes
2answers
9k views

Determine accuracy of model on train data with Pandas DataFrame

I am trying to compare the accuracy of my XGBoost model output to that of a test set (data encoded in binary). My data is stored in a Pandas DataFrame. I am doing this with SKLearn by: ...
-1
votes
1answer
455 views

Q: xgboost regressor training on a large number of indicator variables results in same prediction for all rows in test

I'm training a XGBoost regressor in Python on a data set with a large number of indicator variables (one-hot-encoded from categorical variables) and a few numerical variables.The dataset size is over ...
-1
votes
1answer
122 views

Considering outliers in demand predictions

I have times series data with demand observations during months. I was wondering if, when computing demand predictions, I need to consider the outliers of the observations or not. What is your opinion ...