Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	File size: 4,102 Bytes
			
			e2d09ed  | 
								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  | 
								digraph ImagePredictionFlow {
    graph [fontname="Arial", fontsize="10", rankdir="TB"]; // Top-to-Bottom, Reduced Width
    node [shape="rect", style="rounded,filled", fontname="Arial", fontsize="10", fillcolor="lightblue", gradientangle="90"];
    edge [fontname="Arial", fontsize="8"];
    A [label="User Upload,\nPredict", fillcolor="lightgreen"]; //Shorter Label
    B [label="Img Pre-proc,\nAgent Init", fillcolor="lightyellow"];
    subgraph cluster_models {
        label = "Model Ensemble";
        style = "dashed";
        ImageIn [shape=point, label="", width=0, height=0];
        Model1 [label="Model1", fillcolor="lightcoral"];   //Shorter Labels
        Model2 [label="Model2", fillcolor="lightcoral"];
        Model3 [label="Model3", fillcolor="lightcoral"];
        Model4 [label="Model4", fillcolor="lightcoral"];
        Model5 [label="Model5", fillcolor="lightcoral"];
        Model6 [label="Model6", fillcolor="lightcoral"];
        Model7 [label="Model7", fillcolor="lightcoral"];
        WeightedConsensusInput [label="Model Results", fillcolor="lightyellow"];  //Shorter Label
        ImageIn -> Model1;  ImageIn -> Model2;  ImageIn -> Model3;  ImageIn -> Model4;  ImageIn -> Model5;  ImageIn -> Model6;  ImageIn -> Model7;
        Model1 -> WeightedConsensusInput;  Model2 -> WeightedConsensusInput; Model3 -> WeightedConsensusInput; Model4 -> WeightedConsensusInput; Model5 -> WeightedConsensusInput; Model6 -> WeightedConsensusInput; Model7 -> WeightedConsensusInput;
    }
    ContextualIntelligenceAgent [label="Contextual\nIntelligence Agent", fillcolor="lightcyan"]; //Shorter Label
    BaggingAgent [label="BaggingAgent", fillcolor="lightcyan"];        //Shorter Label
    DeepEnsembleAgent [label="DeepEnsemble\nAgent", fillcolor="lightcyan"];        //Shorter Label
    EvolutionEnsembleAgent [label="EvolutionEnsemble\nAgent", fillcolor="lightcyan"];       //Shorter Label
    WeightManager [label="Weight\nManager", fillcolor="lightcyan"];    //Shorter Label
    WeightedConsensus [label="Weighted\nConsensus", fillcolor="lightgreen"];
    OptimizeAgent [label="Weight\nOpt Agent", fillcolor="lightcyan"];        //Shorter Label
    subgraph cluster_forensics {
        label = "Forensic Analysis";
        style = "dashed";
        ForensicIn [shape=point, label="", width=0, height=0];
        GradientProcessing [label="Gradient\nProcessing", fillcolor="lightpink"];      //Shorter Labels
        MinMaxProcessing [label="MinMax\nProcessing", fillcolor="lightpink"];
        ELAPorcessing [label="ELAPorcessing", fillcolor="lightpink"];
        BitPlaneExtraction [label="BitPlane\nExtraction", fillcolor="lightpink"];
        WaveletBasedNoiseAnalysis [label="Wavelet\nNoise Analysis", fillcolor="lightpink"];
        AnomalyAgent [label="Anomaly\nDetection", fillcolor="lightcyan"];        //Shorter Label
        ForensicIn -> GradientProcessing;  ForensicIn -> MinMaxProcessing;  ForensicIn -> ELAPorcessing;  ForensicIn -> BitPlaneExtraction;  ForensicIn -> WaveletBasedNoiseAnalysis;
        GradientProcessing -> AnomalyAgent;  MinMaxProcessing -> AnomalyAgent;  ELAPorcessing -> AnomalyAgent;  BitPlaneExtraction -> AnomalyAgent;  WaveletBasedNoiseAnalysis -> AnomalyAgent;
    }
    DataLoggingAndOutput [label="Data Logging\nOutput", fillcolor="lightsalmon"];//Shorter Label
    ResultsDisplay [label="Results", fillcolor="lightgreen"];    //Shorter Label
    // Connections
    A -> B;
    B -> ImageIn;
    WeightedConsensusInput -> ContextualIntelligenceAgent;  WeightedConsensusInput -> BaggingAgent;  WeightedConsensusInput -> DeepEnsembleAgent;  WeightedConsensusInput -> EvolutionEnsembleAgent;  // Connect agents
    ContextualIntelligenceAgent -> WeightManager;  BaggingAgent -> WeightManager;  DeepEnsembleAgent -> WeightManager;  EvolutionEnsembleAgent -> WeightManager;      //  Agents to WM
    WeightManager -> WeightedConsensus;
    WeightedConsensus -> OptimizeAgent;  OptimizeAgent -> WeightManager;
    WeightedConsensus -> ForensicIn;  AnomalyAgent -> DataLoggingAndOutput;
    DataLoggingAndOutput -> ResultsDisplay;
}
 |