TimeSeriesClassificationActivationFunctions

Provides some activation functions useful in time series classification.
___
reference:
github.com/PYFTS/pyFTS/blob/master/pyFTS/common/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 Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.
Haftungsausschluss
Pine Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.