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 #33

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

Clean pipeline using Neuraxle #33

guillaume-chevalier opened this issue Jan 6, 2020 · 0 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([
    TrainOnlyWrapper(DataShuffler(seed=42)),
    MiniBatchSequentialPipeline([
        ForEachDataInput(Pipeline([
            ToNumpy(np_dtype=np.float32),
            DefaultValuesFiller(0.0),
        ])),
        ClassificationLSTM(n_stacked=2, n_residual=3),
    ], batch_size=32),
]), epochs=200, fit_only=True)

Where the ClassificationLSTM class contains the actual TensorFlow Code.

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