TrainedLearner.getAttributes

TrainedLearner.getAttributes()

The attributes associated with this learner.

Return the attributes of the trained learner (and sub objects). The returned value will be a dict, mapping names of attribtues to values of attributes. In the case of collisions (especially when getting attributes from nested objects) the attribute names may be prefaced with the name of the object from which they originate.

Returns:

dict – A mapping of attribute name to values of attributes.