Coverage for aether_quant/models.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.17.3, created at 2026-11-22 12:55 +0000

1"""Example models (V6.6.10): small networks trained on the bundled public sample, published with each GitHub release. Install one, 

2load it, score a close table with the numpy forward pass; no torch. 

3 

4 from aether_quant import models, samples 

5 models.install("example-crypto-mlp") # downloads from the latest release, checks its sha256 

6 model = models.load("example-crypto-mlp") 

7 scores = models.score(model, samples.load_sample_prices()) # date, ticker, score 

8 

9The project's own trading models are not published; `load` also opens any folder holding an exported model (your own retrain's 

10`ml/versions/<id>/`). `aq models list | install | info | score` is the same from the command line. 

11""" 

12 

13from retraining.model_catalog import ( 

14 EXAMPLES, 

15 catalog, 

16 example_dataset, 

17 example_features, 

18 install, 

19 install_zip, 

20 lab_features_frame, 

21 load, 

22 production_collisions, 

23 release_url, 

24 score, 

25 sha256_file, 

26 zip_problems, 

27) 

28 

29__all__ = [ 

30 "lab_features_frame", 

31 "EXAMPLES", 

32 "catalog", 

33 "example_dataset", 

34 "example_features", 

35 "install", 

36 "install_zip", 

37 "load", 

38 "production_collisions", 

39 "release_url", 

40 "score", 

41 "sha256_file", 

42 "zip_problems", 

43]