> For the complete documentation index, see [llms.txt](https://bonspiel-games.gitbook.io/cortex-unity-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bonspiel-games.gitbook.io/cortex-unity-plugin/training/core-training-methods.md).

# Core Training Methods

List of primary training methods available in the Training Handler class

| Parameter | Description                                                                                                                                                              |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| action    | Name of the target action, must be in the set specific by detection info. Use [MentalCommandNames](/cortex-unity-plugin/training.md#mental-command-names) for simplicity |

## Start

Initiate a training sample.

-> [Training Started](/cortex-unity-plugin/training/system-events.md#training-started)

```csharp
void Start(string action);
```

## Accept

Accept a successful training sample.

-> [Training Completed](/cortex-unity-plugin/training/system-events.md#training-completed)

```csharp
void Accept(string action);
```

## Reject

Reject a successful training sample.

-> [Training Rejected](/cortex-unity-plugin/training/system-events.md#training-rejected)

```csharp
void Reject(string action);
```

## Cancel

Cancel an in progress sample.

-> [Training Cancelled](/cortex-unity-plugin/training/system-events.md#training-cancelled)

```csharp
void Cancel(string action)
```

## Erase

Erase all training data for this action.

-> [Data Erased](/cortex-unity-plugin/training/system-events.md#data-erased)

```csharp
void Erase(string action);
```

## Save Profile

Save the training progress of this headset to the profile. If the profile is the one currently loaded to the headset, the profile is saved. If no profile with the given name exists, a new profile is created.

-> [Profile Saved](/cortex-unity-plugin/profiles/events.md#profilesaved)

```csharp
void SaveProfile(string profileName, string headsetId);
```
