> ## Documentation Index
> Fetch the complete documentation index at: https://systematica.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Base

> systematica.portfolio.trackers.base

## `BaseTracker`

```python theme={null}
BaseTracker()
```

Abstract base class for trackers.

### Ancestors

* `abc.ABC`

### Descendants

* `systematica.portfolio.trackers.neptune_ai.NeptuneTracker`

### Methods

#### `run_study`

```python theme={null}
run_study(
    self,
    objective: Callable,
    create_study_kwargs: Dict[str, Any],
    optimize_kwargs: Dict[str, Any],
) ‑> optuna.study.study.Study
```

Run study.

**Parameters**:

| Name                  | Type          | Default | Description                                      |
| --------------------- | ------------- | ------- | ------------------------------------------------ |
| `objective`           | `tp.Callable` | `--`    | The objective function to be optimized.          |
| `create_study_kwargs` | `tp.Kwargs`   | `--`    | Keyword arguments for creating the Optuna study. |
| `optimize_kwargs`     | `tp.Kwargs`   | `--`    | Keyword arguments for the optimization process.  |

**Returns**:

| Type           | Description                                              |
| -------------- | -------------------------------------------------------- |
| `optuna.Study` | The Optuna study object containing optimization results. |

## `BaseCustomNeptuneCallback`

```python theme={null}
BaseCustomNeptuneCallback(
    run: neptune.metadata_containers.run.Run,
    **kwargs,
)
```

Abstract base class for custom Neptune.ai tracker callback.

This class extends Neptune's callback functionality to track Optuna trials
and log them to Neptune.ai.

Initialize the Neptune custom callback.

**Parameters**:

| Name     | Type          | Default | Description                                          |
| -------- | ------------- | ------- | ---------------------------------------------------- |
| `run`    | `neptune.Run` | `--`    | Neptune run instance for logging.                    |
| `kwargs` | `tp.Kwargs`   | `--`    | Additional keyword arguments passed to parent class. |

### Ancestors

* `abc.ABC`
* `systematica.portfolio.trackers.custom_neptune_ai.NeptuneCallback`

### Descendants

* `systematica.portfolio.trackers.custom_neptune_callbacks.CustomCallback`
