Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [predictive-modeling]

Statistical techniques used for predicting outcomes.

0
votes
1answer
12 views

About 1M rows of data. Should I restrict myself to few columns as well?

I'm trying to build a predictive model from about 1 million rows of data. My goal is to predict a certain numerical value. I have the intuition that I should use very few numerical binary columns so ...
2
votes
1answer
24 views

Next year forecasting with monthly data from many, correlated, non-monotonic trends

I have trend data from many health departments in a local territory (eg. cardiology, orthopedics, etc...). These trends represent health service (visits, diagnostic, admissions) production, service ...
2
votes
1answer
24 views

Transfer learning for a regression problem

if my understanding is correct, in case of image classification and NLP, if I have a pre-trained model, to train on new data, I can reshape the data according to the pre-trained model. So there is no ...
0
votes
0answers
14 views

Predict vs. Impute: Filling missing data using Random Forest

I am using R package randomForest to build a Random Forest model for classification. Ultimately, I need to choose one of five programs for a group of individuals ...
1
vote
2answers
15 views

What should I check if model accuracy is no better than baseline level(random guess)

I have a data with only 8 columns: id created_time employee_id rank position hourly price num_work_completed work_category hired Hired is the target variable with 1 representing hired and 0 ...
0
votes
1answer
31 views

Why does Naive Forecast,Moving average,Simple Exponential Smothing model predictions flatten?

I have applied simple forecasting models such as Naive Forecast, Moving Average, Simple Exponential Smoothing, Holts Linear Trend Model on 2018 sales data of a salesperson. All the model resulted in ...
0
votes
0answers
8 views

Manual setting of target variable based on features' minimum values: f1 score = 1

I am building a classifier for user engagement in my website. Basically, since there are no "proxy" for engagement, i.e. there is no pre-defined target variable, I came up with minimum thresholds ...
0
votes
0answers
8 views

NLP Model to predict HTML missing attributes based on Word Embedding

I am trying to build a model "doc2vec" which predicts the missed attributes (id, name) of the tag in HTML depending on the text or code around. Is that possible in doc2vec? If so, how to do it ...
0
votes
0answers
27 views

How do I avoid time leakage in my KNN model?

I am building a KNN model to predict housing prices. I'll go through my data and my model and then my problem. Data - ...
0
votes
0answers
13 views

Buy/Trade strategy logic for Stock Market Prediction [closed]

I need help in formulating/ brainstorming a strategy for trading ie. logic for generating buy/sell/hold signals for my Stock Market Prediction Model. I am using Open, High, Low, Close, Volume indices ...
-1
votes
0answers
21 views

How to interpret a multi-label learning prediction

I am using a multi-label learning technique that takes into account the correlation between labels. Some lines( labels) are well predicted while others are not. I know that the performance of a multi-...
0
votes
0answers
13 views

if a time series is not stationary at a weekly level, is it also not stationary at quarterly level?

I have time series of sales of many products on weekly level for 2 years. I am interested in forecasting the sales on quarterly (4-months) level for every product. I also have some exogenous ...
1
vote
1answer
30 views

Logistic Regression - ROC curve plots Sensitivity vs Specificity instead of (1-Specificity)

I am new to Machine Learning and have been doing some practice on Logistic Regression. To evaluate the models, I've been trying to create some ROC plots. The package that i used is pROC. The model ...
1
vote
0answers
25 views

What is the name of the prediction method?

Suppose, I have a data set: ix m_t1 m_t2 1 42 84 2 12 12 3 100 50 then, we can calculate the difference between ...
1
vote
1answer
24 views

Impact calculation- Regression

I am dealing with the below data: \begin{array} {|c|c|}\hline \text{user} & \text{A_PDE} & \text{B_PDE} & \text{C_PDE} & \text{D_PDE} & \text{Sales} & y_\text{pred} & \text{...
0
votes
1answer
18 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
28 views

What method will be appropriate for fitting this kind of data?

My data set has 15 independent variables and 2 predictors or response. The problem is to find a mapping between input and output variables. Basically, given a feature vector as input, the trained ...
4
votes
3answers
125 views

What predictive model to use to impute Gender?

My data looks like this: birth_date has 634,990 missing values gender has 328,849 missing values Both of these are a ...
0
votes
0answers
19 views

Time series - is it necessary to retrain the model when new time series data is present

Say you're building a sales prediction model to predict tomorrow's sales value, as well as the next 2 weeks of daily sales. The model is being trained using daily data for the previous 1.5 years, and ...
1
vote
0answers
19 views

How to develop this type of neural network? [closed]

I was given this task to develop, this type of neural network but I never done speech recognition and that type of recognition in Matlab, so could anyone please help and give some help about this task....
0
votes
1answer
20 views

In which CRAN mirror is the quadprog package available?

I was trying to find the accuracy of some predicted data and I came to know that I can use the forecast package to do this. When I installed it and gave library(forecast), it said it needs quadprog ...
0
votes
1answer
15 views

Accuracy function in R language [closed]

I would like to find the accuracy of predicted data. Which package in R can I use that has the accuracy function?
0
votes
1answer
22 views

Dataset about flash floods

Where I can find spatial dataset about Flash floods with a set of parameters highly contributing to flash floods occurrence such as precipitation and DEM ?
0
votes
2answers
32 views

Prediction interval for general non-linear regression

I have been working on a predictive model. With each prediction, we need to provide a score to express the confidence about our prediction. So I am looking at prediction interval (PI). In linear ...
0
votes
0answers
7 views

Correct use of model interpretability

I am working on a spam classifier with ~26 features where most of these features are of categorical type and only few of them numerical. I have built 3 models with random forest, gradient boosting and ...
0
votes
0answers
16 views

Predicting U.S. suicide count based on a set of inputs

I'm trying to design a model (or multiple) that can predict the number of U.S. suicides for a future year, based on a few inputs--"age", "sex", "population" (of the age/sex), and "gdp_per_year". I'm ...
0
votes
1answer
17 views

Predicting what time will a John go to the gym tomorrow?

I have a data set which contains the below columns: Name Day Start_Gym_Time End_Gym_Time John Monday 16:00 17:30 John Tuesday 14:00 14:42 John Tuesday ...
6
votes
3answers
110 views

What is the best algorithm/solution for predicting the following?

I have a dataset that comprises 76 countries, and 6 columns of distinct quantitative variables, which are the mean values of that variable relative to each country: If I were to take a random sample ...
0
votes
0answers
8 views

Prior target class probability

I have a question about the ROC analysis widget. Can somebody explain how changing the prior target class probability affects the slope of the performance line? What are the mechanics of how this ...
0
votes
1answer
16 views

Model prediction on meshgrid in python

Suppose I have data with two independent variable $X_1$, $X_2$ and one dependent variable say $y$, as follows: $X_1$: $x_{1,1}$, $x_{1,2}$ , $x_{1,3}$ $X_2$: $x_{2,1}$, $x_{2,2}$, $x_{2,3}$ $y$: $...
0
votes
3answers
29 views

How to deal with new features values in my classification model?

Lets say i have a categorical feature having a set of values equal to ['Single','Married','Divorced','Unknown']. Okay, so with the help of the other features, i create my model, i test it, all is fine ...
1
vote
1answer
28 views

How to normalize data from multiple sources?

I am trying to model an individuals' purchasing behavior using different data sources (ex: Zalando, Otto, etc.,). When I combine data sources, I see that the data across these channels is very ...
0
votes
1answer
20 views

Continuously training one model with different dimensions each time

I'm trying to solve a problem where I need to train one model with N dimensions and again train on top of that model with M dimensions. How can I achieve it? To give you guys some context, I have 1 ...
4
votes
1answer
40 views

Model for Differing Number of Rows per Observation

Looking to build a response model (click or no click) on marketing data which displays varying number of offers to a person. I don't want to model which offer they click but do they click any of the ...
0
votes
0answers
9 views

Is it possible to calculate precision/recall for a bag-of-words model?

Suppose I have a list of keywords given to a document: {keyword, extract, graph, represent, text, weight, number, document} and then I have the keywords ...
0
votes
0answers
20 views

Training xgboost model with more data having different characteristic

I have trained my model for ECG data which has 8528 ECG files having length 30s and sample rate 300 so total file length in csv ...
0
votes
0answers
26 views

How to pass inputs (interactively) to a model?

Let me give you a high-level design (blueprint) of my model. Input data:: ...
2
votes
0answers
17 views

Estimating location in a model

I have a big dataset with 10 columns and about a 100,000 rows. Each 5 rows represent a person being tracked and the data related to this tracking such as time, velocity, etc. the last two columns are ...
1
vote
1answer
24 views

Predict how many days late or early someone will finish their work

So I have a set of deadlines and people, with a database of when those people finished their previous work and how much after the deadline it was, as well as when the work was given. The work itself ...
0
votes
2answers
38 views

Can an output class be defaulted?

In my use-case of multi-class classification, my data distribution is like below: It might be too silly to ask this (and possibly could be gravely wrong), but is there a provision to default an o/p ...
1
vote
1answer
62 views

Why are my predictions broken when performing image segmentation with TensorFlow?

I am attempting semantic image segmentation with TensorFlow. Just to get something working, I am taking this one training image, training the network on that image for a little while, and then "...
0
votes
1answer
11 views

Score Columns in Azure ML Studio

So I have a data set I have successfully used to train a model, and have decent results. I am using a Two Class Boosted Decision tree for a Boolean output. So far so good. I now want to analyze each ...
2
votes
1answer
61 views

Not able to interpret decision tree when using class_weights

I'm working with an imbalanced dataset. I'm using a decision tree (scikit-learn) to build a model. For explaining my problem I've taken iris dataset. When I'm setting class_weight=None, I understood ...
1
vote
1answer
73 views

How to approach a machine learning problem? [closed]

I'm a beginner in machine learning, and no real statistical background ( just basic knowledge ). I comprehend half of what is said on forums about statistical methods and techniques for normalizing ...
0
votes
1answer
27 views

How to choose between classification Vs regression approach?

I need to predict the profitability of the products of a retailer. I can either predict the absolute value of the profit the products will make (continuous outcome) or predict whether the products ...
1
vote
1answer
51 views

Grouping probabilities of full model vs fitting model on subset of variables

Suppose I want to predict some event probability with a set of features. Some of the features may be gender or some other categorical variable. Assume the probabilities are well calibrated. Now, say,...
0
votes
0answers
29 views

Why loss and val_loss vary for same value of lr, epoch, batch size and lr-decay?

I am training a deep neural network in Keras. I have set the values of learning rate, learning rate decay, epochs and batch size. (I am using fit_generator i.e ...
1
vote
1answer
49 views

improving accuracy of classification

I have data with 95 numeric variables and 5 categorical variables. My Y has 2 values. I built a decision tree and my accuracy was 81.8%. Then I created 3 new variables as follows. It improved accuracy ...
2
votes
2answers
88 views

How important is the input data for a ML model?

Last 4-6 weeks, I have been learning and working for the first time on ML. Reading blogs, articles, documentations, etc. and practising. Have asked lot of questions here on Stack Overflow as well. ...