glfs/general/genlib/liblinear.xml
Bruce Dubbs e577f07631 Finish tagging General Libraries and Utilities; lxde
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17064 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-03-04 23:42:06 +00:00

172 lines
5.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!--
<!ENTITY liblinear-download-http "http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-&liblinear-version;.tar.gz">
HTTP request sent, awaiting response... 403 Forbidden
2016-02-04 09:39:51 ERROR 403: Forbidden. -->
<!ENTITY liblinear-download-http "https://github.com/cjlin1/liblinear/archive/v&liblinear-version;.tar.gz">
<!ENTITY liblinear-download-ftp " ">
<!ENTITY liblinear-md5sum "b48c811243eae0e4d144f21424294fcc">
<!ENTITY liblinear-size "376 KB">
<!ENTITY liblinear-buildsize "1.2 MB">
<!ENTITY liblinear-time "less than 0.1 SBU">
]>
<sect1 id="liblinear" xreflabel="liblinear-&liblinear-version;">
<?dbhtml filename="liblinear.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>liblinear-&liblinear-version;</title>
<indexterm zone="liblinear">
<primary sortas="a-liblinear">liblinear</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to liblinear</title>
<para>
This package provides a library for learning linear classifiers for large
scale applications. It supports Support Vector Machines (SVM) with L2 and
L1 loss, logistic regression, multi class classification and also Linear
Programming Machines (L1-regularized SVMs). Its computational complexity
scales linearly with the number of training examples making it one of the
fastest SVM solvers around.
</para>
&lfs79_checked;
<note>
<para>
After updating this package from
<application>liblinear-1.96</application> or earlier, you need to
reinstall <xref linkend="nmap"/>, in order to link to the new library.
</para>
</note>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&liblinear-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&liblinear-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &liblinear-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &liblinear-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &liblinear-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &liblinear-time;
</para>
</listitem>
</itemizedlist>
<note>
<para>
The <application>liblinear</application> source tarball shown above
downloads with the correct name, liblinear-&liblinear-version;.tar.gz,
if using a browser such as Firefox. If you prefer to use a command line
program such as wget, you normally would obtain
v&liblinear-version;.tar.gz. To obtain this package with the proper
filename, run:
<screen><userinput>wget -c https://github.com/cjlin1/liblinear/archive/v&liblinear-version;.tar.gz \
-O liblinear-&liblinear-version;.tar.gz</userinput></screen>.
</para>
</note>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/liblinear"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of liblinear</title>
<para>
Install <application>liblinear</application> by running the following commands:
</para>
<screen><userinput>make lib</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -vm644 linear.h /usr/include &amp;&amp;
install -vm755 liblinear.so.3 /usr/lib &amp;&amp;
ln -sfv liblinear.so.3 /usr/lib/liblinear.so</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
liblinear.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="liblinear-lib">
<term><filename class="libraryfile">liblinear.so</filename></term>
<listitem>
<para>
is a large linear classification library.
</para>
<indexterm zone="liblinear liblinear-lib">
<primary sortas="c-liblinear">liblinear.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>