/Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerTrainingModel.h
The editor will execute the Train method, which will trigger the "train" method in your Python class to be executed. Keep in mind that in Unreal Engine all python code is lower case. So a "Train" method inside c++ will need to be called "train" inside the python code. Or if you have something called "PerformMyTraining" it will need to be called "perform_my_training" inside Python.
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Blueprintable) class UMLDeformerTrainingModel : public [UObject](API\Runtime\CoreUObject\UObject\UObject)
UE::MLDeformer:...
EditorModel
A pointer to the editor model from which we use the sampler.
TArray< float >
SampleBoneRotations
The bone rotations in bone (local) space for this sample. This is updated after SetCurrentSampleIndex is called and is 6 floats per bone (2 columns of 3x3 rotation matrix).
TArray< float >
SampleCurveValues
The curve weights. This is updated after SetCurrentSampleIndex is called.
TArray< float >
SampleDeltas
The delta values per vertex for this sample. This is updated after SetCurrentSampleIndex is called. Contains an xyz (3 floats) for each vertex.