tecton.FeatureVector
A FeatureVector is a representation of a single feature vector. Usage of a
FeatureVector typically involves extracting the feature vector using
to_pandas(), to_dict(), or to_numpy().
Methodsโ
| Name | Description |
|---|---|
to_dict(...) | Turns vector into a Python dict. |
to_numpy(...) | Turns vector into a numpy array. |
to_pandas(...) | Turns vector into a Pandas DataFrame. |
__init__(...)โ
Parametersโ
namesvalueseffective_timesslo_info(Default:None)
to_dict(...)โ
Parametersโ
return_effective_times:False
Turns vector into a Python dict.
Parametersโ
return_effective_times: Whether to return the effective time of the feature.
Returnsโ
A Python dict.
to_numpy(...)โ
Turns vector into a numpy array.
Parametersโ
return_effective_times: Whether to return the effective time of the feature as
part of the list. (Default: False)
Returnsโ
A numpy array.
to_pandas(...)โ
Turns vector into a Pandas DataFrame.
Parametersโ
return_effective_times: Whether to return the effective time of the feature as
part of the DataFrame. (Default: False)
Returnsโ
A Pandas DataFrame.