---
description: Loads a previous trained Dark Matter algorithm from file.
---

# Load

```python
def load(self, *, path: str = "weights", project_name: str | None = None) -> "DarkMatter"
```

## Notes

* The Dark Matter class parameters must match the original algorithm trained.
