# tinysvm を Homebrew, MacPorts でインストール

tinysvm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tinysvm
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tinysvm
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install TinySVM
```

  証拠: MacPorts ports tree: math/TinySVM/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:tinysvm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.09
- **ソース概要:** Support vector machine library for pattern recognition
- **ホームページ:** <http://chasen.org/~taku/software/TinySVM/>
- **最終更新:** 2026-07-10T10:41:25-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- svm_classify (エイリアス)
- svm_learn (エイリアス)
- svm_model (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.09
## プロジェクトの歴史と使われ方

TinySVM is an early-2000s C++ support vector machine package by Taku Kudo for pattern-recognition work. It shipped both library APIs and small command-line tools, which is why it survives as a niche package-manager artifact long after the mainstream machine-learning world moved toward larger Python-centered stacks.

### プロジェクトの歴史

The official TinySVM page describes it as an implementation of Support Vector Machines for pattern recognition, citing Vapnik's SVM work and positioning SVMs as then-new statistical learning algorithms for practical tasks such as text categorization and handwritten character recognition. Its own examples identify the package as 'TinySVM - tiny SVM package' and show a 2000 copyright line in the learner output.

The release notes show active development from at least January 2001 through August 2002. During that period TinySVM added support vector regression, Ruby bindings, RBF/Neural/ANOVA kernels, SWIG-based Perl and Ruby bindings, Python and Java interfaces, incremental training support, one-class SVM support, Mac OS X support, and Windows compiler support.

TinySVM was distributed in a very package-nerd friendly way for its era: source tarballs, Red Hat 6.x and 7.x RPM/SRPM directories, Windows binaries, and anonymous CVS checkout instructions from the author's site. The official page says development used CVS and invited users to join CVS-based development.

### 採用の歴史

TinySVM's adoption appears to have been strongest among early SVM users who wanted a small Unix/Windows package with command-line tools and language bindings. The official feature list emphasizes sparse vectors, tens of thousands of training examples, hundreds of thousands of feature dimensions, LRU cache storage for Gram matrices, and optimizations inspired by SVM_light.

In modern package-manager culture it is mostly a preserved scientific-computing tool. The input metadata lists Homebrew and MacPorts packages, which suggests its current visibility is strongest among users maintaining old pipelines, comparing classic SVM implementations, or needing the exact svm_learn/svm_classify/svm_model command set.

### 使われ方

The command-line workflow is train, classify, and inspect: svm_learn reads training data and writes a model, svm_classify evaluates or interactively classifies test examples using that model, and svm_model displays model properties such as margin, VC dimension, and support-vector counts.

TinySVM accepts the same sparse training-data representation as SVM_light, using class labels followed by feature:value pairs. The official docs call out this format because it can represent large sparse feature vectors, an important fit for text and pattern-recognition workloads of the time.

### パッケージ好きにとっての重要性

TinySVM matters to package nerds as a compact fossil from the pre-scikit-learn era: a tarball/CVS-era ML library with CLI programs, RPMs, Windows binaries, and multiple scripting-language bindings. It is small enough to package, old enough to need compatibility care, and recognizable by its SVM_light-style data format.

### タイムライン

- 2000: Official command examples identify the package as TinySVM and show a 2000 copyright line.
- 2001-01-17: Version 0.02 added support vector regression and a Ruby module.
- 2001-09-03: RBF, Neural, and ANOVA kernels were added; SWIG-based bindings and Python/Java interfaces became available.
- 2001-12-07: Experimental one-class SVM support was added.
- 2002-03-08: Mac OS X support was added.
- 2002-08-20: TinySVM 0.09 was released with compiler and Windows build updates.

### Related projects

- SVM_light is the closest implementation reference: TinySVM documents compatible sparse data representation and optimization algorithms stemming from SVM_light.
- SWIG is relevant because TinySVM used it to provide scripting-language bindings.
- LIBSVM is a related classic SVM package from the same general era, though not cited on the official TinySVM page.

### ソース

- <http://chasen.org/~taku/software/TinySVM>
- source_facts.package-manager


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- MacPorts - TinySVM: normalized package name match | MacPorts ports tree: math/TinySVM/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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