https://docs.unity3d.com/es/2020.1/ScriptReference/LightingSettings-exportTrainingData.html
LightingSettings-exportTrainingData - Unity Scripting API
Whether the Progressive Lightmapper exports machine learning training data to the Project folder when it performs the bake. ( Editor only).
unityscriptingapi