# 使用 Homebrew 安装 classifier

查看 classifier 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:classifier
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install classifier
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:classifier
- **软件包管理器:** Homebrew
- **版本:** 2.6.0
- **来源摘要:** Text classification with Bayesian, LSI, Logistic Regression, and kNN
- **主页:** <https://rubyclassifier.com>
- **仓库:** <https://github.com/cardmagic/classifier>
- **最后更新:** 2026-06-26T00:37:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- classifier (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.6.0
## 项目历史与用法

Ruby Classifier is a Ruby text-classification library and CLI providing Bayesian classification, LSI, logistic regression, k-nearest neighbors, TF-IDF vectorization, streaming training, persistence, and native LSI acceleration.

### 项目历史

The GitHub repository was created in 2008. The gemspec and README describe it as a Ruby library for text classification with Naive Bayes, LSI, logistic regression, kNN, TF-IDF, pluggable persistence, and a native C extension.

The modern 2.x series refreshed the package in late 2025 and 2026, adding current documentation at rubyclassifier.com and a CLI-oriented Homebrew distribution path.

### 采用历史

RubyGems reported 1,162,163 total downloads for the classifier gem, making the Ruby package history much larger than the Homebrew CLI footprint. Homebrew packages version 2.6.0 and reported 131 installs over the prior 365 days.

### 使用方式

As a Ruby gem, users require classifier classes for Bayes, LSI, logistic regression, kNN, and TF-IDF workflows. As a CLI, users can classify text with pretrained models, list models, train categories from files, and classify new strings.

### 为什么软件包爱好者会关心

classifier is notable because an old Ruby ML/text-processing gem now spans RubyGems, generated API docs, a dedicated docs site, native extension compilation, and a Homebrew CLI package.

### 时间线

- 2008: GitHub repository created.
- 2024: v1.4.4 released in the 1.x line.
- 2025: v2.0.0 released.
- 2026: v2.6.0 released and packaged by Homebrew as stable.

### Related projects

- The package relates to RubyGems and RubyDoc as its primary Ruby distribution and API documentation surfaces.
- Its README positions it against older forks by emphasizing additional algorithms, incremental LSI, streaming, persistence, and native acceleration.

### 来源

- <https://github.com/cardmagic/classifier#readme>
- <https://rubyclassifier.com/docs>
- <https://rubygems.org/api/v1/gems/classifier.json>
- <https://rubygems.org/api/v1/versions/classifier.json>
- <https://api.github.com/repos/cardmagic/classifier>
- <https://api.github.com/repos/cardmagic/classifier/releases>
- <https://formulae.brew.sh/api/formula/classifier.json>


## 安全说明

没有找到 classifier 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

View the package source record on GitHub. [combined/classifier.yml](https://github.com/mxcl/pkgdb/blob/main/combined/classifier.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
