RicardoSantos

TimeSeriesClassificationActivationFunctions

Library "TimeSeriesClassificationActivationFunctions"
Provides some activation functions useful in time series classification.
___

reference:
github.com/PYFTS/pyF...ommon/Activations.py

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.
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.