Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean pipeline using Neuraxle #15

Closed
guillaume-chevalier opened this issue Jan 6, 2020 · 2 comments
Closed

Clean pipeline using Neuraxle #15

guillaume-chevalier opened this issue Jan 6, 2020 · 2 comments

Comments

@guillaume-chevalier
Copy link
Owner

Should do something that looks like this to clean the project by using Neuraxle:

deep_learning_seq_classif_pipeline = EpochRepeater(Pipeline([
    Windower(),  # TODO: not sure where this must be plugged into the pipeline.
    AutoRegress(),  # TODO: AutoRegress might be inside NormalizeThenUnNormalizeWrapper, not sure.
    NormalizeThenUnNormalizeWrapper(
        TrainOnlyWrapper(DataShuffler(seed=42)),
        MiniBatchSequentialPipeline([
            ForEachDataInput(Pipeline([
                ToNumpy(np_dtype=np.float32),
                DefaultValuesFiller(0.0),
            ])),
            ForecastModel(n_stacked=2, n_residual=3),
        ], batch_size=32),
    )
]), epochs=200, fit_only=True)

Where ForecastModel contains the actual TensorFlow code.

@guillaume-chevalier
Copy link
Owner Author

@guillaume-chevalier
Copy link
Owner Author

Solved with #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant