• Produk
  • Komunitas
  • Pasar
  • Broker
  • Lebih lanjut
Mulai
  • Komunitas
  • /Indikator dan strategi
  • /Cluster

Cluster

SignalProcessingClusteringKMeansLibrary "SignalProcessingClusteringKMeans" K-Means Clustering Method. nearest(point_x, point_y, centers_x, centers_y) finds the nearest center to a point and returns its distance and center index. Parameters: point_x : float, x coordinate of point. point_y : float, y coordinate of point. centers_x : float array, x coordinates of cluster centers. centers_y : float array, y coordinates of cluster centers. @ returns tuple of int, float. bisection_search(samples, value) Bissection Search Parameters: samples : float array, weights to compare. value : float array, weights to compare. Returns: int. label_points(points_x, points_y, centers_x, centers_y) labels each point index with cluster index and distance. Parameters: points_x : float array, x coordinates of points. points_y : float array, y coordinates of points. centers_x : float array, x coordinates of points. centers_y : float array, y coordinates of points. Returns: tuple with int array, float array. kpp(points_x, points_y, n_clusters) K-Means++ Clustering adapted from Andy Allinger. Parameters: points_x : float array, x coordinates of the points. points_y : float array, y coordinates of the points. n_clusters : int, number of clusters. Returns: tuple with 2 arrays, float array, int array.
Perpustakaan Pine Script®
oleh RicardoSantos
88

Pilih data pasar yang disediakan oleh ICE Data Services. Pilih data referensi yang disediakan oleh FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Lebih dari sekadar produk
  • Superchart
Penyaring
  • Saham
  • ETF
  • Obligasi
  • Koin crypto
  • Pasangan CEX
  • Pasangan DEX
  • Pine
Heatmap
  • Saham
  • ETF
  • Crypto
Kalender
  • Ekonomis
  • Perolehan
  • Dividen
Produk lainnya
  • Kurva Imbal Hasil
  • Options
  • Aliran berita
  • Skrip Pine®
Aplikasi
  • Mobile
  • Desktop
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Peralatan & langganan
  • Fitur-fitur
  • Harga Akun
  • Data pasar
Trading
  • Ikhtisar
  • Broker
Penawaran spesial
  • Kontrak berjangka CME Group
  • Kontrak berjangka Eurex
  • Bundel saham AS
Tentang perusahaan
  • Tentang kami
  • Misi luar angksa
  • Blog
  • Karir
  • Media kit
Merchandise
  • Toko TradingView
  • Kartu tarot untuk trader
  • C63 TradeTime
Kebijakan & keamanan
  • Syarat penggunaan
  • Pernyataan Penyangkalan
  • Kebijakan Privasi
  • Kebijakan Cookie
  • Pernyataan Aksesibilitas
  • Tips keamanan
  • Program Pencari Bug
  • Halaman status
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Look FirstLook First