docs.unity3d.com
    Show / Hide Table of Contents

    Namespace Unity.MLAgents

    Classes

    Academy

    The Academy singleton manages agent training and decision making.

    Agent

    An agent is an actor that can observe its environment, decide on the best course of action using those observations, and execute those actions within the environment.

    DecisionRequester

    The DecisionRequester component automatically request decisions for an Agent instance at regular intervals.

    DiscreteActionMasker

    The DiscreteActionMasker class represents a set of masked (disallowed) actions and provides utilities for setting and retrieving them.

    EnvironmentParameters

    A container for the Environment Parameters that may be modified during training. The keys for those parameters are defined in the trainer configurations and the the values are generated from the training process in features such as Curriculum Learning and Environment Parameter Randomization.

    One current assumption for all the environment parameters is that they are of type float.

    StatsRecorder

    Add stats (key-value pairs) for reporting. These values will sent these to a StatsReporter instance, which means the values will appear in the TensorBoard summary, as well as trainer gauges. You can nest stats in TensorBoard by adding "/" in the name (e.g. "Agent/Health" and "Agent/Wallet"). Note that stats are only written to TensorBoard each summary_frequency steps (a trainer configuration). If a stat is received multiple times, within that period then the values will be aggregated using the StatAggregationMethod provided.

    UnityAgentsException

    Contains exceptions specific to ML-Agents.

    Enums

    StatAggregationMethod

    Determines the behavior of how multiple stats within the same summary period are combined.

    In This Article
    • Classes
    • Enums
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023