Esempio n. 1
0
        public void SetPositiveNode(DecisionNode <TObj> node)
        {
            if (node == null)
            {
                throw new MLException("Node can not be null");
            }

            m_PositiveNode = node;
        }
Esempio n. 2
0
        public DecisionTree(DecisionNode <TObj> root)
        {
            if (root == null)
            {
                throw new MLException("DecisionTree.ctor(node=null)");
            }

            m_Root = root;
        }