/// <summary> /// Checks the column types of the evaluator's input columns. The base class implementation checks only the type /// of the weight column, and all other columns should be checked by the deriving classes in <see cref="CheckCustomColumnTypesCore"/>. /// </summary> protected void CheckColumnTypes(RoleMappedSchema schema) { // Check the weight column type. if (schema.Weight != null) { EvaluateUtils.CheckWeightType(Host, schema.Weight.Type); } CheckScoreAndLabelTypes(schema); // Check the other column types. CheckCustomColumnTypesCore(schema); }