Example #1
0
    static string?Column_StaticPropertyValidation(PredictorColumnEmbedded column, PropertyInfo pi)
    {
        var mq = column.GetParentEntity <PredictorMainQueryEmbedded>();
        var p  = mq.GetParentEntity <PredictorEntity>();

        if (p.Algorithm == null)
        {
            return(null);
        }

        var algorithm = Algorithms.GetOrThrow(p.Algorithm);

        return(algorithm.ValidateEncodingProperty(p, null, column.Encoding, column.Usage, column.Token));
    }
Example #2
0
 public PredictorColumnMain(PredictorColumnEmbedded predictorColumn, int predictorColumnIndex)
     : base(predictorColumnIndex)
 {
     PredictorColumn = predictorColumn;
 }