Neither the DataSetBuilder class, DataSet class or DataTable interface know about domains. The Problem hierarchy does however.
I have the situation where I want to do mathematical calculations between the Vector of an Entity and the Vector of a Pattern of a data set. Since the data sets do not know about domains the Vectors of the Patterns are created to be unbounded (default bounds). The problem comes in when one wants to calculate the mean of a data set and use it as the Vector of an Entity, for example. The Entity will end up being unbounded. The bounds of a Real is also final.
Would it makes sense to implement a DataTable that is aware of a domain? The elements that are read from file can then automatically be validated against the specified type and domain bounds and then the appropriate Numeric object can be added to the row Vector.
We should also keep in mind that the domain of a data set can be different from the domain of the corresponding Problem, like in the case of Neural Networks.
