# Technical Document Extraction: Image Analysis
## Section (a): ANIL (4-way 1-shot)
### Line Chart (Left)
- **Axes**:
- X-axis: Labeled "x", range [0, 1]
- Y-axis: Labeled "y", range [0, 1]
- **Legend** (Top-right corner):
- **IND**: Red lines
- **OOD**: Blue lines
- **data_type (train)**: Green lines
- **support(train)**: Purple lines
- **query(val)**: Orange lines
- **Diagonal reference**: Dashed black line (y = x)
- **Trends**:
- All lines start at the bottom-left corner (0,0) and curve upward.
- Lines representing "IND" and "OOD" reach the top-right corner (1,1) with minimal deviation.
- "data_type (train)" and "support(train)" lines plateau near y = 1 after x ≈ 0.2.
- "query(val)" lines show stepwise increases, peaking at x ≈ 0.8.
### Scatter Plot (Middle)
- **Axes**:
- X-axis: Range [-60, 60]
- Y-axis: Range [-6, 10]
- **Legend** (Top-right corner):
- **IND**: Red stars
- **OOD**: Blue circles
- **support(train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **IND** (red stars): Clustered in the lower-left quadrant (x ≈ -50 to -20, y ≈ -2 to 2).
- **OOD** (blue circles): Concentrated in the upper-right quadrant (x ≈ 10 to 50, y ≈ 4 to 8).
- **support(train)** (black dots): Scattered across the plot, with density near x ≈ 0, y ≈ 0.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
### Scatter Plot (Right)
- **Axes**:
- X-axis: Range [-60, 60]
- Y-axis: Range [-10, 10]
- **Legend** (Top-right corner):
- **IND**: Red stars
- **OOD**: Blue circles
- **data_type (train)**: Green circles
- **support(train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **IND** (red stars): Clustered near x ≈ -30, y ≈ -5.
- **OOD** (blue circles): Spread across the upper-right quadrant (x ≈ 10 to 40, y ≈ 2 to 8).
- **data_type (train)** (green circles): Concentrated near x ≈ 0, y ≈ 0.
- **support(train)** (black dots): Scattered, with density near x ≈ -20, y ≈ -2.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
---
## Section (b): ANIL + HC (4-way 1-shot)
### Line Chart (Left)
- **Axes**:
- X-axis: Labeled "x", range [0, 1]
- Y-axis: Labeled "y", range [0, 1]
- **Legend** (Top-right corner):
- **IND**: Red lines
- **OOD**: Blue lines
- **data_type (train)**: Green lines
- **support(train)**: Purple lines
- **query(val)**: Orange lines
- **Diagonal reference**: Dashed black line (y = x)
- **Trends**:
- Lines for "IND" and "OOD" follow similar trajectories to Section (a), reaching (1,1).
- "data_type (train)" and "support(train)" lines plateau earlier (x ≈ 0.15).
- "query(val)" lines show sharper increases, peaking at x ≈ 0.7.
### Scatter Plot (Middle)
- **Axes**:
- X-axis: Range [-80, 80]
- Y-axis: Range [-10, 10]
- **Legend** (Top-right corner):
- **IND**: Red stars
- **OOD**: Blue circles
- **support(train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **IND** (red stars): Clustered in the lower-left quadrant (x ≈ -60 to -30, y ≈ -3 to 3).
- **OOD** (blue circles): Concentrated in the upper-right quadrant (x ≈ 20 to 60, y ≈ 5 to 9).
- **support(train)** (black dots): Scattered, with density near x ≈ 0, y ≈ 0.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
### Scatter Plot (Right)
- **Axes**:
- X-axis: Range [-15, 15]
- Y-axis: Range [-10, 10]
- **Legend** (Top-right corner):
- **SUB_TOTAL_ETC**: Red stars
- **TOTAL_TOTAL_ETC**: Green circles
- **MENU_SUB_UNITPRICE**: Blue circles
- **SUB_TOTAL_DISCOUNT_PRICE**: Purple circles
- **data_type (train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **SUB_TOTAL_ETC** (red stars): Clustered near x ≈ -10, y ≈ -8.
- **TOTAL_TOTAL_ETC** (green circles): Concentrated near x ≈ 5, y ≈ 8.
- **MENU_SUB_UNITPRICE** (blue circles): Spread across the upper-right quadrant (x ≈ 0 to 10, y ≈ 2 to 6).
- **SUB_TOTAL_DISCOUNT_PRICE** (purple circles): Clustered near x ≈ 10, y ≈ -5.
- **data_type (train)** (black dots): Scattered near x ≈ 0, y ≈ 0.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
---
## Section (c): ANIL + HC (4-way 4-shot)
### Line Chart (Left)
- **Axes**:
- X-axis: Labeled "x", range [0, 1]
- Y-axis: Labeled "y", range [0, 1]
- **Legend** (Top-right corner):
- **IND**: Red lines
- **OOD**: Blue lines
- **data_type (train)**: Green lines
- **support(train)**: Purple lines
- **query(val)**: Orange lines
- **Diagonal reference**: Dashed black line (y = x)
- **Trends**:
- "IND" and "OOD" lines plateau earlier (x ≈ 0.3), with y ≈ 0.95.
- "data_type (train)" and "support(train)" lines plateau at x ≈ 0.2.
- "query(val)" lines show minimal deviation from the diagonal, peaking at x ≈ 0.9.
### Scatter Plot (Middle)
- **Axes**:
- X-axis: Range [-80, 80]
- Y-axis: Range [-10, 10]
- **Legend** (Top-right corner):
- **IND**: Red stars
- **OOD**: Blue circles
- **support(train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **IND** (red stars): Clustered in the lower-left quadrant (x ≈ -70 to -40, y ≈ -4 to 4).
- **OOD** (blue circles): Concentrated in the upper-right quadrant (x ≈ 30 to 70, y ≈ 6 to 9).
- **support(train)** (black dots): Scattered, with density near x ≈ 0, y ≈ 0.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
### Scatter Plot (Right)
- **Axes**:
- X-axis: Range [-30, 30]
- Y-axis: Range [-20, 15]
- **Legend** (Top-right corner):
- **SUB_TOTAL_ETC**: Red stars
- **TOTAL_TOTAL_ETC**: Green circles
- **MENU_SUB_UNITPRICE**: Blue circles
- **SUB_TOTAL_DISCOUNT_PRICE**: Purple circles
- **data_type (train)**: Black dots
- **query(val)**: Black crosses
- **Data Distribution**:
- **SUB_TOTAL_ETC** (red stars): Clustered near x ≈ -20, y ≈ -12.
- **TOTAL_TOTAL_ETC** (green circles): Concentrated near x ≈ 10, y ≈ 12.
- **MENU_SUB_UNITPRICE** (blue circles): Spread across the upper-right quadrant (x ≈ 0 to 20, y ≈ 4 to 10).
- **SUB_TOTAL_DISCOUNT_PRICE** (purple circles): Clustered near x ≈ 20, y ≈ -8.
- **data_type (train)** (black dots): Scattered near x ≈ 0, y ≈ 0.
- **query(val)** (black crosses): Sparse, primarily in the lower-left quadrant.
---
## Key Observations
1. **Line Charts**:
- All lines originate at (0,0) and curve upward, with "IND" and "OOD" consistently reaching the top-right corner.
- "query(val)" lines show stepwise increases, while "data_type (train)" and "support(train)" plateau earlier.
- The diagonal reference line (y = x) serves as a baseline for performance metrics.
2. **Scatter Plots**:
- **IND** (red stars) and **OOD** (blue circles) consistently cluster in opposite quadrants, indicating distinct data distributions.
- **support(train)** (black dots) and **query(val)** (black crosses) are sparse and localized in the lower-left quadrant.
- Metrics like **SUB_TOTAL_ETC** and **TOTAL_TOTAL_ETC** show strong clustering, suggesting high correlation or similarity in their respective categories.
3. **Legend Consistency**:
- Colors in legends match data points exactly across all plots (e.g., red = IND, blue = OOD).
- Metric labels (e.g., SUB_TOTAL_ETC) are unique to the right scatter plots and do not overlap with line chart categories.
4. **Axis Ranges**:
- Line charts use normalized axes (0–1), while scatter plots use absolute ranges (e.g., x: -80 to 80, y: -10 to 10).
5. **Trend Verification**:
- Line charts show smooth curves, while scatter plots exhibit discrete clusters, confirming distinct data types and metrics.