Skip to content

Interest in Implementing Cross Validation? #8

@M-Harrington

Description

@M-Harrington

Hi, is there any interest in implementing cross validation for estimating missing values in the package? I have a problem where I had a time steps missing at random throughout my time series, and because of the number of time series I have to estimate the NA's for, it seemed to make the most sense to automatically perform parameter selection through cross validation.

Anyways long story short I've written up methods for K-fold and Monte Carlo cross validation to work with STLplus and I've also written a function to perform a grid search not so different than in the Scikit learn in python. If you're interested I can paste the code here, or if it's not really appropriate for the package itself I can submit my code as an answer to a self-made question on Stack Exchange.

Best,
Matt

PS: the function hasn't been super optimized yet or user-proofed, but I figured I'd include that iff it would be used by general people.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions