/Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerGeomCacheEditorModel.h
Update the state that is used to decide whether the Train button in the UI is enabled or not. One criteria could be to check whether we have all required inputs, such as a skeletal mesh, target mesh and anim sequence. This should set the bIsReadyForTraining bool to true when it is ready, or false if not.
virtual void UpdateIsReadyForTrainingState()