PINE LIBRARY
已更新 FunctionNNLayer

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', name of the activation function used.
bias: float, default=1.0, bias to pass into activation function.
alpha: float, default=na, if required to pass into activation function.
scale: float, default=na, if required to pass into activation function.
Returns: float
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', name of the activation function used.
bias: float, default=1.0, bias to pass into activation function.
alpha: float, default=na, if required to pass into activation function.
scale: float, default=na, if required to pass into activation function.
Returns: float
版本注释
v2 Support for matricesUpdated:
function(inputs, weights, n_nodes, activation_function, bias, alpha, scale) Generalized Layer.
Parameters:
inputs: float array, input values.
weights: float matrix, weight values.
n_nodes: int, number of nodes in layer.
activation_function: string, default='sigmoid', name of the activation function used.
bias: float, default=1.0, bias to pass into activation function.
alpha: float, default=na, if required to pass into activation function.
scale: float, default=na, if required to pass into activation function.
Returns: float
Pine脚本库
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine脚本库
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.