Skip to content

[Architecture #478] Decide native-solver strategy for liblinear/libsvm-class workloads #500

Description

@godofecht

Parent: #478. Related: #479 #480.

The architecture audit shows external-native-bound sklearn rows are the hardest class. Flow needs an explicit policy rather than accidentally comparing a simple in-house solver against decades-optimized liblinear/libsvm forever.

Evaluate three strategies per solver family: (A) optimize the pure Flow implementation to parity/lead, (B) bind the mature native library behind a Flow API with zero-copy buffers, or (C) maintain both with an evidence-backed size/target selector. Compare runtime, memory, binary/dependency footprint, portability, deterministic semantics and maintenance cost.

Acceptance: LinearSVC/SVC have a documented backend decision; benchmarks compare equivalent algorithmic contracts; no hidden Python dependency; native binding overhead is measured; pure Flow remains available where required by WASM/embedded/portability goals if that is part of supported scope.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions