pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/classias
Module Name: pkgsrc
Committed By: cheusov
Date: Fri Jul 22 02:45:44 UTC 2016
Added Files:
pkgsrc/math/classias: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/math/classias/patches: patch-configure.in
Log Message:
Imported from WIP
Classias is a collection of machine-learning algorithms
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/classias/DESCR \
pkgsrc/math/classias/Makefile pkgsrc/math/classias/PLIST \
pkgsrc/math/classias/buildlink3.mk pkgsrc/math/classias/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/classias/patches/patch-configure.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/math/classias/DESCR
diff -u /dev/null pkgsrc/math/classias/DESCR:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/DESCR Fri Jul 22 02:45:44 2016
@@ -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
Index: pkgsrc/math/classias/Makefile
diff -u /dev/null pkgsrc/math/classias/Makefile:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/Makefile Fri Jul 22 02:45:44 2016
@@ -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@localhost
+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"
Index: pkgsrc/math/classias/PLIST
diff -u /dev/null pkgsrc/math/classias/PLIST:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/PLIST Fri Jul 22 02:45:44 2016
@@ -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
Index: pkgsrc/math/classias/buildlink3.mk
diff -u /dev/null pkgsrc/math/classias/buildlink3.mk:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/buildlink3.mk Fri Jul 22 02:45:44 2016
@@ -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
Index: pkgsrc/math/classias/distinfo
diff -u /dev/null pkgsrc/math/classias/distinfo:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/distinfo Fri Jul 22 02:45:44 2016
@@ -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
Index: pkgsrc/math/classias/patches/patch-configure.in
diff -u /dev/null pkgsrc/math/classias/patches/patch-configure.in:1.1
--- /dev/null Fri Jul 22 02:45:44 2016
+++ pkgsrc/math/classias/patches/patch-configure.in Fri Jul 22 02:45:44 2016
@@ -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,
Home |
Main Index |
Thread Index |
Old Index