// Create Attribute Information on label
AttrInfo labelAttrib = new NominalAttrInfo(PERFORMANCE_CLASS, perfClasses);
// Create MLJ meta information
schema = new Schema(attrInfos, labelAttrib);
InstanceList instances = createInstances(trainingData, attribMap);
// Train categoriser
Categorizer categorizer = getCategorizer(instances);