godofecht / godofecht/flow-scikit

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

Open
#500 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
0
Avg merge
4h 33m
Merged PRs (30d)
9

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read parent #478 and the architecture audit first, then inspect the LinearSVC and SVC solver paths. Compare equivalent-contract benchmarks for the three proposed backend strategies, including runtime, memory, native-binding overhead, dependencies, portability, deterministic semantics, and maintenance cost. Done means the backend decision is documented, with pure Flow retained where the supported portability scope requires it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, wasm
Domain
backend-api-design, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.