LighthouseFlux provides a FluxClassifier
wrapper that implements the Lighthouse AbstractClassifier
interface, thus enabling Flux models to easily utilize Lighthouse's training/testing harness. Assuming your model obeys normal Flux model conventions, hooking it up to LighthouseFlux generally only requires a single method overload (LighthouseFlux.loss
).
See this package's tests for example usage.
To install LighthouseFlux for development, run:
julia -e 'using Pkg; Pkg.develop(PackageSpec(url="https://github.com/beacon-biosignals/LighthouseFlux.jl"))'
This will install LighthouseFlux to the default package development directory, ~/.julia/dev/LighthouseFlux
.