Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+12
View File
@@ -0,0 +1,12 @@
Classias is a collection of machine-learning algorithms for
classification. Currently, it supports the following formalizations:
L1/L2-regularized logistic regression (aka. Maximum Entropy)
L1/L2-regularized L1-loss linear-kernel Support Vector Machine (SVM)
Averaged perceptron
It implements several algorithms for training classifiers:
Averaged perceptron
Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) [Nocedal80]
Orthant-Wise Limited-memory Quasi-Newton (OWL-QN) [Andrew07]
Primal Estimated sub-GrAdient SOlver (Pegasos) [Shalev-Shwartz07]
Truncated Gradient [Langford09], also known as FOrward LOoking
Subgradient (FOLOS) [Duchi09] specialized for L1 regularization
+28
View File
@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.1 2016/07/22 02:45:44 cheusov Exp $
DISTNAME= classias-1.1.0.20160722
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/}
COMMENT= Collection of machine-learning algorithms for classification
LICENSE= modified-bsd
GITHUB_PROJECT= classias
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://www.chokkan.org/software/classias/
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf autoreconf automake
CONFIGURE_ARGS+= --with-liblbfgs=${PREFIX}
.include "../../mk/bsd.prefs.mk"
pre-configure:
set -e; cd ${WRKSRC}; ${SH} ./autogen.sh
.include "../../math/liblbfgs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+24
View File
@@ -0,0 +1,24 @@
@comment $NetBSD: PLIST,v 1.1 2016/07/22 02:45:44 cheusov Exp $
bin/classias-tag
bin/classias-train
include/classias/classias.h
include/classias/classify/linear/binary.h
include/classias/classify/linear/multi.h
include/classias/data.h
include/classias/evaluation.h
include/classias/feature_generator.h
include/classias/instance.h
include/classias/parameters.h
include/classias/quark.h
include/classias/train/averaged_perceptron.h
include/classias/train/lbfgs.h
include/classias/train/online_scheduler.h
include/classias/train/pegasos.h
include/classias/train/truncated_gradient.h
include/classias/types.h
include/classias/version.h
share/doc/classias/AUTHORS
share/doc/classias/COPYING
share/doc/classias/ChangeLog
share/doc/classias/INSTALL
share/doc/classias/README
+12
View File
@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2016/07/22 02:45:44 cheusov Exp $
BUILDLINK_TREE+= classias
.if !defined(CLASSIAS_BUILDLINK3_MK)
CLASSIAS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.classias+= classias>=1.1.0
BUILDLINK_PKGSRCDIR.classias?= ../../math/classias
.endif # CLASSIAS_BUILDLINK3_MK
BUILDLINK_TREE+= -classias
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2016/07/22 02:45:44 cheusov Exp $
SHA1 (classias-1.1.0.20160722.tar.gz) = f436357dbb5982dab67a0cc365379299e70b061c
RMD160 (classias-1.1.0.20160722.tar.gz) = fae6ea9d7da067fc12438d3697fa78edf8849e78
SHA512 (classias-1.1.0.20160722.tar.gz) = 114d8bd3b8be23ff99587e4ce6add72b40807b01fb510cfc5b0489bfdcd17ce6f5cc3560134ccb31e6c41d2fa2c0a45b41f0008832cff13b06b975131469744e
Size (classias-1.1.0.20160722.tar.gz) = 136913 bytes
SHA1 (patch-configure.in) = 28eda2512193146a7d5252f3c09fb9b0910302da
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-configure.in,v 1.1 2016/07/22 02:45:44 cheusov Exp $
# support for ld -rpath
--- configure.in.orig 2015-04-19 15:01:12.000000000 +0000
+++ configure.in
@@ -115,7 +115,7 @@ dnl Check for math library
AC_ARG_WITH(
liblbfgs,
[AS_HELP_STRING([--with-liblbfgs=DIR],[liblbfgs directory])],
- [INCLUDES="-I${withval}/include ${INCLUDES}"; LDFLAGS="-L${withval}/lib ${LDFLAGS}"]
+ [INCLUDES="-I${withval}/include ${INCLUDES}"; LDFLAGS="-L${withval}/lib -Wl,-rpath,${withval}/lib ${LDFLAGS}"]
)
dnl AC_ARG_WITH(
dnl boost,