A summarization method for an object of the class "ndlCrossvalidate".
# S3 method for ndlCrossvalidate
summary(object, …)# S3 method for summary.ndlCrossvalidate
print(x, digits = max(3, getOption("digits") - 3), …)
An object of class "ndlCrossvalidate", resulting from a call to
ndlCrossvalidate.
An object of class "summary.ndlCrossvalidate", usually resulting from a
call to summary.ndlCrossvalidate.
the number of significant digits to use when printing.
further arguments passed to or from other methods.
summary.ndlCrossvalidate returns an object of the class
"summary.ndlCrossvalidate", a list with the following components:
callThe call matched to fit the "ndlCrossvalidate" object.
formulaThe formula specified for the "ndlCrossvalidate" object.
statistics.summaryThe means, minima and maxima of a
range descriptive statistics for the fit and performance of
individual folds; see ndlStatistics.
crosstable.summaryThe means of the crosstabulation of observed and predicted outcomes for the held-out test data.
recall.predicted.summaryThe means of the recall values for the individual outcomes predicted with the held-out test data.
precision.predicted.summaryThe means of the precision values for the individual outcomes predicted with the held-out test data.
statistics.allAll the values for a range descriptive
statistics for the fit and performance of individual folds on the
held-out test data; see ndlStatistics.
kThe number of folds.
n.totalThe sum frequency of all data points in
data.
n.trainThe sum frequency of data points used for training the individual models (excluding the individual folds).
n.testThe sum frequency of data points in the individual held-out folds used for testing the individual models.
Calculates overall descriptive statistics of the crossvalidation of a fitted Naive Discriminatory Reader model and prints a nice summary of the key results.
Arppe, A. and Baayen, R. H. (in prep.)
# NOT RUN {
## For examples see examples(ndlCrossvalidate).
# }
Run the code above in your browser using DataLab