Generates an associator. Must initialize all fields of the associator
that are not being set via options (ie. multiple calls of buildAssociator
must always lead to the same result). Must not change the dataset
in any way.
data - set of instances serving as training data
java.lang.Exception - if the associator has not been