Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

moofs

Latest version: v0.2.0.post1

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: herman_moofs26
20 Stars
3 Forks
2 Versions
18 Downloads
Python Repo language

Scan summary

moofs was last scanned on 30 Nov 2026 at version 0.2.0.post1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.2.0.post1.
  • Downloads: 18 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0.post1 LATEST 30 Nov 2026 No rules fired
0.2.0 30 Nov 2026 No rules fired

No rules fired in 0.2.0.post1

Findings

Findings for v0.2.0.post1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0.post1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

moofs

PyPi Version Documentation GitHub Stars License Banner Image

Multi-Objective Optimization for Feature Selection

A Python library for multi-objective feature selection with a unified, scikit-learn compatible API. moofs searches for the best trade-offs between classification error and number of selected features, returns the full Pareto front, and lets you pick the subset that fits your needs.

Installation

pip install moofs

Quick start

from moofs import MOFSSelector

selector = MOFSSelector(algorithm="mofs-rfga", max_evals=5000, random_state=0)
X_reduced = selector.fit_transform(X, y)

selector.pareto_front_   # (n_solutions, 2): [error %, subset size]
selector.support_        # boolean mask of the chosen subset
selector.get_feature_names_out()

It drops into any scikit-learn pipeline:

from sklearn.pipeline import Pipeline
from sklearn.neighbors import KNeighborsClassifier

pipe = Pipeline([
    ("fs", MOFSSelector(max_evals=5000, random_state=0)),
    ("clf", KNeighborsClassifier(n_neighbors=3)),
]).fit(X_train, y_train)

Available algorithms

Algorithm Key Authors Reference
MOFS-RFGA mofs-rfga Xue, Zhu & Neri (2023) paper
NSGA-II nsga2 Deb, Pratap, Agarwal & Meyarivan (2002) paper
NSGA-II/SDR nsga2-sdr Tian, Cheng, Zhang, Su & Jin (2019) paper
SPEA2 spea2 Zitzler, Laumanns & Thiele (2001) report
SparseEA sparseea Tian, Zhang, Wang & Jin (2020) paper

SparseEA is the method of choice for wide datasets (hundreds of features or more) where good subsets are small. MOEA/D, NSPSOFS and CMDPSOFS are planned for the next release, completing the comparison set of the MOFS-RFGA paper — see the CHANGELOG.

Visualizing Pareto fronts

from moofs import plot_selector, plot_fronts

plot_selector(selector)              # front + highlighted chosen subset
plot_fronts({"MOFS-RFGA": r1, "NSGA-II": r2}, reference=True)

Metrics

Quality indicators follow the PlatEMO definitions used in the MOFS literature, so values are directly comparable with published tables: igd, hv (normalized, reference point (1,1)), coverage (weak dominance), nfs, spacing.

from moofs import compare

table = compare({"MOFS-RFGA": r1, "NSGA-II": r2})
#   algorithm    IGD     HV   NFS  best_error_%  min_subset_size

Research-style API

For experiments and full control over the search:

from moofs import FeatureSelectionProblem, MOFSRFGA, NSGA2

problem = FeatureSelectionProblem(X, y)   # KNN k=3, 3-fold CV, cached
result = MOFSRFGA(problem, pop_size=100, max_evals=300_000, seed=0).run()
result.F        # objective matrix of the Pareto front
result.front    # solutions with binary masks (.x)

The evaluation protocol follows the reference paper: k-NN (k=3) classifier, 3-fold cross-validation, objectives = (classification error %, subset size). Evaluations are memoized; cache hits still count toward max_evals so budgets stay comparable.

Faithfulness notes

Implementations are traceable to their source papers, and ambiguities are documented rather than silently resolved. Notably, the MOFS-RFGA paper's Fig. 1 and its Algorithm 3 disagree on the crossover semantics; moofs defaults to the Fig. 1 reading (consistent with the mutation operator) and exposes interpretation="pseudocode" for the literal alternative. See the documentation for details.

License

MIT — see LICENSE.

Citing

If you use moofs in academic work, please cite the software (GitHub's "Cite this repository" button uses CITATION.cff) and the underlying algorithm papers (see the table above):

@software{motcheyo_moofs,
  author  = {Tcheneghon Motcheyo, Herman},
  title   = {moofs: Multi-Objective Optimization for Feature Selection},
  url     = {https://github.com/Quick-AI-ML/moofs},
  version = {0.2.0},
  year    = {2026}
}

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases moofs

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229