src.core.memory_advanced module#

Enhanced Memory System for Marcus.

Extends the base Memory system with advanced prediction capabilities including confidence intervals, complexity adjustments, and time-based relevance weighting.

class src.core.memory_advanced.MemoryAdvanced[source]#

Bases: Memory

Advanced memory system with improved predictions and learning algorithms.

__init__(*args, **kwargs)[source]#

Initialize enhanced memory system.

Parameters:
Return type:

None

async predict_task_outcome_v2(agent_id, task)[source]#

Enhanced prediction with confidence intervals and complexity adjustments.

Returns predictions with: - Confidence intervals based on sample size - Complexity-adjusted success probability - Time-based relevance weighting - Risk factor analysis

Return type:

Dict[str, Any]

Parameters:
async predict_with_ml(agent_id, task)[source]#

Future: Use ML model for predictions (placeholder for now).

Return type:

Dict[str, Any]

Parameters: