File size: 2,346 Bytes
31226fd
 
 
 
 
 
 
 
 
 
 
9d98328
 
 
 
 
 
 
 
 
 
 
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d98328
 
 
 
 
 
 
 
 
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
77
78
79
80
81
82
83
84
85
"""Learning and plasticity for MHRN.

This package provides:
- Pair-based STDP (isolated and production variants)
- Reward-modulated plasticity
- Independent prediction-error modulation
- Eligibility traces
- Learning engine for network integration
- Guarded learning-preparation contracts
"""

from .contract import (
    LEARNING_CONTRACT_ID,
    LEARNING_CONTRACT_STATUS,
    LEARNING_CPU_REFERENCE,
    LEARNING_CUDA_STATUS,
    LearningContractState,
    learning_contract_check,
    learning_contract_descriptor,
    learning_contract_hash,
    learning_contract_status,
)
from .eligibility import EligibilityTrace, create_eligibility_trace
from .learning_engine import LearningEngine, LearningParameters, LearningStats
from .prediction_error import (
    PredictionErrorPlasticity,
    PredictionErrorPlasticityConfig,
    PredictionErrorPlasticityError,
    PredictionErrorPlasticityStats,
    PredictionErrorSignal,
)
from .preparation import (
    LearningDataPartition,
    LearningObjective,
    LearningPlanOrigin,
    LearningPreparationGuard,
    LearningPreparationProposal,
    LearningPreparationService,
    LearningSourceRef,
    PreparedLearningPlan,
)
from .reward import RewardSignal, create_reward
from .stdp_plugin import STDPParameters, STDPSynapse, create_stdp_synapse

__all__ = [
    "LEARNING_CONTRACT_ID",
    "LEARNING_CONTRACT_STATUS",
    "LEARNING_CPU_REFERENCE",
    "LEARNING_CUDA_STATUS",
    "LearningContractState",
    "learning_contract_check",
    "learning_contract_descriptor",
    "learning_contract_hash",
    "learning_contract_status",
    # STDP
    "STDPParameters",
    "STDPSynapse",
    "create_stdp_synapse",
    # Reward
    "RewardSignal",
    "create_reward",
    # Prediction Error
    "PredictionErrorPlasticity",
    "PredictionErrorPlasticityConfig",
    "PredictionErrorPlasticityError",
    "PredictionErrorPlasticityStats",
    "PredictionErrorSignal",
    # Learning Engine
    "LearningEngine",
    "LearningParameters",
    "LearningStats",
    # Eligibility
    "EligibilityTrace",
    "create_eligibility_trace",
    # Learning Preparation
    "LearningDataPartition",
    "LearningObjective",
    "LearningPlanOrigin",
    "LearningPreparationGuard",
    "LearningPreparationProposal",
    "LearningPreparationService",
    "LearningSourceRef",
    "PreparedLearningPlan",
]