FluxML / MLJFlux.jl

Wrapping deep learning models from the package Flux.jl for use in the MLJ.jl toolbox
http://fluxml.ai/MLJFlux.jl/
MIT License
145 stars 17 forks source link

Add check that Flux optimiser is not being used #260

Closed ablaom closed 3 months ago

ablaom commented 3 months ago

This PR adds a check to the clean! method that throw an error if user passes an optimiser to a model that subtypes Flux.Optimise.AbstractOptimiser. Only optimisers from Optimisers.jl are now supported, and the error message explains as much.