İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Kod, Git ve Geliştirici Araçları

Kod, Git ve Geliştirici Araçları

Anomali tespiti için Qdrant medoidlerini kur

Çalıştırdığınızda Qdrant küme mesafeleri hesaplanır ve tarım ürünü görsellerinde anomali tespitinde kullanılmak üzere medoid vektörleri seçilir.

Ne yapar

Here we're extracting and gathering all the information about crop clusters, so we can call Qdrant distance matrix API for each cluster. We're propagating the biggest cluster size (of labeled data, in our case all data is labeled; for real use cases don't call distance matrix API if your labeled data is more than a couple of hundreds), the number of unique crop values and unique crop values themselves. We will run the algorithm once per unique crop cluster (to find it's center and threshold).

Adımlar

  1. When clicking ‘Test workflow’
  2. Total Points in Collection
  3. Cluster Distance Matrix
  4. Scipy Sparse Matrix
  5. Set medoid id
  6. Get Medoid Vector
  7. Prepare for Searching Threshold
  8. Searching Score
  9. Threshold Score
  10. Set medoid threshold score
  11. Split Out1
  12. Merge
  13. Textual (visual) crop descriptions
  14. Embed text

Toplam 26 adım.

Benzer otomasyonlar