File size: 1,965 Bytes
ebcde1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
"""Leakage-safe research datasets, time splits, and transparent models."""

from microstructure.research.features import (
    ResearchDataError,
    TemporalAudit,
    TemporalLeakageError,
    add_future_event_labels,
    build_l1_trade_features,
    build_research_features,
    build_research_frame,
    model_feature_columns,
    validate_temporal_contract,
)
from microstructure.research.l2_analysis import (
    L2DescriptiveAnalysis,
    build_l2_descriptive_analysis,
)
from microstructure.research.l2_multidate import (
    L2EndpointSpec,
    L2ObservedInterval,
    L2RegimeFit,
    L2ResearchError,
    apply_l2_regimes,
    build_l2_endpoint_frames,
    dependency_block_expression,
    fit_l2_regime_thresholds,
    l2_model_feature_columns,
)
from microstructure.research.models import (
    BootstrapResult,
    ModelLadderResult,
    block_bootstrap_metric,
    classification_metrics,
    evaluate_model_ladder,
    paired_block_bootstrap_difference,
)
from microstructure.research.splits import (
    PurgedFold,
    SplitError,
    WalkForwardPlan,
    expanding_walk_forward_splits,
)

__all__ = [
    "BootstrapResult",
    "L2DescriptiveAnalysis",
    "L2EndpointSpec",
    "L2ObservedInterval",
    "L2RegimeFit",
    "L2ResearchError",
    "ModelLadderResult",
    "PurgedFold",
    "ResearchDataError",
    "SplitError",
    "TemporalAudit",
    "TemporalLeakageError",
    "WalkForwardPlan",
    "add_future_event_labels",
    "apply_l2_regimes",
    "block_bootstrap_metric",
    "build_l1_trade_features",
    "build_l2_descriptive_analysis",
    "build_l2_endpoint_frames",
    "build_research_features",
    "build_research_frame",
    "classification_metrics",
    "dependency_block_expression",
    "evaluate_model_ladder",
    "expanding_walk_forward_splits",
    "fit_l2_regime_thresholds",
    "l2_model_feature_columns",
    "model_feature_columns",
    "paired_block_bootstrap_difference",
    "validate_temporal_contract",
]