eml package¶
Subpackages¶
Submodules¶
eml.util module¶
-
class
eml.util.ModelDesc(ml, mdl, name)[source]¶ Bases:
objectClass used to shape a model descriptor
A model descriptor summarize the main feature a system, in this case will be used for empirical model learning models
-
_ml¶ Machine learning model
-
_mdl¶ Optimization model
-
_name¶ Name of the model
-
_exps¶ Expressions in the model
Type: string
Parameters: - ml – Machine learning model
- mdl – Optimization model
- name (string) – Name of the model
-
expressions()[source]¶ Get all the expressions stored
Returns: Expressions – Set of the expressions in the model Return type: dict(expr)
-
get(xtype, xidx)[source]¶ Get expression
Parameters: - xtype (string) – Type of expression
- xidx (int) – Index we want to use to store the expression
Returns: Expr – Expression located by the coordinates
Return type: generic type`
-
has(xtype, xidx)[source]¶ Check if the model contains an expression given some coordinares
Parameters: - xtype (string) – Type of expression
- xidx (int) – Index we want to use to store the expression
Returns: Acknowledge – True if the expression is present, False otherwise
Return type:
-
ml_model()[source]¶ Get machine learning model
Returns: Machine learning model – Machine learning model Return type: generic type
-