eqdisco.datasets.Problem#

class eqdisco.datasets.Problem(name, X_train, y_train, X_test, y_test, truth, feature_names, units=<factory>, source='')[source]#

Bases: object

A benchmark problem with training and test data and its ground truth.

Attributes:
namestr
X_train, y_train, X_test, y_testndarray
truthstr

The generating formula in the variable names of feature_names.

feature_nameslist of str
unitsdict

Units of the variables and of the target (key "__target__"); empty if unknown.

sourcestr