From c8726ff2ee54b8663e2e3156086733c52383ca52 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 22 Nov 2023 09:00:31 -0500 Subject: [PATCH] Update and release version 4.3.0. --- CMakeLists.txt | 2 +- HISTORY.md | 4 ++-- README.md | 2 +- doc/examples/sample-ml-app/README.txt | 8 ++++---- .../sample-ml-app/sample-ml-app/sample-ml-app.vcxproj | 2 +- doc/user/sample_ml_app.md | 4 ++-- src/mlpack/core/util/version.hpp | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b38a92117ef..f4384d709e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,7 +339,7 @@ if (NOT DOWNLOAD_DEPENDENCIES) else() find_package(Ensmallen "${ENSMALLEN_VERSION}") if (NOT ENSMALLEN_FOUND) - get_deps(https://www.ensmallen.org/files/ensmallen-latest.tar.gz ensmallen ensmallen-latest.tar.gz) + get_deps(https://www.ensmallen.org/files/ensmallen-2.20.0.tar.gz ensmallen ensmallen-latest.tar.gz) set(ENSMALLEN_INCLUDE_DIR ${GENERIC_INCLUDE_DIR}) find_package(Ensmallen REQUIRED) endif() diff --git a/HISTORY.md b/HISTORY.md index a8d72f5ae94..e3d3540a55e 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,5 @@ -### mlpack ?.?.? -###### ????-??-?? +### mlpack 4.3.0 +###### 2023-11-22 * Fix include ordering issue for `LinearRegression` (#3541). * Fix L1 regularization in case where weight is zero (#3545). diff --git a/README.md b/README.md index 0cf433a16e0..f19fafe7e65 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ src="https://cdn.rawgit.com/mlpack/mlpack.org/e7d36ed8/mlpack-black.svg" style="

Download: - current stable version (4.2.1) + current stable version (4.3.0)

diff --git a/doc/examples/sample-ml-app/README.txt b/doc/examples/sample-ml-app/README.txt index cd3eabf9969..6ddcf25ff58 100644 --- a/doc/examples/sample-ml-app/README.txt +++ b/doc/examples/sample-ml-app/README.txt @@ -21,15 +21,15 @@ and library files into C:\mlpack\. * ensmallen: https://ensmallen.org/files/ensmallen-2.19.0.tar.gz Download the .tar.gz, and extract it into C:\mlpack\ensmallen-2.19.0\ -Now, install mlpack into C:\mlpack\mlpack-4.2.1\. If you downloaded the mlpack +Now, install mlpack into C:\mlpack\mlpack-4.3.0\. If you downloaded the mlpack source, you can either use the Windows build guide (see doc/user/build_windows.md) to build and install, or, since mlpack is -header-only, copy the src/ directory to C:\mlpack\mlpack-4.2.1\ and rename it -"include" (so there will now be a directory C:\mlpack\mlpack-4.2.1\include\, +header-only, copy the src/ directory to C:\mlpack\mlpack-4.3.0\ and rename it +"include" (so there will now be a directory C:\mlpack\mlpack-4.3.0\include\, which contains only base.hpp and the mlpack/ subdirectory). Alternately, if you downloaded the Windows MSI installer, you can install to -C:\mlpack\mlpack-4.2.1\. +C:\mlpack\mlpack-4.3.0\. Once all of that setup is done, the example should compile as-is. diff --git a/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj b/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj index 19a954e574b..5bf55f3beab 100644 --- a/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj +++ b/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj @@ -104,7 +104,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) Default - C:\mlpack\armadillo-11.4.1\include;C:\mlpack\mlpack-4.2.1\include\;C:\mlpack\cereal-1.3.2\include;C:\mlpack\ensmallen-2.19.0\include\%(AdditionalIncludeDirectories) + C:\mlpack\armadillo-11.4.1\include;C:\mlpack\mlpack-4.3.0\include\;C:\mlpack\cereal-1.3.2\include;C:\mlpack\ensmallen-2.19.0\include\%(AdditionalIncludeDirectories) stdcpp17 false %(AdditionalOptions) diff --git a/doc/user/sample_ml_app.md b/doc/user/sample_ml_app.md index 14e8d4e2af2..bb7320eb441 100644 --- a/doc/user/sample_ml_app.md +++ b/doc/user/sample_ml_app.md @@ -27,13 +27,13 @@ dependencies in Release Mode). - Under C/C++ > General > Additional Include Directories add: ``` - C:\mlpack\armadillo-9.800.3\include - - C:\mlpack\mlpack-4.2.1\src + - C:\mlpack\mlpack-4.3.0\src - C:\mlpack\ensmallen-2.19.0\include - C:\mlpack\cereal-3.1.2\include ``` - Under Build Events > Post-Build Event > Command Line add: ``` - - xcopy /y "C:\mlpack\mlpack-4.2.1\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) + - xcopy /y "C:\mlpack\mlpack-4.3.0\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) ``` *Note*: recent versions of Visual Studio set "Conformance Mode" enabled by diff --git a/src/mlpack/core/util/version.hpp b/src/mlpack/core/util/version.hpp index e7b609e95c4..5026edd8405 100644 --- a/src/mlpack/core/util/version.hpp +++ b/src/mlpack/core/util/version.hpp @@ -17,8 +17,8 @@ // The version of mlpack. If this is a git repository, this will be a version // with higher number than the most recent release. #define MLPACK_VERSION_MAJOR 4 -#define MLPACK_VERSION_MINOR 2 -#define MLPACK_VERSION_PATCH 2 +#define MLPACK_VERSION_MINOR 3 +#define MLPACK_VERSION_PATCH 0 // The name of the version (for use by --version). namespace mlpack {