FeatureType

class database.models.FeatureType(*args, **kwargs)

Bases: database.models.custom_base_model.CustomBaseModel

A category of Feature of which ExtractedFeatures are instances.

name

models.CharField – The name of the FeatureType

code

models.CharField – The jSymbolic code of the FeatureType

description

models.TextField – A description of the FeatureType

is_sequential

models.NullBooleanField – Whether a feature can be extracted from sequential windows of a data instance (e.g. individual measures, sections, etc); a value of true means that it can, a value of false means that only one feature value may be extracted per instance (i.e. per symbolic feature file)

dimensions

models.PositiveIntegerField – The number of dimensions of the FeatureType

min_val

models.FloatField – The minimum value of this FeatureType across all files that have this feature

max_val

models.FloatField – The maximum value of this FeatureType across all files that have this feature

instances

models.ManyToOneRel – The ExtractedFeature objects that are instances of this FeatureType

Attributes Summary

code A wrapper for a deferred-loading field.
description A wrapper for a deferred-loading field.
dimensions A wrapper for a deferred-loading field.
group Get the human readable group from the code of this FeatureType
id A wrapper for a deferred-loading field.
instances Accessor to the related objects manager on the reverse side of a many-to-one relation.
is_sequential A wrapper for a deferred-loading field.
max_val A wrapper for a deferred-loading field.
min_val A wrapper for a deferred-loading field.
name A wrapper for a deferred-loading field.
objects

Methods Summary

get_next_by_date_created(*[, field, is_next])
get_next_by_date_updated(*[, field, is_next])
get_previous_by_date_created(*[, field, is_next])
get_previous_by_date_updated(*[, field, is_next])
max_and_min() Update the max and min values of this FeatureType

Attributes Documentation

code

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dimensions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

group

Get the human readable group from the code of this FeatureType

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

instances

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

is_sequential

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

max_val

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

min_val

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>

Methods Documentation

get_next_by_date_created(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=True, **kwargs)
get_next_by_date_updated(*, field=<django.db.models.fields.DateTimeField: date_updated>, is_next=True, **kwargs)
get_previous_by_date_created(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=False, **kwargs)
get_previous_by_date_updated(*, field=<django.db.models.fields.DateTimeField: date_updated>, is_next=False, **kwargs)
max_and_min() → None

Update the max and min values of this FeatureType