ChanServ changed the topic of #mlpack to: "mlpack: a fast, flexible machine learning library :: We don't always respond instantly, but we will respond; please be patient :: Logs at http://www.mlpack.org/irc/
cjlcarvalho has quit [Ping timeout: 252 seconds]
ImQ009 has joined #mlpack
i8hantanu has joined #mlpack
ImQ009 has quit [Read error: Connection reset by peer]
aman_p has quit [Quit: Connection closed for inactivity]
i8hantanu has quit [Quit: Connection closed for inactivity]
< Xuwei>
Hey guys, I've trying to build mlpack on Windows 10. I am wondering does it work with the new version of armadillo-9.200.6 instead of armadillo-8.500.1 that's on the tutorial? Also, for the boost 1.69.0 instead of boost 1.66.0?
< rcurtin>
Xuwei: it should---give it a shot and report if there are any issues :)
< Xuwei>
So I tried armadillo-9.200.6 it built but when I tried to build mlpack following the tutorial using the following line
< Xuwei>
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake:2044 (message): Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call firs
< Xuwei>
Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:302 (find_package) -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -
< rcurtin>
oh, I bet that you need to add 1.69 to "Boost_ADDITIONAL_VERSIONS" in CMakeLists.txt
< Xuwei>
IT says something like this
< Xuwei>
I added it to CMakeLists.txt. It does work. Thank you so much! But I'm not sure if I have built it successfully it says something like this
< Xuwei>
-- Boost version: 1.69.0 -- Found the following Boost libraries: -- program_options -- unit_test_framework -- serialization -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Not building Python bindings. -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPR
< Xuwei>
-- Performing Test COMPILER_HAS_DEPRECATED - Success -- CXX target mlpack cotired. -- CXX target mlpack_test cotired. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: ARMADILLO_LIBRARY
< rcurtin>
looks like that is only a warning, not a failure, so I think that it has configured correctly
< rcurtin>
it's ok if it didn't find everything---not everything is needed just to build the library
< rcurtin>
I'll open a PR to add 1.69 to Boost_ADDITIONAL_VERSIONS
< rcurtin>
it's tough to stay on top of that, we have to update it every time Boost releases a new version...
< Xuwei>
I know
< Xuwei>
I would like to help with that
< rcurtin>
oh, ok
< rcurtin>
well in that case you can open the PR, it is very simple
< rcurtin>
I'd suggest that you add both "1.69.0" and "1.69"
< rcurtin>
does that work for you? if so I will let you handle it, then approve the PR once you open it :)
< Xuwei>
Sure!Thank you, I will do it. You smart people should work on hard thing lol
< rcurtin>
:) thanks
Xuwei has quit [Quit: Page closed]
ImQ009 has joined #mlpack
i8hantanu has quit [Quit: Connection closed for inactivity]
ayesdie has joined #mlpack
ayesdie has quit [Client Quit]
ayesdie has joined #mlpack
< ayesdie>
hi, I have been working on PR #1648 and I'm having a bit trouble setting up the SparseSVM::Classify() function.
< ayesdie>
Especially, where can I find b for f(x) = sgn(w.x + b)?
< ayesdie>
Or am I missing anything else here?
ayesdie has quit [Quit: ayesdie]
i8hantanu has joined #mlpack
< rcurtin>
ayesdie: consider the 'parameters' matrix given to Evaluate() and Gradient() as a concatenated vector: [x b]
< rcurtin>
so, e.g., the first x.n_elem elements of parameters correspond to x, and the last one(s) correspond to b
lth08091998 has joined #mlpack
lth08091998 has left #mlpack []
hieu8998 has joined #mlpack
hieu8998 has quit [Ping timeout: 256 seconds]
b has joined #mlpack
b has left #mlpack []
i8hantanu has quit [Quit: Connection closed for inactivity]