Questions tagged [predictive-modeling]

Statistical techniques used for predicting outcomes.

Filter by
Sorted by
Tagged with
2
votes
0answers
33 views

Target Variable Encoding for Time Series Change point detection

I am working on a time series data for which I intend to impliment machine learning model for detecting change point in time series data. This data is recorded fom machinary and we have to predict ...
1
vote
1answer
17 views

Difference between sklearn make_pipeline and imblearn make_pipeline

Can anybody please explain the difference between sklearn.pipeline.make_pipline and imblearn.pipeline.make_pipline.
0
votes
1answer
10 views

Deploy pretrained model to simple web app

As a small personal project, I wanted to try and deploy this image classification model with a simple web app (input image, output classification and heatmap). There are a couple pretrained models on ...
1
vote
2answers
46 views

Which predictive model is appropriate?

I'm completely lost when trying to choose the type of predictive model for my problem. Is it autoregressive model, nonlinear time series, Markov Chain or other? Can someone please give me some advise? ...
0
votes
2answers
31 views

How to convert trained data (feature extracted) into a prediction model? [on hold]

Background: I am analyzing and labeling some log data. (parsed already, sample data below) I have extracted the major features of data. For examples, the classification results ("1 - normal" or "0 - ...
2
votes
2answers
41 views

Dealing with no data

I am working on predictive maintenance and get temperature data from assets. In few months or few days asset remains down and we do not get temperature value. In this scenario i cannot fill data with ...
1
vote
2answers
247 views

Train an LSTM neural network with time series containing seasonal and trend

I am working on a project for predicting the number of DNS queries from the site: DNS queries statistics. The data I use is minutely data, which means the number of DNS queries of every minute. If ...
2
votes
1answer
110 views

Model building with neural networks

Assume the existence of a collection of physical parameters and a collection of output variables which may depend on the physical parameters. An example in the training dataset consists of a vector ...
0
votes
1answer
27 views

Revenue Projection

Given that we have Monthly revenue data for pass 3 years (36 rows of revenue) We have other data including economic indicators, industry indicators as well (other columns in the 36 rows) ...
0
votes
1answer
70 views

Observation window in Predictive modelling

In any predictive modelling exercise we first start with defining observation window and perform window for the product/problem. Just wanted to know if the window is different for different predictors ...
1
vote
2answers
45 views

Is there any time series model which handles data at variable frequencies.?

Goal: Predict the yellow points.(yellow events appear at varying frequencies) But I'm struggling to find a good model to fit this use case. Most of the time series algorithms are handling data which ...
0
votes
0answers
9 views

whether the LSTM network can be used to predict a binary outcome?

I have 6 set of time series labeled data which I want to use it to predict certain binary outcome. Is it allowed in the framework of LSTM model ?
1
vote
1answer
20 views

Modeling strategy for predicting a day/hour based on my dataset

This is my first time posting here. I'm usually on SO. So I'm not sure if these kind of questions fit into DS stackexchange. I genuinely need opinions on this. What data do I have - ...
1
vote
1answer
9 views

Appropriate model metric for a truncated response variable?

Here's a straightforward question I can't seem to find a good answer to. Let's say you're using some variables to predict age. I'm assuming a regression model is the right approach. In this case, what ...
0
votes
0answers
7 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
5 views

How is possible the result of GRU would other way around compared to LSTM while they were implemented samely?

Recently I crossed to a situation I can't figure it out why it happened. I applied six predictive models on a specific dataset as training-set and tried to predict the other similar dataset as an ...
1
vote
1answer
20 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 ...
0
votes
0answers
19 views

Getting Different Class output and Probability when predicting from model.predict and after deploying model with flask

For Binary classification problem,I am getting Different Class output and Probability for test data when predicting from model.predict and with deployed model with flask. In model.predict I am getting ...
6
votes
3answers
7k views

What does “baseline” mean in the context of machine learning?

What does "baseline" mean in the context of machine learning and data science? Someone wrote me: Hint: An appropriate baseline will give an RMSE of approximately 200. I don't get this. Does he ...
0
votes
1answer
62 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. ...
0
votes
1answer
16 views

ensuring that dependent variable decreases monotonically with independent variable

I have one key relationship between a numeric independent variable X and a numeric dependent variable Y, which is like a negative exponential function determined by 2 parameters. There are other ...
4
votes
1answer
78 views

Predicting household energy consumption?

I have a fairly simple dataset of energy consumption values generated every half hour. I want to train a model to predict the energy consumption at a particular time. How do I model time values?
0
votes
0answers
12 views

Align data of different frequencies

My project's goals is modeling a physical system. Where I measure physical entities using sensors and try predicting future values. A problem I am facing, is how to align different sensors data in one ...
0
votes
2answers
28 views

Keras input for multivariate classification with LSTM using current features and previous timesteps features and y values

I am working on a multivariate binary classification problem. What I want to do is to predict a binary classification given the features at the current timestep and the data (features+real ...
0
votes
1answer
43 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
22 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
3answers
24 views

How do ML model retain/store the learning(s)?

In other words, if the model after training and testing is ready for making future predictions, it must be storing the learning(s) somewhere in memory or disk or cache (or I really don't know). So, ...
2
votes
1answer
28 views

Can a Logsitic Regression model continue making predictions after removing predictions from the data set?

I have a logistic regression model that predicts churn (0 vs. 1). I was asked to use the model to predict on a historical group of non-churners, remove anyone who was marked as a churner, and then ...
1
vote
0answers
20 views

Error-analysis and evaluation of a model using Python?

My method of evaluating a model is the following : Split the training data set and do cross validation to obtain an accuracy of my model on my cross validation data set. Use the parameters that gave ...
0
votes
0answers
24 views

Can i use survival analysis to predict if a person will “die” or not, and then get the survival time if the person does?

I want to determine, given a project, "How long will it take for this project to be successful ?" Therefore, survival analysis seems like a perfect fit in this case (as I do have some projects that ...
1
vote
0answers
10 views

Poisson Model (w/ multiple levels X)

Question Is Poisson model the best method for predicting counts among multiple levels within nominal variable? Details Imagine data of 7000 observations, where output= Obs.Count {numeric,0,1,2..8} ...
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
18 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
30 views

LSTM model for many time series

Let's say one has many time series for which one wants to build a predictive model (based on LSTM). Which of the following cases would be more optimal and why? 1) building one model for all the time ...
1
vote
0answers
35 views

Combining the output of two models

I have two models that predict a person's activity (seating, walking, taking stairs, and sleeping) based on a person's motion and the video. Model 1 is trained on a ...
1
vote
2answers
186 views

Why is r squared lowered when adding polynomial features?

I am trying to find a best fit line f(x) = ? for a random set of x,y coordinates. Linear Regression with polynomial features works well for around 10 different ...
0
votes
0answers
11 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: ...
2
votes
1answer
5k views

Keras Conv1D for simple data target prediction

I am trying to use conv1D layer from Keras for predicting Species in iris dataset (which has 4 numeric features and one categorical target). Following is my code: ...
1
vote
0answers
22 views

Significance of AUC score

My model (Logistic Regression) has AUC score of 0.8 Am I right in stating that the probability of the model ranking a random positive sample higher than a random negative sample is 0.8? Also, how ...
0
votes
1answer
18 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 ...
3
votes
1answer
3k views

Problem with keras model loading

I want to use this keras seq2seq example to train my model. But i dont undestand role of encoder and decoder model and why we dont use model which we trained here. model.fit([encoder_input_data, ...
1
vote
0answers
25 views

Alternatives for categorical prediction

Upfront question: What are some alternative methods for predicting categorical data? Details: I routinely process data that is 100% categorical. Almost always, this data is nominal (while, ...
0
votes
0answers
13 views

Getting Error while predicting during deploying simple ML model with Flask

I have deployed a simple titanic (doing for testing purpose) model with Python Flask. I am using below server.py (Flask app start and predict API code) and request.py (JSON request) code. Getting ...
1
vote
2answers
239 views

Can Precision-Recall be improved for imbalanced sample?

I tried out a few models on a highly imbalanced sample (~2:100) where I can get decent AUC from ROC (test sample). But when I plot precision-recall (test sample), it looks horrible. Kind of like the ...
1
vote
1answer
37 views

using neural networks to predict set of charactertics

Say i have a matrix with m rows and n features where m is the number of people on say an dating website such as tinder. So n could be age, sex, location,job... etc these kinds of features. My output ...
1
vote
1answer
57 views

Can anyone explain the reasoning behind this post?

I am reading THIS blog post, and I do not understand the logic behind this part: Why is the relu here max(0, Xavg - X) ? And even so, it does not really explain ...
0
votes
1answer
57 views

Why n-split is not possible for a dataframe with KFold?

On running below code on python 3.7, I am getting the following response: 'DataFrame' object has no attribute 'n_splits'. How to get rid of this? ...
0
votes
0answers
15 views

Checking if a LSTM model is running in the back

I am trying to reproduce the following tutorial, using my own data. The aim is to build a RNN model, which has three LSTM cells. I've run my script and I had some results. When I rerun it to plot my ...
0
votes
1answer
10 views

Product Prediction to group of customers

I have multiple groups of customer, say for segment 1 as shown in the pictures, I have a list of products that I can choose the cross-sell to that group. Consider ...
0
votes
1answer
27 views

What is the interpretation for quadratic functions?

I am working through the book Applied Predictive Modeling and came across something that was a bit confusing. It discussed adding non linearity to a model to improve its fit - I get this part. For ...