Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory Class Reference

Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory:

kddml.Core.DataMining.ClassificationTrees.ClassificationExternalFactory kddml.Core.DataMining.ModelExternalFactory kddml.Core.DataMining.ModelResourceFactory kddml.Core.KDDMLObjectResourceFactory kddml.Core.KDDMLObjectFactory List of all members.

Public Member Functions

 PMML2_0ClassificationFactory (File f, InputStream pmml_path) throws KDDMLCoreException
 PMML2_0ClassificationFactory (java.io.File f, String pmml_path) throws KDDMLCoreException

Protected Member Functions

DataDictionary buildDataDictionary () throws MiningModelException
MiningSchema buildMiningSchema () throws MiningModelException
String buildAlgorithmName () throws MiningModelException
String buildModelName () throws MiningModelException
String buildPMMLVersion () throws MiningModelException
String buildCopyright () throws MiningModelException
String buildApplicationName () throws MiningModelException
String buildApplicationVersion () throws MiningModelException
Node buildTree () throws TreeModelException
ConfusionMatrix buildTrainingConfusionMatrix () throws TreeModelException
ConfusionMatrix buildTestConfusionMatrix () throws TreeModelException
boolean isBinarySplitting ()

Detailed Description

Factory class that builds a classification model from a PMML model.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Constructor & Destructor Documentation

kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.PMML2_0ClassificationFactory File  f,
InputStream  pmml_path
throws KDDMLCoreException
 

Constructor given the pmml document as InputStream.

Parameters:
f File the file in the system repository that will contain the generated model.
pmml_path InputStream the pmml 2.0 document
Exceptions:
KDDMLCoreException 

kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.PMML2_0ClassificationFactory java.io.File  f,
String  pmml_path
throws KDDMLCoreException
 

Constructor given the pmml_path.

Parameters:
f File the file in the system repository that will contain the generated model.
pmml_path String the URI identifying the pmml document.
Exceptions:
KDDMLCoreException if the source cann't be found or the parser returns errors.


Member Function Documentation

DataDictionary kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildDataDictionary  )  throws MiningModelException [protected, virtual]
 

Returns the data dictionary of the output model.

Exceptions:
MiningModelException 
Returns:
DataDictionary

Implements kddml.Core.DataMining.ModelExternalFactory.

MiningSchema kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildMiningSchema  )  throws MiningModelException [protected, virtual]
 

Returns the mining schema of the output model.

Exceptions:
MiningModelException 
Returns:
MiningSchema

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildAlgorithmName  )  throws MiningModelException [protected, virtual]
 

Returns the name of the algorithm.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildModelName  )  throws MiningModelException [protected, virtual]
 

Returns the name of the model.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildPMMLVersion  )  throws MiningModelException [protected, virtual]
 

Returns the PMML version supported.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildCopyright  )  throws MiningModelException [protected, virtual]
 

Returns the copyright.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildApplicationName  )  throws MiningModelException [protected, virtual]
 

Returns the application name.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

String kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildApplicationVersion  )  throws MiningModelException [protected, virtual]
 

Returns the application version.

Exceptions:
MiningModelException 
Returns:
String

Implements kddml.Core.DataMining.ModelExternalFactory.

Node kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildTree  )  throws TreeModelException [protected, virtual]
 

Returns the node root of the model.

Exceptions:
TreeModelException 
Returns:
Node

Implements kddml.Core.DataMining.ClassificationTrees.ClassificationExternalFactory.

ConfusionMatrix kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildTrainingConfusionMatrix  )  throws TreeModelException [protected, virtual]
 

Returns the confusion matrix. Can be null.

Exceptions:
TreeModelException 
Returns:
ConfusionMatrix

Implements kddml.Core.DataMining.ClassificationTrees.ClassificationExternalFactory.

ConfusionMatrix kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.buildTestConfusionMatrix  )  throws TreeModelException [protected, virtual]
 

Returns the text matrix. Can be null.

Exceptions:
TreeModelException 
Returns:
ConfusionMatrix

Implements kddml.Core.DataMining.ClassificationTrees.ClassificationExternalFactory.

boolean kddml.Core.DataMining.ClassificationTrees.PMML2_0ClassificationFactory.isBinarySplitting  )  [protected, virtual]
 

Returns true if the model use the binary splitting (every node with 2 children). Returns false otherwise.

Returns:
boolean

Implements kddml.Core.DataMining.ClassificationTrees.ClassificationExternalFactory.


Generated on Thu Feb 23 13:04:39 2006 for kddml by  doxygen 1.4.3