Make a Transformation that computes the number of times each category appears in the data. This assumes that the category set is known.
Usage
make_count_by_categories(
input_domain,
input_metric,
categories,
null_category = TRUE,
.MO = "L1Distance<int>",
.TOA = "int"
)
Details
Required features: contrib
make_count_by_categories in Rust documentation.
Citations:
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>
Output Domain:
VectorDomain<AtomDomain<TOA>>
Input Metric:
SymmetricDistance
Output Metric:
MO