glfs/general/genlib/liblinear.xml
2024-01-19 22:39:35 +01:00

149 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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 "https://github.com/cjlin1/liblinear/archive/v&liblinear-version;/liblinear-&liblinear-version;.tar.gz">
<!ENTITY liblinear-download-ftp " ">
<!ENTITY liblinear-md5sum "0c81dd2b2cabc4fba85f61b9dc51c4a3">
<!ENTITY liblinear-size "560 KB">
<!ENTITY liblinear-buildsize "1.6 MB">
<!ENTITY liblinear-time "less than 0.1 SBU">
]>
<sect1 id="liblinear" xreflabel="liblinear-&liblinear-version;">
<?dbhtml filename="liblinear.html"?>
<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>
&lfs120_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>
</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.5 /usr/lib &amp;&amp;
ln -sfv liblinear.so.5 /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>