---
title: "Feature Selection in JavaScript with @kanaries/ml"
description: "Select informative columns in browser or Node.js machine-learning workflows with model-based, recursive, and univariate JavaScript feature selection in @kanaries/ml."
canonical_url: "https://ml.kanaries.net/docs/apis/feature_selection"
markdown_url: "https://ml.kanaries.net/docs/apis/feature_selection/index.html.md"
---
# Feature selection in JavaScript

Feature selection removes weak or redundant columns before prediction. It can reduce model cost, improve interpretability, and limit overfitting. `@kanaries/ml` provides model-based selectors and statistical scoring functions with a sklearn-like JavaScript API.

- [Model-based and recursive selectors](/docs/apis/feature_selection/selectors.md): `SelectFromModel`, `RFE`, and `RFECV`
- [Univariate score functions](/docs/apis/feature_selection/univariate.md): `chi2`, `fClassif`, `mutualInfoClassif`, and `mutualInfoRegression`
