/// <summary> /// Creates an <see cref="Expression">Expression Tree</see> representation /// of this decision tree, which can in turn be compiled into code. /// </summary> /// /// <returns>A tree in the form of an expression tree.</returns> /// public Expression <Func <double[], int> > ToExpression() { DecisionTreeExpressionCreator compiler = new DecisionTreeExpressionCreator(this); return(compiler.Create()); }
/// <summary> /// Creates an <see cref="Expression">Expression Tree</see> representation /// of this decision tree, which can in turn be compiled into code. /// </summary> /// /// <returns>A tree in the form of an expression tree.</returns> /// public Expression<Func<double[], int>> ToExpression() { DecisionTreeExpressionCreator compiler = new DecisionTreeExpressionCreator(this); return compiler.Create(); }