nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.MachineLearning / Identical

Identical

Full name Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations.Identical Assembly Microsoft.VisualBasic.MachineLearning Members 4

The identity activation function: f(x) = x.

00 Remarks

This activation function is usually used by the regression model, in which the output of the neuron node should not be transformed.

01 Syntax

Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations.Identical

02 Methods

NameOverloadsSummary
Function 1 Returns the input value itself: f(x) = x.
ToString 1 Display this activation function as a text expression.
Derivative 1 The derivative of the identity function is the constant 1.

03 Properties

NameOverloadsSummary
Store 1 Gets the XML serializable data model of this identity function.

04 Members

method Function #
Function(Double)

Returns the input value itself: f(x) = x.

Parameters
NameTypeDescription
xDouble

The function input value.

Returns

The x value itself.

method ToString #
ToString

Display this activation function as a text expression.

Returns

The text expression of this identity function.

method Derivative #
Derivative(Double)

The derivative of the identity function is the constant 1.

Parameters
NameTypeDescription
xDouble

The function input value.

Returns

The constant value 1.

property Store #
Store

Gets the XML serializable data model of this identity function.

Returns

A ActiveFunction data model which its function name is Identical and no argument is required.