Learn R Programming

RMOA (version 1.1.0)

summary.MOA_classifier: Summary statistics of a MOA classifier

Description

Summary statistics of a MOA classifier

Usage

# S3 method for MOA_classifier
summary(object, ...)

Value

the form of the return value depends on the type of MOA model

Arguments

object

an object of class MOA_classifier

...

other arguments, currently not used yet

Examples

Run this code
hdt <- HoeffdingTree(numericEstimator = "GaussianNumericAttributeClassObserver")
hdt
data(iris)
iris <- factorise(iris)
irisdatastream <- datastream_dataframe(data=iris)
## Train the model
hdtreetrained <- trainMOA(model = hdt, 
 Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width, 
 data = irisdatastream)
summary(hdtreetrained$model)

Run the code above in your browser using DataLab