unreal.LearningAgentsActivationFunction

class unreal.LearningAgentsActivationFunction

Bases: EnumBase

Activation functions for neural networks.

C++ Source:

  • Plugin: LearningAgents

  • Module: LearningAgents

  • File: LearningAgentsNeuralNetwork.h

ELU: LearningAgentsActivationFunction

ELU Activation - Generally performs better than ReLU and is not prone to gradient collapse but slower to evaluate.

Type:

1

RE_LU: LearningAgentsActivationFunction

ReLU Activation - Fast to train and evaluate but occasionally causes gradient collapse and untrainable networks.

Type:

0

TAN_H: LearningAgentsActivationFunction

TanH Activation - Smooth activation function that is slower to train and evaluate but sometimes more stable for certain tasks.

Type:

2