method scale(dist, weights) Activate values by a normalized scale. Namespace types: map<int, float> Parameters: dist (map<int, float>): Source distribution map. weights (map<int, float>): Weights distribution map. Returns: Normalized distribution map.
method softmax(dist, weights) Activate values with a softmax algorithm. Namespace types: map<int, float> Parameters: dist (map<int, float>): Source distribution map. weights (map<int, float>): Weights distribution map. Returns: Normalized distribution map.
method argmax(dist, weights) Activate values with a argmax algorithm. Namespace types: map<int, float> Parameters: dist (map<int, float>): Source distribution map. weights (map<int, float>): Weights distribution map. Returns: first key of argmax value of the transformed distribution.
كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشور تحكمه قوانين الموقع.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.