コード例 #1
0
        internal SuggestSplitPoint(int attributeIndex, ComparisonKind comparisonKind, double splitValue, SplitInformation left, SplitInformation right = null)
        {
            AttributeIndex = attributeIndex;
            ComparisonKind = comparisonKind;
            SplitValue     = splitValue;

            Left  = left;
            Right = right;
        }
コード例 #2
0
        internal SplitDecisionNode(DecisionTree owner, DecisionNode parent,
                                   SplitInformation splitInformation,
                                   ComparisonKind comparisonKind, double splitValue, int attributeIndex)
            : base(owner)
        {
            Parent = parent;

            Value            = splitValue;
            Comparison       = comparisonKind;
            SplitInformation = splitInformation;
            AttributeIndex   = attributeIndex;
        }