MLFeature
abstract class NatML.MLFeature
Last updated
Was this helpful?
abstract class NatML.MLFeature
Last updated
Was this helpful?
The MLFeature
class is an abstract base class representing input and output features used in making predictions. All predictors accept one or more features, which are then provided to the model to make predictions.
NatML provides implicit conversions from common data types into MLFeature
instances:
NatML provides an implicit conversion from a float[]
to an .
When this conversion is used, the created feature will have no shape
information.
NatML provides an implicit conversion from a to an .
The class will handle any conversions of pixel data to match a model's required .
NatML provides an implicit conversion from a to an .
NatML provides an implicit conversion from an to an .
NatML provides an implicit conversion from a string
to an .
Every feature has a corresponding that provides information about the feature's shape, data type, and so on.