RicardoSantos

MathStatisticsKernelFunctions

Library "MathStatisticsKernelFunctions"
TODO: add library description here

uniform(distance, bandwidth) Uniform kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

triangular(distance, bandwidth) Triangular kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

epanechnikov(distance, bandwidth) Epanechnikov kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

quartic(distance, bandwidth) Quartic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

triweight(distance, bandwidth) Triweight kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

tricubic(distance, bandwidth) Tricubic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

gaussian(distance, bandwidth) Gaussian kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

cosine(distance, bandwidth) Cosine kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

logistic(distance, bandwidth) logistic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

sigmoid(distance, bandwidth) Sigmoid kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

select(kernel, distance, bandwidth) Kernel selection method.
Parameters:
  • kernel: string, kernel to select. (options="uniform", "triangle", "epanechnikov", "quartic", "triweight", "tricubic", "gaussian", "cosine", "logistic", "sigmoid")
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.
ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ