Eunoia

Eunoia.EulerFit

Julia · julia · 1.0.1

EulerFit{S} <: AbstractEulerFit{S}
EulerFit{S}

Result of fitting an area-proportional Euler diagram with shapes of type S.

Fields:

  • shapes: fitted shapes, one per input set, in input order.

  • original_values: the requested exclusive area per region (keyed by combination string, e.g. "A&B").

  • fitted_values: the fitted exclusive area per region.

  • residuals: original_values − fitted_values per region.

  • region_error: per-region error (always in exclusive form).

  • diag_error: eulerAPE-style worst-case region error.

  • stress: venneuler-style stress metric.

  • loss: final value of the optimizer's objective.

  • iterations: optimizer iteration count.

  • container: the fitted universe box when fit with a complement, else nothing.

The plot_data field holds the native renderable geometry (region polygons and label anchors); it backs plotting and is not part of the stable public API.

Fields

shapes::Vector{S}

original_values::Dict{String, Float64}

fitted_values::Dict{String, Float64}

residuals::Dict{String, Float64}

region_error::Dict{String, Float64}

diag_error::Float64

stress::Float64

loss::Float64

iterations::Int

container::Union{Container, Nothing}

plot_data::JSON3.Object