Library "FunctionNNLayer" Generalized Neural Network Layer method. function(inputs, weights, n_nodes, activation_function, bias, alpha, scale) Generalized Layer. Parameters: inputs : float array, input values. weights : float array, weight values. n_nodes : int, number of nodes in layer. activation_function : string, default='sigmoid',...
Library "FunctionNNPerceptron" Perceptron Function for Neural networks. function(inputs, weights, bias, activation_function, alpha, scale) generalized perceptron node for Neural Networks. Parameters: inputs : float array, the inputs of the perceptron. weights : float array, the weights for inputs. bias : float, default=1.0, the default bias...
Library "MLActivationFunctions" Activation functions for Neural networks. binary_step(value) Basic threshold output classifier to activate/deactivate neuron. Parameters: value : float, value to process. Returns: float linear(value) Input is the same as output. Parameters: value : float, value to process. Returns: float sigmoid(value) ...
Library "MLLossFunctions" Methods for Loss functions. mse(expects, predicts) Mean Squared Error (MSE) " MSE = 1/N * sum ((y - y')^2) ". Parameters: expects : float array, expected values. predicts : float array, prediction values. Returns: float binary_cross_entropy(expects, predicts) Binary Cross-Entropy Loss (log). Parameters: ...
Library "Double_Triple_EMA" Provides the functions to calculate Double and Triple Exponentional Moving Averages (DEMA & TEMA). dema(_source, _length) Calculates Double Exponentional Moving Averages (DEMA) Parameters: _source : -> Open, Close, High, Low, etc ('close' is used if no argument is supplied) _length : -> DEMA length Returns: Double...
This is a function that you can use in strategies. Not a strategy in and of itself. Example thumbnail is showing the function applied to a strategy. Oftentimes, I am asked a question regarding how to hold a variable at a specific, constant level over a conditional period of time. This question is always asked in a very long convoluted way like "I want the...
Hi fellow traders.. Happy to share a Linear Regression & RSI Multi-Function Custom Screener with Table-Labels... The Screener scans for Linear Regression 2-SD Breakouts and RSI OB/OS levels for the coded tickers and gives Summary alerts Uses Tables (dynamica resizing) for the scanner output instead of standard labels! This Screener cum indicator collection has...
Functions to handle Box-Cox Transform from sample data.
Some functions to handle Arithmetic Geometric Mean.
Calculates weighted mean, variance, standard deviation, MSE and RMSE from time series variables or arrays. When calculating from arrays, the function expects index 0 to be the most recent sample and weight values.
a function for relative weighted average using arrays
function to get sorted indices from a array using bubble sort.
Function to convert unix time to a datestamp string.
Function to calculate a forecast using a linear regression approach, this is the same function used on excel and other data sheet programs. reference: - support.microsoft.com - stackoverflow.com
Function to create a array from a sample taken from a series (ex:. close, hlc3...).
function to calculate Chebyshev Inequality. wich can be used to compute the probability that we will diverge from what we expect to obtain. reference: - www.omnicalculator.com - github.com - statisticstopics.wordpress.com - en.wikipedia.org
function to retrieve Gini Impurity / Gini Index. reference: - victorzhou.com - en.wikipedia.org
functions for shannon's entropy reference: - en.wiktionary.org - machinelearningmastery.com