Code your extraction process.

Construct your model.

Train & export.