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.
Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.