svn commit: r517992 - in head/math: . ensmallen

Yuri Victorovich yuri at FreeBSD.org
Wed Nov 20 06:09:25 UTC 2019


Author: yuri
Date: Wed Nov 20 06:09:23 2019
New Revision: 517992
URL: https://svnweb.freebsd.org/changeset/ports/517992

Log:
  New port: math/ensmallen: Flexible C++ library for efficient mathematical optimization

Added:
  head/math/ensmallen/
  head/math/ensmallen/Makefile   (contents, props changed)
  head/math/ensmallen/distinfo   (contents, props changed)
  head/math/ensmallen/pkg-descr   (contents, props changed)
  head/math/ensmallen/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Nov 19 22:39:53 2019	(r517991)
+++ head/math/Makefile	Wed Nov 20 06:09:23 2019	(r517992)
@@ -213,6 +213,7 @@
     SUBDIR += eispack
     SUBDIR += elpa
     SUBDIR += emc2
+    SUBDIR += ensmallen
     SUBDIR += ent
     SUBDIR += entropy
     SUBDIR += eprover

Added: head/math/ensmallen/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/ensmallen/Makefile	Wed Nov 20 06:09:23 2019	(r517992)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	ensmallen
+DISTVERSION=	2.10.4
+CATEGORIES=	math
+MASTER_SITES=	https://ensmallen.org/files/
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Flexible C++ library for efficient mathematical optimization
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo \
+		openmp>0:devel/openmp
+RUN_DEPENDS=	${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo \
+		openmp>0:devel/openmp
+
+USES=		cmake localbase
+CMAKE_OFF=	BUILD_TESTS
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+do-test: # tests are known to fail: https://github.com/mlpack/ensmallen/issues/142
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+
+.include <bsd.port.mk>

Added: head/math/ensmallen/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/ensmallen/distinfo	Wed Nov 20 06:09:23 2019	(r517992)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574227534
+SHA256 (ensmallen-2.10.4.tar.gz) = 82aca3724331b26156fd9bad118992093a08e3ef6881b996e976d090fb390bc7
+SIZE (ensmallen-2.10.4.tar.gz) = 1237711

Added: head/math/ensmallen/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/ensmallen/pkg-descr	Wed Nov 20 06:09:23 2019	(r517992)
@@ -0,0 +1,7 @@
+ensmallen provides a simple set of abstractions for writing an objective
+function to optimize. It also provides a large set of standard and cutting-edge
+optimizers that can be used for virtually any mathematical optimization task.
+These include full-batch gradient descent techniques, small-batch techniques,
+gradient-free optimizers, and constrained optimization.
+
+WWW: https://ensmallen.org/

Added: head/math/ensmallen/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/ensmallen/pkg-plist	Wed Nov 20 06:09:23 2019	(r517992)
@@ -0,0 +1,217 @@
+include/ensmallen.hpp
+include/ensmallen_bits/ada_delta/ada_delta.hpp
+include/ensmallen_bits/ada_delta/ada_delta_impl.hpp
+include/ensmallen_bits/ada_delta/ada_delta_update.hpp
+include/ensmallen_bits/ada_grad/ada_grad.hpp
+include/ensmallen_bits/ada_grad/ada_grad_impl.hpp
+include/ensmallen_bits/ada_grad/ada_grad_update.hpp
+include/ensmallen_bits/adam/adam.hpp
+include/ensmallen_bits/adam/adam_impl.hpp
+include/ensmallen_bits/adam/adam_update.hpp
+include/ensmallen_bits/adam/adamax_update.hpp
+include/ensmallen_bits/adam/amsgrad_update.hpp
+include/ensmallen_bits/adam/nadam_update.hpp
+include/ensmallen_bits/adam/nadamax_update.hpp
+include/ensmallen_bits/adam/optimisticadam_update.hpp
+include/ensmallen_bits/aug_lagrangian/aug_lagrangian.hpp
+include/ensmallen_bits/aug_lagrangian/aug_lagrangian_function.hpp
+include/ensmallen_bits/aug_lagrangian/aug_lagrangian_function_impl.hpp
+include/ensmallen_bits/aug_lagrangian/aug_lagrangian_impl.hpp
+include/ensmallen_bits/bigbatch_sgd/adaptive_stepsize.hpp
+include/ensmallen_bits/bigbatch_sgd/backtracking_line_search.hpp
+include/ensmallen_bits/bigbatch_sgd/bigbatch_sgd.hpp
+include/ensmallen_bits/bigbatch_sgd/bigbatch_sgd_impl.hpp
+include/ensmallen_bits/callbacks/callbacks.hpp
+include/ensmallen_bits/callbacks/early_stop_at_min_loss.hpp
+include/ensmallen_bits/callbacks/print_loss.hpp
+include/ensmallen_bits/callbacks/progress_bar.hpp
+include/ensmallen_bits/callbacks/store_best_coordinates.hpp
+include/ensmallen_bits/callbacks/timer_stop.hpp
+include/ensmallen_bits/callbacks/traits.hpp
+include/ensmallen_bits/cmaes/cmaes.hpp
+include/ensmallen_bits/cmaes/cmaes_impl.hpp
+include/ensmallen_bits/cmaes/full_selection.hpp
+include/ensmallen_bits/cmaes/random_selection.hpp
+include/ensmallen_bits/cne/cne.hpp
+include/ensmallen_bits/cne/cne_impl.hpp
+include/ensmallen_bits/config.hpp
+include/ensmallen_bits/de/de.hpp
+include/ensmallen_bits/de/de_impl.hpp
+include/ensmallen_bits/ens_version.hpp
+include/ensmallen_bits/eve/eve.hpp
+include/ensmallen_bits/eve/eve_impl.hpp
+include/ensmallen_bits/ftml/ftml.hpp
+include/ensmallen_bits/ftml/ftml_impl.hpp
+include/ensmallen_bits/ftml/ftml_update.hpp
+include/ensmallen_bits/function.hpp
+include/ensmallen_bits/function/add_decomposable_evaluate.hpp
+include/ensmallen_bits/function/add_decomposable_evaluate_with_gradient.hpp
+include/ensmallen_bits/function/add_decomposable_gradient.hpp
+include/ensmallen_bits/function/add_evaluate.hpp
+include/ensmallen_bits/function/add_evaluate_with_gradient.hpp
+include/ensmallen_bits/function/add_gradient.hpp
+include/ensmallen_bits/function/arma_traits.hpp
+include/ensmallen_bits/function/sfinae_utility.hpp
+include/ensmallen_bits/function/static_checks.hpp
+include/ensmallen_bits/function/traits.hpp
+include/ensmallen_bits/fw/atoms.hpp
+include/ensmallen_bits/fw/constr_lpball.hpp
+include/ensmallen_bits/fw/constr_structure_group.hpp
+include/ensmallen_bits/fw/frank_wolfe.hpp
+include/ensmallen_bits/fw/frank_wolfe_impl.hpp
+include/ensmallen_bits/fw/func_sq.hpp
+include/ensmallen_bits/fw/line_search/line_search.hpp
+include/ensmallen_bits/fw/line_search/line_search_impl.hpp
+include/ensmallen_bits/fw/proximal/proximal.hpp
+include/ensmallen_bits/fw/proximal/proximal_impl.hpp
+include/ensmallen_bits/fw/update_classic.hpp
+include/ensmallen_bits/fw/update_full_correction.hpp
+include/ensmallen_bits/fw/update_linesearch.hpp
+include/ensmallen_bits/fw/update_span.hpp
+include/ensmallen_bits/gradient_descent/gradient_descent.hpp
+include/ensmallen_bits/gradient_descent/gradient_descent_impl.hpp
+include/ensmallen_bits/grid_search/grid_search.hpp
+include/ensmallen_bits/grid_search/grid_search_impl.hpp
+include/ensmallen_bits/iqn/iqn.hpp
+include/ensmallen_bits/iqn/iqn_impl.hpp
+include/ensmallen_bits/katyusha/katyusha.hpp
+include/ensmallen_bits/katyusha/katyusha_impl.hpp
+include/ensmallen_bits/lbfgs/lbfgs.hpp
+include/ensmallen_bits/lbfgs/lbfgs_impl.hpp
+include/ensmallen_bits/log.hpp
+include/ensmallen_bits/padam/padam.hpp
+include/ensmallen_bits/padam/padam_update.hpp
+include/ensmallen_bits/parallel_sgd/decay_policies/constant_step.hpp
+include/ensmallen_bits/parallel_sgd/decay_policies/exponential_backoff.hpp
+include/ensmallen_bits/parallel_sgd/parallel_sgd.hpp
+include/ensmallen_bits/parallel_sgd/parallel_sgd_impl.hpp
+include/ensmallen_bits/problems/ackley_function.hpp
+include/ensmallen_bits/problems/ackley_function_impl.hpp
+include/ensmallen_bits/problems/aug_lagrangian_test_functions.hpp
+include/ensmallen_bits/problems/aug_lagrangian_test_functions_impl.hpp
+include/ensmallen_bits/problems/beale_function.hpp
+include/ensmallen_bits/problems/beale_function_impl.hpp
+include/ensmallen_bits/problems/booth_function.hpp
+include/ensmallen_bits/problems/booth_function_impl.hpp
+include/ensmallen_bits/problems/bukin_function.hpp
+include/ensmallen_bits/problems/bukin_function_impl.hpp
+include/ensmallen_bits/problems/colville_function.hpp
+include/ensmallen_bits/problems/colville_function_impl.hpp
+include/ensmallen_bits/problems/cross_in_tray_function.hpp
+include/ensmallen_bits/problems/cross_in_tray_function_impl.hpp
+include/ensmallen_bits/problems/drop_wave_function.hpp
+include/ensmallen_bits/problems/drop_wave_function_impl.hpp
+include/ensmallen_bits/problems/easom_function.hpp
+include/ensmallen_bits/problems/easom_function_impl.hpp
+include/ensmallen_bits/problems/eggholder_function.hpp
+include/ensmallen_bits/problems/eggholder_function_impl.hpp
+include/ensmallen_bits/problems/fw_test_function.hpp
+include/ensmallen_bits/problems/generalized_rosenbrock_function.hpp
+include/ensmallen_bits/problems/generalized_rosenbrock_function_impl.hpp
+include/ensmallen_bits/problems/goldstein_price_function.hpp
+include/ensmallen_bits/problems/goldstein_price_function_impl.hpp
+include/ensmallen_bits/problems/gradient_descent_test_function.hpp
+include/ensmallen_bits/problems/gradient_descent_test_function_impl.hpp
+include/ensmallen_bits/problems/himmelblau_function.hpp
+include/ensmallen_bits/problems/himmelblau_function_impl.hpp
+include/ensmallen_bits/problems/holder_table_function.hpp
+include/ensmallen_bits/problems/holder_table_function_impl.hpp
+include/ensmallen_bits/problems/levy_function_n13.hpp
+include/ensmallen_bits/problems/levy_function_n13_impl.hpp
+include/ensmallen_bits/problems/logistic_regression_function.hpp
+include/ensmallen_bits/problems/logistic_regression_function_impl.hpp
+include/ensmallen_bits/problems/matyas_function.hpp
+include/ensmallen_bits/problems/matyas_function_impl.hpp
+include/ensmallen_bits/problems/mc_cormick_function.hpp
+include/ensmallen_bits/problems/mc_cormick_function_impl.hpp
+include/ensmallen_bits/problems/problems.hpp
+include/ensmallen_bits/problems/rastrigin_function.hpp
+include/ensmallen_bits/problems/rastrigin_function_impl.hpp
+include/ensmallen_bits/problems/rosenbrock_function.hpp
+include/ensmallen_bits/problems/rosenbrock_function_impl.hpp
+include/ensmallen_bits/problems/rosenbrock_wood_function.hpp
+include/ensmallen_bits/problems/rosenbrock_wood_function_impl.hpp
+include/ensmallen_bits/problems/schaffer_function_n2.hpp
+include/ensmallen_bits/problems/schaffer_function_n2_impl.hpp
+include/ensmallen_bits/problems/schaffer_function_n4.hpp
+include/ensmallen_bits/problems/schaffer_function_n4_impl.hpp
+include/ensmallen_bits/problems/schwefel_function.hpp
+include/ensmallen_bits/problems/schwefel_function_impl.hpp
+include/ensmallen_bits/problems/sgd_test_function.hpp
+include/ensmallen_bits/problems/sgd_test_function_impl.hpp
+include/ensmallen_bits/problems/softmax_regression_function.hpp
+include/ensmallen_bits/problems/softmax_regression_function_impl.hpp
+include/ensmallen_bits/problems/sparse_test_function.hpp
+include/ensmallen_bits/problems/sparse_test_function_impl.hpp
+include/ensmallen_bits/problems/sphere_function.hpp
+include/ensmallen_bits/problems/sphere_function_impl.hpp
+include/ensmallen_bits/problems/styblinski_tang_function.hpp
+include/ensmallen_bits/problems/styblinski_tang_function_impl.hpp
+include/ensmallen_bits/problems/three_hump_camel_function.hpp
+include/ensmallen_bits/problems/three_hump_camel_function_impl.hpp
+include/ensmallen_bits/problems/wood_function.hpp
+include/ensmallen_bits/problems/wood_function_impl.hpp
+include/ensmallen_bits/pso/init_policies/default_init.hpp
+include/ensmallen_bits/pso/pso.hpp
+include/ensmallen_bits/pso/pso_impl.hpp
+include/ensmallen_bits/pso/update_policies/lbest_update.hpp
+include/ensmallen_bits/qhadam/qhadam.hpp
+include/ensmallen_bits/qhadam/qhadam_impl.hpp
+include/ensmallen_bits/qhadam/qhadam_update.hpp
+include/ensmallen_bits/rmsprop/rmsprop.hpp
+include/ensmallen_bits/rmsprop/rmsprop_update.hpp
+include/ensmallen_bits/sa/exponential_schedule.hpp
+include/ensmallen_bits/sa/sa.hpp
+include/ensmallen_bits/sa/sa_impl.hpp
+include/ensmallen_bits/sarah/sarah.hpp
+include/ensmallen_bits/sarah/sarah_impl.hpp
+include/ensmallen_bits/sarah/sarah_plus_update.hpp
+include/ensmallen_bits/sarah/sarah_update.hpp
+include/ensmallen_bits/scd/descent_policies/cyclic_descent.hpp
+include/ensmallen_bits/scd/descent_policies/greedy_descent.hpp
+include/ensmallen_bits/scd/descent_policies/random_descent.hpp
+include/ensmallen_bits/scd/scd.hpp
+include/ensmallen_bits/scd/scd_impl.hpp
+include/ensmallen_bits/sdp/lin_alg.hpp
+include/ensmallen_bits/sdp/lrsdp.hpp
+include/ensmallen_bits/sdp/lrsdp_function.hpp
+include/ensmallen_bits/sdp/lrsdp_function_impl.hpp
+include/ensmallen_bits/sdp/lrsdp_impl.hpp
+include/ensmallen_bits/sdp/primal_dual.hpp
+include/ensmallen_bits/sdp/primal_dual_impl.hpp
+include/ensmallen_bits/sdp/sdp.hpp
+include/ensmallen_bits/sdp/sdp_impl.hpp
+include/ensmallen_bits/sgd/decay_policies/no_decay.hpp
+include/ensmallen_bits/sgd/sgd.hpp
+include/ensmallen_bits/sgd/sgd_impl.hpp
+include/ensmallen_bits/sgd/update_policies/gradient_clipping.hpp
+include/ensmallen_bits/sgd/update_policies/momentum_update.hpp
+include/ensmallen_bits/sgd/update_policies/nesterov_momentum_update.hpp
+include/ensmallen_bits/sgd/update_policies/quasi_hyperbolic_update.hpp
+include/ensmallen_bits/sgd/update_policies/vanilla_update.hpp
+include/ensmallen_bits/sgdr/cyclical_decay.hpp
+include/ensmallen_bits/sgdr/sgdr.hpp
+include/ensmallen_bits/sgdr/sgdr_impl.hpp
+include/ensmallen_bits/sgdr/snapshot_ensembles.hpp
+include/ensmallen_bits/sgdr/snapshot_sgdr.hpp
+include/ensmallen_bits/sgdr/snapshot_sgdr_impl.hpp
+include/ensmallen_bits/smorms3/smorms3.hpp
+include/ensmallen_bits/smorms3/smorms3_impl.hpp
+include/ensmallen_bits/smorms3/smorms3_update.hpp
+include/ensmallen_bits/spalera_sgd/spalera_sgd.hpp
+include/ensmallen_bits/spalera_sgd/spalera_sgd_impl.hpp
+include/ensmallen_bits/spalera_sgd/spalera_stepsize.hpp
+include/ensmallen_bits/spsa/spsa.hpp
+include/ensmallen_bits/spsa/spsa_impl.hpp
+include/ensmallen_bits/svrg/barzilai_borwein_decay.hpp
+include/ensmallen_bits/svrg/svrg.hpp
+include/ensmallen_bits/svrg/svrg_impl.hpp
+include/ensmallen_bits/svrg/svrg_update.hpp
+include/ensmallen_bits/swats/swats.hpp
+include/ensmallen_bits/swats/swats_impl.hpp
+include/ensmallen_bits/swats/swats_update.hpp
+include/ensmallen_bits/utility/any.hpp
+include/ensmallen_bits/utility/arma_traits.hpp
+include/ensmallen_bits/wn_grad/wn_grad.hpp
+include/ensmallen_bits/wn_grad/wn_grad_impl.hpp
+include/ensmallen_bits/wn_grad/wn_grad_update.hpp


More information about the svn-ports-all mailing list