FeatureDescriptors

FeatureDescriptors.DescriptorType
Descriptor

The Descriptors interface lets users define the properties and relationships between the features being used in their models or other data-intensive workflows.

Descriptor supertypes define some general properties that can be overloaded for specific subtypes as required, such as the tables to load or the quantitative variable to use.

Users may define their own Descriptor` type system for their own purposes but must extend the following methods:

  • sources: The sources for the data needed to build the Desriptor feature.
  • quantity_key: The quantitative variable for the Descriptor.
  • categorical_keys: The categorical variables for the Descriptor.
FeatureDescriptors.parentsMethod
parents(D::Descriptor) -> Vector

Returns the parent Descriptor for each table names returned from sources. Similar to Base.parent, we return input D when there is no parent for a source.

FeatureDescriptors.sourcesFunction
sources(::Descriptor) -> Vector{String}

Returns the data sources for the Descriptor, e.g. the names or paths to the tables containing the required data: ["temperature.csv", "locations.csv"].

TestUtils

Index