Package

org.pmml4s

metadata

Permalink

package metadata

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. metadata
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractField extends Field

    Permalink

    Abstract class for field in a PMML with common implementations.

  2. trait Attribute extends HasLabels with HasMissingValues with HasInvalidValues with HasValidValues with HasIntervals with ValueIndexer with Serializable

    Permalink
  3. sealed trait AttributeType extends AnyRef

    Permalink
  4. abstract class CategoricalAttribute extends Attribute

    Permalink
  5. class ContinuousAttribute extends Attribute with HasIntervals

    Permalink
  6. class DataDictionary extends Dictionary[DataField] with PmmlElement

    Permalink

    Contains definitions for fields as used in mining models.

    Contains definitions for fields as used in mining models. It specifies the types and value ranges. These definitions are assumed to be independent of specific data sets as used for training or scoring a specific model.

  7. class DataField extends AbstractField with PmmlElement

    Permalink

    Defines a field as used in mining models.

    Defines a field as used in mining models. It specifies the types and value ranges.

  8. class Decision extends PmmlElement

    Permalink
  9. class Decisions extends PmmlElement

    Permalink

    The Decisions element contains an element Decision for every possible value of the decision.

  10. abstract class Dictionary[T <: Field] extends Seq[T] with HasField

    Permalink
  11. abstract class Field extends HasDataType with HasOpType with Attribute

    Permalink

    Abstract class for field in a PMML.

  12. trait FieldScope extends HasField

    Permalink
  13. sealed trait FieldType extends AnyRef

    Permalink
  14. trait HasField extends AnyRef

    Permalink
  15. trait HasFieldScope extends AnyRef

    Permalink
  16. trait HasInvalidValues extends AnyRef

    Permalink
  17. trait HasLabels extends AnyRef

    Permalink
  18. trait HasMiningSchema extends AnyRef

    Permalink
  19. trait HasMissingValues extends AnyRef

    Permalink
  20. trait HasOutput extends AnyRef

    Permalink
  21. trait HasOutputFields extends AnyRef

    Permalink

    The Output section in the model specifies names for columns in an output table and describes how to compute the corresponding values.

  22. trait HasTargetFields extends AnyRef

    Permalink
  23. trait HasTargets extends AnyRef

    Permalink
  24. trait HasUsageType extends AnyRef

    Permalink
  25. trait HasValidValues extends AnyRef

    Permalink
  26. class ImmutableCategoricalAttribute extends CategoricalAttribute

    Permalink
  27. class MiningField extends HasUsageType with PmmlElement

    Permalink

    MiningFields also define the usage of each field (active, supplementary, target, ...) as well as policies for treating missing, invalid or outlier values.

  28. class MiningSchema extends HasTargetFields with PmmlElement

    Permalink

    The MiningSchema is the Gate Keeper for its model element.

    The MiningSchema is the Gate Keeper for its model element. All data entering a model must pass through the MiningSchema. Each model element contains one MiningSchema which lists fields as used in that model. While the MiningSchema contains information that is specific to a certain model, the DataDictionary contains data definitions which do not vary per model. The main purpose of the MiningSchema is to list the fields that have to be provided in order to apply the model.

  29. trait MutableAttribute extends Attribute with MutableValueIndexer

    Permalink
  30. class MutableCategoricalAttribute extends CategoricalAttribute

    Permalink
  31. class MutableFieldScope[T <: Field] extends FieldScope

    Permalink
  32. trait MutableValueIndexer extends ValueIndexer

    Permalink
  33. class Output extends HasOutputFields with HasField with PmmlElement

    Permalink

    Output element describes a set of result values that can be returned from a model.

  34. class OutputField extends AbstractField with PmmlElement

    Permalink

    OutputField elements specify names, types and rules for calculating specific result features.

    OutputField elements specify names, types and rules for calculating specific result features. This information can be used while writing an output table.

  35. class Target extends PmmlElement

    Permalink

    Note that castInteger, min, max, rescaleConstant and rescaleFactor only apply to models of type regression.

    Note that castInteger, min, max, rescaleConstant and rescaleFactor only apply to models of type regression. Furthermore, they must be applied in sequence, which is:

    min and max rescaleFactor rescaleConstant castInteger

  36. class TargetValue extends PmmlElement

    Permalink

  37. class Targets extends HasTargetFields with PmmlElement

    Permalink
  38. trait ValueIndexer extends AnyRef

    Permalink
  39. class WrappedField extends Field

    Permalink

    Defines the wrapped field that contains an internal field acts all operations.

Value Members

  1. object Algorithm extends Enumeration

    Permalink

    Specifies which scoring algorithm to use when computing the output value.

    Specifies which scoring algorithm to use when computing the output value. It applies only to Association Rules models.

  2. object Attribute extends Serializable

    Permalink
  3. object AttributeType

    Permalink
  4. object CastInteger extends Enumeration

    Permalink

    If a regression model should predict integers, use the attribute castInteger to control how decimal places should be handled.

  5. object CategoricalAttribute extends Serializable

    Permalink
  6. object ContinuousAttribute extends Serializable

    Permalink
  7. object DataDictionary extends Serializable

    Permalink
  8. object FieldType

    Permalink
  9. object InvalidValueTreatment extends Enumeration

    Permalink

    This field specifies how invalid input values are handled.

    This field specifies how invalid input values are handled.

    • returnInvalid is the default and specifies that, when an invalid input is encountered, the model should return a value indicating an invalid result has been returned.
    • asIs means to use the input without modification.
    • asMissing specifies that an invalid input value should be treated as a missing value and follow the behavior specified by the missingValueReplacement attribute if present (see above). If asMissing is specified but there is no respective missingValueReplacement present, a missing value is passed on for eventual handling by successive transformations via DerivedFields or in the actual mining model. - asValue specifies that an invalid input value should be replaced with the value specified by attribute invalidValueReplacement which must be present in this case, or the PMML is invalid.
  10. object MissingValueTreatment extends Enumeration

    Permalink

    In a PMML consumer this field is for information only, unless the value is returnInvalid, in which case if a missing value is encountered in the given field, the model should return a value indicating an invalid result; otherwise, the consumer only looks at missingValueReplacement - if a value is present it replaces missing values.

    In a PMML consumer this field is for information only, unless the value is returnInvalid, in which case if a missing value is encountered in the given field, the model should return a value indicating an invalid result; otherwise, the consumer only looks at missingValueReplacement - if a value is present it replaces missing values. Except as described above, the missingValueTreatment attribute just indicates how the missingValueReplacement was derived, but places no behavioral requirement on the consumer.

  11. object OutlierTreatmentMethod extends Enumeration

    Permalink

    Outliers

    Outliers

    • asIs: field values treated at face value.
    • asMissingValues: outlier values are treated as if they were missing.
    • asExtremeValues: outlier values are changed to a specific high or low value defined in MiningField.
  12. object OutputField extends Serializable

    Permalink
  13. object RankBasis extends Enumeration

    Permalink

    Applies only to Association Rules and is used to specify which criterion is used to sort the output result.

    Applies only to Association Rules and is used to specify which criterion is used to sort the output result. For instance, the result could be sorted by the confidence, support or lift of the rules.

  14. object RankOrder extends Enumeration

    Permalink

    Determines the sorting order when ranking the results.

    Determines the sorting order when ranking the results. The default behavior (rankOrder="descending") indicates that the result with the highest rank will appear first on the sorted list.

  15. object ResultFeature extends Enumeration

    Permalink

    Result Features

  16. object RuleFeature extends Enumeration

    Permalink

    Specifies which feature of an association rule to return.

    Specifies which feature of an association rule to return. This attribute has been deprecated as of PMML 4.2. The rule feature values can now be specified in the feature attribute.

    Annotations
    @PmmlDeprecated( "4.2" )
  17. object TypelessAttribute extends Attribute

    Permalink
  18. object UsageType extends Enumeration

    Permalink

    Usage type

    Usage type

    • active: field used as input (independent field).
    • target: field that was used a training target for supervised models.
    • predicted: field whose value is predicted by the model. As of PMML 4.2, this is deprecated and it has been replaced by the usage type target.
    • supplementary: field holding additional descriptive information. Supplementary fields are not required to apply a model. They are provided as additional information for explanatory purpose, though. When some field has gone through preprocessing transformations before a model is built, then an additional supplementary field is typically used to describe the statistics for the original field values.
    • group: field similar to the SQL GROUP BY. For example, this is used by AssociationModel and SequenceModel to group items into transactions by customerID or by transactionID.
    • order: This field defines the order of items or transactions and is currently used in SequenceModel and TimeSeriesModel. Similarly to group, it is motivated by the SQL syntax, namely by the ORDER BY statement.
    • frequencyWeight and analysisWeight: These fields are not needed for scoring, but provide very important information on how the model was built. Frequency weight usually has positive integer values and is sometimes called "replication weight". Its values can be interpreted as the number of times each record appears in the data. Analysis weight can have fractional positive values, it could be used for regression weight in regression models or for case weight in trees, etc. It can be interpreted as different importance of the cases in the model. Counts in ModelStats and Partitions can be computed using frequency weight, mean and standard deviation values can be computed using both weights.

Inherited from AnyRef

Inherited from Any

Ungrouped