概要 本稿は私が初めてLIBLINEARを触った際に残したメモ書きです。 やったことは、導入、READMEに従ったサンプルの実行、自前で作ったデータを使った簡単な実践。 資料を読む まずは右も左も分からない状態なので、資料を読むことから始めます。 公式サイトは以下 http://www.csie.ntu.edu.tw/~cjlin/liblinear/ ここのDocumentationのところに参考になる資料がPDF形式で置いてあります。 LIBLINEAR: A library for large linear classificationという資料の概要には、以下のようなことが書かれています(意訳)。 LIBLINEARは大規模なデータに使えるオープンソースの線形クラスタリングライブラリです。ロジスティック回帰とSVMをサポートしています。コマンドラインでの利用とプログラムからの呼び出
Implementing Classification using Logistic Regression in Ruby For this blog post we will walk through how to implement a simple classification algorithm in Ruby using logistic regression. We will use the gem liblinear-ruby to help us setup a model, train it and make predictions in a matter of minutes. For this example we will be using school admissions data to make a prediction on admission based
ロジスティック回帰(ロジスティックかいき、英: Logistic regression)は、ベルヌーイ分布に従う変数の統計的回帰モデルの一種である。連結関数としてロジットを使用する一般化線形モデル (GLM) の一種でもある。1958年にデイヴィッド・コックス(英語版)が発表した[1]。確率の回帰であり、統計学の分類に主に使われる。医学や社会科学でもよく使われる[要出典]。 モデルは同じく1958年に発表された単純パーセプトロンと等価であるが、scikit-learnなどでは、パラメータを決める最適化問題で確率的勾配降下法を使用する物をパーセプトロンと呼び、座標降下法や準ニュートン法などを使用する物をロジスティック回帰と呼んでいる。 概要[編集] ロジスティック回帰モデルは以下のような形式である。x が入力で、pが確率(出力)、αとβがパラメータ。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く