People who code: we want your input. Take the Survey

Questions tagged [prediction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

Comparing different classification results with different trainig and test data

I have different samples of 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
55 views

How to measure model success in production

I have a model running on a productive system. The model predicts if some lead will become a sale. How would you develop a check, which checks the success and the accuracy of the model? There is a ...
1
vote
1answer
61 views

How to use spectral clustering to predict?

In an academic paper, they talk about using a nearest neighbour algorithm to predict the cluster of a new point. And how the number of nearest neighbours is set to 10 in their example. What do they ...
0
votes
1answer
54 views

I am getting very minimal mse values and not sure if it is correct?

Below is the linear regression model I fitted and not sure if I am doing the right way as I am getting neat to 99% accuracy Fitting Simple Linear Regression to the Training set ...
0
votes
1answer
276 views

Why is predict_generator is returning an empty array?

I am trying to print the predicted labels of my test data but the predict_generator() function is returning an empty array. My Model: ...
-1
votes
0answers
8 views

AQI prediction using machine learning [closed]

Air quality index can be calculated using formula? Why are we using machine learning algorithms to predict AQI?
1
vote
1answer
17 views

Rule based prediction for known data

Lets say we have trained our model on 900 records (training data) . During prediction on test data of 100 records, assume model produces 95% accuracy. The question here is, can a mechanism be built, ...
0
votes
1answer
26 views

Does my prediction improve when I use more, but worse classifiers?

I have a logical problem when programming my tumor identification algorithm. In my data sample, I have tested multiple antibodies on tumors - to identify whether those tumors are good or bad. This is ...
0
votes
1answer
18 views

Random Forest. In a prediction less input is expected than features used

ValueError: Number of features of the model must match the input. Model n_features is 2 and input n_features is 7. I have the following error: I have not used any type of encoding(like one-hot etc.) I ...
1
vote
1answer
31 views

Predicting high frequency sparse time series data in python

I have a dataset of a couple of EV charging stations (10 min frequency) over 1 year. This data consists of lots of 0's, since there is no continuous flow of cars coming to charge but rather ...
5
votes
1answer
849 views

Calculate confidence score of a neural network prediction

I am using a deep neural network model to make predictions. My problem is a classification(binary) problem. I wish to calculate the confidence score of each prediction. As of now, I use ...
1
vote
2answers
4k views

What algorithms are good to predict next numbers?

Let's consider we have several hundreds of numbers like ( 1, 2, 5, 8, 7, 15, 19, 8, 4, 6, ...) those are closed numbers of a stock on consecutive days for example. I like to know what algorithms are ...
1
vote
1answer
162 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 ...
1
vote
2answers
169 views

Predicting Customer Activity Absence

Could you please assist me with to following question? I have a customer activity dataframe that looks like this: It contains at least 500.000 customers and a "timeseries" of 42 months. The ones and ...
1
vote
1answer
2k views

How to make predictions of multiple input samples at once in tf 2 with keras

I am quite confused on the output of model.predict when after training I validate my model on around 6000 samples I use the following pseudo code: ...
1
vote
0answers
11 views

Error while using pre-trained model

I'm working on NLP task using RoBERTa model. As training last very long I saved my model, but now for some reason, part of my code doesn't work with this pre-trained model (getting an error), and ...
1
vote
0answers
24 views

Is there a dataset that can predict duration to complete a task using task description? [closed]

I am working on a problem where the task is to predict how long will it take to complete a given task using just the description as a feature set. The description is something like "pick up X and ...
0
votes
1answer
57 views

Time Series Classification for loan data

I have multiple columns for loan installment repayment. As there is a field for month of repayment, I want to predict if the customer is going to pay next month's installment or not. As I have ...
1
vote
1answer
27 views

How do you effectively predict the top 20% most likely customers to churn from a dataset?

I am looking to work out that if I have a dataset with 100,000 existing customers who didn't churn and 20,000 previous customers that churned in the past and the business objective is to target the 20%...
2
votes
0answers
30 views

Time series forecasting for vibration prediction on Industrial machine production?

I'm working on a machine learning project related to an industrial machine. The goal of the project is to build a model that would be able to predict the vibration of the machine while it's in ...
5
votes
0answers
131 views

Deep advantage learning: how to predict the value

I'm currently working on a collection of reinforcement algorithms: https://github.com/lhk/rl_gym For deep q-learning, you need to calculate the q-values that should be predicted by your network. There ...
0
votes
1answer
841 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
9 views

Minimising inputs for decision tree predictions

It is common for decision trees with asymmetrical shapes to have leave nodes that come early. For example, the model can already generate a prediction if the answer to the first question is FALSE, ...
1
vote
1answer
129 views

YOLO Dense Prediction

I have two questions about dense prediction in YOLOv4 paper What does it mean by the (hard negative, online hard) example mining method is not applicable to one-stage object detector, because this ...
0
votes
0answers
9 views

Forecasting mon missing time timeseries data

I have time series data for minutes interval. But due to some noise i have to remove some rows from data. Now, I have data with some missing time stamp. What should i do for forecasting in this case?
0
votes
1answer
165 views

Why the first prediction of neural network in PyTorch is slower than following predictions?

So I have ResNet50 trained to classify images. For each prediction I track the time needed for it (input and model are moved to GPU): ...
0
votes
2answers
62 views

prediction using LSTM

i have training data from 2015-2017 and testing data of 2018. i have multiple variables my data is multivariate time series data.i want to predict 2019 data by using test data of 2018.is it possible? ...
0
votes
1answer
20 views

Keras: Provide One-Hot-Encoded input values to neural network

I have a dataframe which has two columns of interest: A and B with string values. I am trying to build a prediction model which takes in a set of values in A as input and predicts the corresponding B ...
0
votes
0answers
10 views

Multiple Input (Binary) and Single Ouput: How to calculate correlations?

I have a dataset with multiple criteria which are either "passed" (green) or "not passed" (red) and an output (passed or not passed) -> see table. Also the criteria have a ...
3
votes
1answer
3k views

Making predictions / Loading model in TensorFlow 2.0

I use TensorFlow/Keras on a daily basis to make predictions for a project. Everything works fine but I was getting regular warnings about the transition to TensorFlow 2.0 and I thought this week I ...
1
vote
1answer
61 views

Binary classification problem with imbalanced dataset, how to compare to random classifier

We have a very imbalanced dataset (2% of class 1). To the best of our knowledge, there is no baseline in the literature to the problem we want to solve - so we thought of comparing our performance to ...
0
votes
1answer
886 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 ...
4
votes
1answer
217 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 ...
0
votes
1answer
225 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
44 views

Divergence of Specificity and Sensitivity

I am working on a ML classification project in healthcare. The data is imbalanced, and I decided to start modeling with tree-based algorithms such as (Balanced)RandomForest and XGBoost. While checking ...
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 ...
1
vote
1answer
61 views

predicition for a specific month

I am attempting to build a predictive model based on the past historical data. I have details of specific machine failure based on the past year data. I have data from some months of 2016 and from ...
0
votes
1answer
297 views

Found input variables with inconsistent numbers of samples: [30, 24]

I'm using neural network machine learning and would like to see the result of my confusion matrix for my model. However, there is an error that I've got and don't know how to solve it. ...
0
votes
1answer
48 views

Predicting next element of a sequence given small amount of data

I have data of bank branches and amount of revenue they have generated in a month. The data looks like this: I am tasked to find the expected revenue for the branch for the next month using machine ...
0
votes
0answers
8 views

Machine learning model to predict performance degradation over period of time

I am new in ML space and working on the task to build a model that would predict performance degradation of integration bus in real time or "almost real" time. The idea is fairly ...
1
vote
2answers
37 views

Classification with feature not available at time of model creation

I have problem statement to predict the probability of solving a task depending on multiple features for e.g. when the task was created, the time needed to work on a task, etc Please find a dummy ...
1
vote
1answer
30 views

Dissecting performance issues with Random Forest

My task is to identify potential situation for trading and determine whether a candidate is going to succeed or not. I have a system in place to identify candidates, but there is a high rate of false ...
0
votes
1answer
22 views

How to get periodicity from timeseries data?

I would like to create a recommendation system for a smart home application. I gather the data in a time-series database. The app monitors the on/off state of a smart lamp and can create daily ...
0
votes
0answers
13 views

Can I use depth prediction map to infer horizontal distances?

I have a hardware + software setup that uses a sensor to give good estimates of depth, onto a pixel map - think Kinect or similar. Example below for context: Now assume I can access individual pixel ...
0
votes
0answers
18 views

Predicting in decision rules

Sequential covering is a type of decision rule procedure that repeatedly learns a single rule to create a decision list (or set) that covers the entire dataset rule by rule. Given a training dataset, ...
0
votes
2answers
35 views

Warning when plotting confusion matrix with all sample of one class

I have two arrays: the first one with all the correct labels (they are all set to zero since each sample belong to the same class) and another one with all the labels predicted by my neural network. ...
1
vote
1answer
30 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
2answers
70 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
10 views

How can I intuitively calculate the accuracy of my financial prediction model?

I've built a SARIMAX model based on my personal spendings record as a college thesis and have reached a point where I'm pretty content with how it turned out and am getting ready to start writing the ...
0
votes
1answer
48 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 ...

1
2 3 4 5
8