Questions tagged [prediction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
268 views

Decision tree classifier prediction changes from one run of the model to the next

I'm running a very basic gender ['male', 'female'] classifier using the sklearn DecisionTreeClassifier based on ...
1
vote
2answers
456 views

Splitting training and test set with financial data

I am using trees algorithms (decision tree, random forest and XGBoost) to forecast the sign of the returns in the stock market (classification). I am using this article as a reference: http://...
1
vote
1answer
309 views

Multivariate time series prediction with binary target

I have an electronic component whose sensors record temperature, current and voltage values of various sub-elements. These readings are taken at regular intervals of time and I organized them as ...
1
vote
1answer
120 views

How to predict whether the client will renew the subscription or not based on given data structure

I have a requirement where I want to predict whether the client will renew the subscription or not. And the data is something like below. Basically client's subscription end date can be anything. And ...
1
vote
1answer
6k views

XGBOOST : model.predict_proba() and model.predict() conflicting behaviour

I have two classes : 1 and 2 The output of model.predict_proba() -> [0.333,0.6667] The output of model.predict() -> 1 This is happening for around 200 test values out of the test data of 10 lac. ...
2
votes
2answers
3k views

Prediction after one hot encoding

I have a regression model that I want to make prediction based on values that I will get from an end user. In my dataset, I have one categorical variable region ...
2
votes
1answer
223 views

How to deploy ML models in production?

Have been learning Machine Learning concepts and doing hands-on past few months. Now got a bit different doubt than implementation of code. This is regarding measures to be considered while ...
0
votes
1answer
26 views

Identifying importance of each feature in deep model

I have a deep model and I want to figure out which feature has the maximum influence on predicted result. For this I train the model with all the features I think are important, during prediction I ...
0
votes
1answer
224 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
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
254 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 ...
2
votes
1answer
28 views

How can I get an algorithm to have an evalutation metric based on aggregate predictions?

Let's say I have a model that makes a prediction per individual. An example data set is below. Normally, evaluation metrics (for example within the XGBoost algorthim), are used at the individual ...
0
votes
1answer
45 views

LSTM get next output with Keras

So I'm learning RNN, and tried to do a prediction LSTM, but I do not understand how the output works. I have this LSTM RNN: ...
0
votes
0answers
2k 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 ...
2
votes
1answer
790 views

Xgboost multiple class predictive performance beats one versus rest

I have an NLP task I'm tackling with xgboost (R implementation). Before describing my doubt I'll give you some background: I have a corpus of documents for which I did topic discovery, using a term ...
1
vote
1answer
51 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 ...
2
votes
2answers
71 views

Sequence prediction with unlimited predictions

I have a special kind of prediction problem. I have observed $M$ sequences $X_m = [x_1, x_2, ..., x_N]$ where the distance $d$ between $x_n$ and $x_{n+1}$ is drawn from the same normal distribution, ...
0
votes
1answer
49 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 ...
3
votes
0answers
47 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 ...
0
votes
2answers
117 views

How can i test the performance of a model when the test data contains seen and unseen data

To test the performance of my model based on some selected features, i try to use unseen and seen data. However, when choosing the accuracy based on all data, the model is almost overfitting since ...
3
votes
3answers
583 views

When is it convenient dropping duplicates when performing Time Series Prediction?

I have this Dataset. ...
1
vote
1answer
45 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: ...
1
vote
0answers
22 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
2answers
5k views

ValueError: Expected 2D array, got scalar array instead using predict method

I am trying to get a predicted value instead of whole features for a particular level using predict method. ...
0
votes
0answers
46 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
1answer
44 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
1answer
331 views

Best metric in imbalanced classification for multi-label classification

My test data are imbalanced, i tried to use the precision or the gmean as metrics for a multi-label learning model, but both metrics are not very informative. Is there any way to use for example the ...
0
votes
0answers
110 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
1answer
112 views

Adding hour data to Date feature in time series prediction

I'm a noobie with regards to working with time series data. I have a time series data which has date column in YYYY-MM-DD and a hour column containing 0 to 23 representing hour of the day and the ...
1
vote
2answers
2k views

difference betwen predicting seen and unseen data

I tried to test my model with seen and unseen data (seen data are data that i used to learn the model). I figure out that as much as i increase the number of features seen data can be properly ...
0
votes
2answers
46 views

Statistical methods for Sequence learning

I am bit more traditional and I am looking for a statistical method that can help me also do inference or predictions. I have some table that contains some transitions, where each row of the table ...
0
votes
1answer
38 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
1answer
40 views

Experiment click to lead prediction with Azure ML

I am experimenting now with the Azure ML Studio and I am trying to predict leads based on the clicks I have. I am exporting a data set of 60.000 Clicks and 8.000 Leads from these clicks. My data ...
5
votes
3answers
989 views

Why can't my neural network learn how to predict the squares of natural numbers?

I want my neural network to learn to predict the square $n+1$ number having $n$ number. I am considering a regression problem. That's what I'm doing: ...
0
votes
1answer
72 views

Using a feature in prediction even if it gets zero as p-value?

I created two binary classification based logistic regression models and I got these results: Model 1: Accuracy: 67.51% AUC: 65.21% Model 2: Accuracy: 67,99% AUC: 65,70% The second ...
1
vote
0answers
54 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 ...
4
votes
2answers
220 views

Scikit-learn pipeline with scaling, dimensionality reduction, average prediction of multiple regression models, and grid search cross validation

I would like to use a sklearn pipeline doing this : ( - ) scale the data ( StandardScaler ) ( - ) reduce dimensionality ( PCA ) ( - ) make a prediction with GradientBoostingRegressor() and ...
4
votes
1answer
59 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 ...
3
votes
1answer
705 views

Use Machine Learning/Artificial Intelligence to predict next number (n+1) in a given sequence of random increasing integers

The AI must predict the next number in a given sequence of incremental integers (with no obvious pattern) using Python but so far I don't get the intended result! I tried changing the learning rate ...
0
votes
1answer
291 views

Time Series - Values recorded every 10 minutes - Fill missing values

I have a time series data from a sensor that records value periodically - sometimes - every 10 minute period, other times every 5 minute period etc. I have to find out anomalies in real time (as and ...
1
vote
1answer
160 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....
1
vote
0answers
80 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 ...
0
votes
2answers
56 views

Linear regression incorrect prediction using Matlab

In the plot below the red crossed line is the actual curve and the crossed blue line is the predicted curve. I am using least squares for linear prediction. I have used 1:79 examples in training and ...
1
vote
1answer
176 views

How Dummy Variables Should Be Modeled In A Linear Regression Model?

I've a cross sectional model where I want predict number of users that take specific service, to make it I've many variables but have specifically two nominal: isWorkday(0 or 1) and weeday(1,2,3,...,7)...
4
votes
2answers
100 views

Is ARIMA appropriate for time series prediction involving a mix of explanatory and independent variables?

I have a table with the following columns: Date(Month,Year), Sold_Past_Month, Quantity_Available, Quantity_Shipping_In, Missed_Sales, Quantity_Needed Quantity_Needed is the dependent variable that ...
0
votes
1answer
696 views

Making Prediction on logistic regression using SAS

...
5
votes
3answers
358 views

Which algorithm to use for efficient resource assignment?

I am a starter in ML. So pardon me if the question is naive. We have a Project Management tool where users can create a ticket and assign it to others. This is just one part of the tool but we are ...
1
vote
1answer
380 views

Machine learning model to predict the best candidate

Problem: I would like to build a machine learning model that can predict the best candidate from any given set. What could be a good architecture for such a model? Given: I have several training ...
1
vote
1answer
147 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 ...
4
votes
1answer
215 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 ...

1 2 3
4
5
8