Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
684 views

test & train for very very small data

I have just 25 observations. I'm not sure would it possible to test & train the data. For example 15 observations for train and 10 observations for test set. 15 observations is so small for ...
0 votes
1 answer
25 views

Using a model to evaluate over or under-priced rental prices for the same apartments used in training

If I have a machine learning model which predicts the rental prices of apartments, can I use the model once complete to analyse the prediction for the same apartments I used to train the model so I ...
1 vote
0 answers
84 views

How to create representative training, validation, and test sets when working with time series data?

In my application, I am working with a relatively long time series of daily market index percentage returns (many years) and am trying to model the dependence structure of the returns from a pure time ...
0 votes
1 answer
49 views

Can this approach be used for machine learning using train-test split?

So let's say I have a dataset with 1000 samples, 20 cols. Regression problem. I use train-test split, say 80-20% I create a Model, lets say Random Forest. I use gridsearchCV to find the best model ...
1 vote
0 answers
102 views

Train-test split within modeling function

I have this function I wrote: ...
0 votes
0 answers
25 views

Running model on full dataset or just test set?

I'm new to using XGBoost and I'm confused about how we should obtain the XGBoost predicted values for each data point. For example, the process for fitting and evaluating an XGBoost model is: ...
11 votes
4 answers
4k views

I've already used my entire dataset in a regression, should I not use that as a prediction model?

At the hospital I work at we were writing a paper on what variables about a patient predict whether they'll return for a follow-up visit. We included variables such as age, gender, distance from ...