struct
Memo::Clustering::Cluster
- Memo::Clustering::Cluster
- Struct
- Value
- Object
Overview
Cluster of consecutive sources with similar embeddings.
Defined in:
memo/clustering.crConstructors
Instance Method Summary
-
#end_id : Int64
Last source's external_id in the cluster
-
#size : Int32
Number of sources in the cluster
-
#source_ids : Array(Int64)
All external_ids in the cluster (in order)
-
#start_id : Int64
First source's external_id in the cluster
Constructor Detail
def self.new(start_id : Int64, end_id : Int64, source_ids : Array(Int64), size : Int32)
#