|
NoJobEngine 2.0.7
|
Supervised training presets and live neural diagnostics for gameplay agents. More...
#include "Engine/AI/Neural/NeuralNetwork.h"#include "Engine/AI/Neural/NeuralAssetPaths.h"#include <algorithm>#include <cmath>#include <filesystem>#include <mutex>#include <string>#include <unordered_map>#include <vector>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | NoJob::NeuralAgent::Snapshot |
| A copy of neural agent inference state for editor diagnostics. More... | |
Namespaces | |
| namespace | NoJob |
| namespace | NoJob::NeuralAgent |
Enumerations | |
| enum class | NoJob::NeuralAgent::TrainingPreset { NoJob::NeuralAgent::FollowXZ = 0 , NoJob::NeuralAgent::TrackY = 1 , NoJob::NeuralAgent::Pong = 2 } |
| Supported supervised training datasets and target mappings. More... | |
Functions | |
| std::mutex & | NoJob::NeuralAgent::Mutex () |
| std::unordered_map< unsigned int, Snapshot > & | NoJob::NeuralAgent::Snapshots () |
| void | NoJob::NeuralAgent::Publish (unsigned int entity, Snapshot snapshot) |
| Publishes an entity snapshot for live AI debugging. | |
| bool | NoJob::NeuralAgent::Read (unsigned int entity, Snapshot &out) |
| Copies the latest snapshot, if one exists for the entity. | |
| void | NoJob::NeuralAgent::Clear (unsigned int entity) |
| Removes diagnostics when an agent is destroyed or reset. | |
| std::vector< std::vector< float > > | NoJob::NeuralAgent::Activations (const Neural::NeuralNetwork &net, const std::vector< float > &input) |
| const char * | NoJob::NeuralAgent::PresetLabel (TrainingPreset p) |
| Neural::TrainingHistory | NoJob::NeuralAgent::TrainPreset (const std::string &outputName, const std::string &sourceName, TrainingPreset preset, int epochs, float learningRate, bool resume, bool overwrite) |
| Trains a preset model and saves it independently of the active model. | |
| Neural::TrainingHistory | NoJob::NeuralAgent::TrainDirectionModel (const std::string &name, int epochs, float learningRate, bool resume=false, bool overwrite=false) |
Supervised training presets and live neural diagnostics for gameplay agents.
Definition in file NeuralAgentTraining.h.