|  | ## Default Model

#### Synopsis

Learns a default value.

#### Description

This learner creates a model, that will simply predict a default value for all examples, i.e. the average or median of the true labels (or the mode in case of classification) or a fixed specified value. This learner can be used to compare the results of "real" learning schemes with guessing.

#### Input

- training set: expects: ExampleSet, expects: ExampleSet

#### Output

- model:
- exampleSet:

#### Parameters

- method: The method to compute the default.
- constant: Value returned when method = constant.
- attribute name: The attribute to get the predicted value from.

#### ExampleProcess