private static ColumnType GetPredColType(ColumnType scoreType, ISchemaBoundRowMapper mapper) { return(new KeyType(DataKind.U4, 0, scoreType.VectorSize)); }
private static DataViewType GetPredColType(DataViewType scoreType, ISchemaBoundRowMapper mapper) => new KeyType(typeof(uint), scoreType.GetVectorSize());
protected BindingsBase(ISchema schema, ISchemaBoundRowMapper mapper, string suffix, bool user, params string[] namesDerived) : base(schema, mapper, suffix, user, namesDerived) { RowMapper = mapper; }
/// <summary> /// The one and only constructor for Bindings. /// </summary> private Bindings(Schema input, ISchemaBoundRowMapper mapper, string suffix, bool user) : base(input, mapper, suffix, user) { Contracts.Assert(DerivedColumnCount == 0); }
private static ColumnType GetPredColType(ColumnType scoreType, ISchemaBoundRowMapper mapper) { return(new KeyType(typeof(uint), scoreType.GetVectorSize())); }
private static ColumnType GetPredColType(ColumnType scoreType, ISchemaBoundRowMapper mapper) => new KeyType(DataKind.U4, 0, scoreType.GetVectorSize());