FastAI.jl provides many interfaces that allow extending its functionality.
Learning methods form the core of FastAI.jl's high-level API. See this tutorial for a motivation and introduction.
Functions for the learning method interfaces always dispatch on a LearningMethod
. A LearningMethod
defines everything that needs to happen to turn an input into a target and much more. LearningMethod
should be a struct
containing configuration.
Enables training and prediction. Prerequisite for other, optional learning method interfaces.
{.tight}
- Required methods:
encode
or bothencodeinput
andencodetarget
.decodeŷ
- Optional methods:
shouldbatch
encode!
or bothencodeinput!
andencodetarget!
.
- Enables use of:
For visualizing observations and predictions using Makie.jl.
{.tight}
- Required methods:
- Enables use of:
Convenience for creating Learner
s.
{.tight}
- Required methods:
- Enables use of:
Automatically test interfaces.
{.tight}
- Required methods:
mockmodel
mocksample
or bothmockinput
andmocktarget
- Enables use of:
See the FluxTraining.jl tutorial.