C# Класс AIMA.Core.Learning.Inductive.DecisionTree

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DecisionTree ( String attributeName ) : System
ToString ( ) : String
ToString ( int depth, StringBuilder buf ) : String
addLeaf ( String attributeValue, String decision ) : void
addNode ( String attributeValue, DecisionTree tree ) : void
getAttributeName ( ) : String
getStumpFor ( DataSet ds, String attributeName, String attributeValue, String returnValueIfMatched, List unmatchedValues, String returnValueIfUnmatched ) : DecisionTree
getStumpsFor ( DataSet ds, String returnValueIfMatched, String returnValueIfUnmatched ) : List
predict ( Example e ) : Object

Защищенные методы

Метод Описание
DecisionTree ( ) : System

Описание методов

DecisionTree() защищенный Метод

protected DecisionTree ( ) : System
Результат System

DecisionTree() публичный Метод

public DecisionTree ( String attributeName ) : System
attributeName String
Результат System

ToString() публичный Метод

public ToString ( ) : String
Результат String

ToString() публичный Метод

public ToString ( int depth, StringBuilder buf ) : String
depth int
buf StringBuilder
Результат String

addLeaf() публичный Метод

public addLeaf ( String attributeValue, String decision ) : void
attributeValue String
decision String
Результат void

addNode() публичный Метод

public addNode ( String attributeValue, DecisionTree tree ) : void
attributeValue String
tree DecisionTree
Результат void

getAttributeName() публичный Метод

public getAttributeName ( ) : String
Результат String

getStumpFor() публичный статический Метод

public static getStumpFor ( DataSet ds, String attributeName, String attributeValue, String returnValueIfMatched, List unmatchedValues, String returnValueIfUnmatched ) : DecisionTree
ds AIMA.Core.Learning.Framework.DataSet
attributeName String
attributeValue String
returnValueIfMatched String
unmatchedValues List
returnValueIfUnmatched String
Результат DecisionTree

getStumpsFor() публичный статический Метод

public static getStumpsFor ( DataSet ds, String returnValueIfMatched, String returnValueIfUnmatched ) : List
ds AIMA.Core.Learning.Framework.DataSet
returnValueIfMatched String
returnValueIfUnmatched String
Результат List

predict() публичный Метод

public predict ( Example e ) : Object
e AIMA.Core.Learning.Framework.Example
Результат Object