Class PMMLDocument
Represents the object model for PMML document.
Inheritance
Implements
Namespace: Syncfusion.PMML
Assembly: Syncfusion.PMML.Base.dll
Syntax
public class PMMLDocument : Object, IDisposable
Constructors
PMMLDocument()
Creates an instance for PMMLDocument
Declaration
public PMMLDocument()
PMMLDocument(Stream)
Creates an instance for PMMLDocument
Declaration
public PMMLDocument(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | pmml stream |
PMMLDocument(TextReader)
Creates an instance for PMMLDocument
Declaration
public PMMLDocument(TextReader textReader)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | textReader | text reader object |
PMMLDocument(String)
Creates an instance for PMMLDocument
Declaration
public PMMLDocument(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | pmml file path |
Properties
AssociationRulesModel
Gets and sets the "AssociationRulesModel" element value
Declaration
public AssociationRulesModel AssociationRulesModel { get; }
Property Value
Type |
---|
AssociationRulesModel |
ClusteringModel
Gets and sets the "ClusteringModel" elements value
Declaration
public ClusteringModel ClusteringModel { get; }
Property Value
Type |
---|
ClusteringModel |
DataDictionary
Gets and sets the "DataDictionary" elements value
Declaration
public DataDictionary DataDictionary { get; }
Property Value
Type |
---|
DataDictionary |
Extension
Gets and sets the "Extension" elements value
Declaration
public Extension Extension { get; }
Property Value
Type |
---|
Extension |
GeneralRegressionModel
Gets and sets the "GeneralRegressionModel" elements value
Declaration
public GeneralRegressionModel GeneralRegressionModel { get; }
Property Value
Type |
---|
GeneralRegressionModel |
Header
Gets and sets the "Header" elements value
Declaration
public Header Header { get; }
Property Value
Type |
---|
Header |
MiningModel
Gets and sets the "MiningModel" elements value
Declaration
public MiningModel MiningModel { get; }
Property Value
Type |
---|
MiningModel |
NaiveBayesModel
Gets and sets the "NaiveBayesModel" elements value
Declaration
public NaiveBayesModel NaiveBayesModel { get; }
Property Value
Type |
---|
NaiveBayesModel |
NearestNeighborModel
Gets and sets the "Nearest Neighbor Model" element value
Declaration
public NearestNeighborModel NearestNeighborModel { get; }
Property Value
Type |
---|
NearestNeighborModel |
NeuralNetworkModel
Gets and sets the "NeuralNetworkModel" elements value
Declaration
public NeuralNetworkModel NeuralNetworkModel { get; }
Property Value
Type |
---|
NeuralNetworkModel |
RegressionModel
Gets and sets the "RegressionModel" elements value
Declaration
public RegressionModel RegressionModel { get; }
Property Value
Type |
---|
RegressionModel |
RuleSetModel
Gets and sets the "Rule Set Model" element value
Declaration
public RuleSetModel RuleSetModel { get; }
Property Value
Type |
---|
RuleSetModel |
SequenceModel
Gets and sets the "Sequence Model" element value
Declaration
public SequenceModel SequenceModel { get; }
Property Value
Type |
---|
SequenceModel |
SupportVectorMachineModel
Gets and sets the "SupportVectorMachineModel" elements value
Declaration
public SupportVectorMachineModel SupportVectorMachineModel { get; }
Property Value
Type |
---|
SupportVectorMachineModel |
TransformationDictionary
Declaration
public TransformationDictionary TransformationDictionary { get; set; }
Property Value
Type |
---|
TransformationDictionary |
TreeModel
Gets and sets the "TreeModel" elements value
Declaration
public TreeModel TreeModel { get; }
Property Value
Type |
---|
TreeModel |
Methods
Dispose()
Releases the memory occupied by objects
Declaration
public void Dispose()
OpenPMMLDocument(Stream)
Parses pmml document based on pmml stream
Declaration
public void OpenPMMLDocument(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | pmml file path |
OpenPMMLDocument(Stream, PMMLValidationType)
Parses pmml document based on pmml stream
Declaration
public void OpenPMMLDocument(Stream stream, PMMLValidationType pmmlValidationType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | pmml file path |
PMMLValidationType | pmmlValidationType | pmml validation type |
OpenPMMLDocument(TextReader)
Parses pmml document based on text reader object
Declaration
public void OpenPMMLDocument(TextReader textReader)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | textReader | text reader object |
OpenPMMLDocument(TextReader, PMMLValidationType)
Parses pmml document based on text reader object
Declaration
public void OpenPMMLDocument(TextReader textReader, PMMLValidationType pmmlValidationType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | textReader | text reader object |
PMMLValidationType | pmmlValidationType | pmml validation type |
OpenPMMLDocument(String)
Parses pmml document based on file path
Declaration
public void OpenPMMLDocument(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | pmml file path |
OpenPMMLDocument(String, PMMLValidationType)
Parses pmml document based on file path
Declaration
public void OpenPMMLDocument(string filePath, PMMLValidationType pmmlValidationType)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | pmml file path |
PMMLValidationType | pmmlValidationType | pmml validation type |