Ejemplo n.º 1
0
        public DecisionTree BuildConditionalTree(TableFixedData data, TreeOptions options,
                                                 int[] attributes = null)
        {
            var ret = new C45AlgorithmDataOptimized(data, options);

            return(ret.BuildConditionalTree(null, attributes));
        }
Ejemplo n.º 2
0
        public ConditionalTree BuildConditionalTree(ITableData data, bool optimized = false)
        {
            if (optimized)
            {
                var ret = new C45AlgorithmDataOptimized(TableFixedData.FromTableData(data));
                return ret.BuildConditionalTree();
            }

            return new C45AlgorithmData().BuildConditionalTree(data);
        }
Ejemplo n.º 3
0
 public DecisionTree BuildConditionalTree(ITableData data, TreeOptions options)
 {
     var ret = new C45AlgorithmDataOptimized(TableFixedData.FromTableData(data), options);
     return ret.BuildConditionalTree();
 }
Ejemplo n.º 4
0
 public DecisionTree BuildConditionalTree(TableFixedData data, TreeOptions options,
     int[] attributes = null)
 {
     var ret = new C45AlgorithmDataOptimized(data, options);
     return ret.BuildConditionalTree(null, attributes);
 }
Ejemplo n.º 5
0
 public ConditionalTree BuildConditionalTreeOptimized(TableFixedData data)
 {
     var ret = new C45AlgorithmDataOptimized(data);
     return ret.BuildConditionalTree();
 }
Ejemplo n.º 6
0
        public DecisionTree BuildConditionalTree(ITableData data, TreeOptions options)
        {
            var ret = new C45AlgorithmDataOptimized(TableFixedData.FromTableData(data), options);

            return(ret.BuildConditionalTree());
        }