Ryan Curtin
d2e353468b
Merge pull request #626 from ajjl/removeTrailingWhitespace
...
Removes trailing whitespaces at end of lines
2016-04-19 19:05:02 -04:00
Ryan Curtin
c334b992da
Merge pull request #627 from darcyliu/bugfix
...
Remove non-existent man page targets
2016-04-19 19:03:24 -04:00
Ryan Curtin
64c049efa2
Rename AllkFN to KFN, and AllkNN to KNN.
2016-04-19 16:00:38 -07:00
Darcy Liu
0e583d2543
Remove non-existent man page targets
...
Since mlpack_allkfn/mlpack_allknn have been renamed, no man pages will
be generated for them.
2016-04-19 21:23:32 +01:00
Alexander Leinoff
efb64f2c7d
Removes trailing whitespaces at end of lines
...
Unnecessary end of line whitespace is generally frowned upon. In addition some
editors remove end of line whitespace automatically, making diffs hard to read.
This commit removes all trailing witespaces. Using some sed magic in bash:
find . -name "*.*" -type f -print0 | xargs gsed -i 's/[ \t]*$//'
2016-04-19 12:10:01 -05:00
Ryan Curtin
6be725a3fa
Update documentation for changed names.
2016-04-18 13:08:14 -07:00
Ryan Curtin
1d7ea164bb
Deprecate old names; add new names.
2016-04-18 13:08:08 -07:00
Ryan Curtin
56b53a09e2
Remove unnecessary comments from tests.
2016-04-18 10:46:46 -07:00
Ryan Curtin
7e0e6ea1e3
My editor auto-removed trailing spaces.
2016-04-18 10:44:46 -07:00
Ryan Curtin
a6f20af309
Update comment for accuracy; I should have been more specific when I wrote it.
2016-04-18 10:44:28 -07:00
Ryan Curtin
8a249cf02c
Rename main program files.
...
This is done for add_cli_executable().
2016-04-18 10:42:29 -07:00
Ryan Curtin
ee3c27a47f
Merge pull request #625 from xantares/fix_cli_opt
...
Fix configuration when BUILD_CLI_EXECUTABLES=OFF
2016-04-18 13:27:09 -04:00
Michel Zou
c5aa37097c
Fix configuration when BUILD_CLI_EXECUTABLES=OFF
2016-04-18 19:23:37 +02:00
Ryan Curtin
28ae007678
Merge branch 'xantares-cli_option'
2016-04-18 09:00:44 -07:00
Ryan Curtin
2564cf4c51
Update documentation.
2016-04-18 09:00:19 -07:00
Ryan Curtin
d6c4a52951
Remove extra newlines.
2016-04-18 08:58:14 -07:00
Ryan Curtin
3991cc2c27
Merge branch 'cli_option' of https://github.com/xantares/mlpack into xantares-cli_option
2016-04-18 08:55:07 -07:00
Ryan Curtin
cf2b625650
Remove debugging output.
2016-04-18 07:19:02 -07:00
Ryan Curtin
3d651399be
Update HISTORY to note mlpack_allknn and mlpack_allkfn change.
2016-04-18 07:18:01 -07:00
Ryan Curtin
0e6f3512e5
Merge pull request #618 from darcyliu/rename
...
Rename mlpack_allknn/mlpack_allkfn to mlpack_knn/mlpack_kfn
2016-04-18 10:17:00 -04:00
Ryan Curtin
c5573b26c0
Merge pull request #621 from xantares/fix-dt_utils-cast
...
Fix a cast in dt_utils.cpp
2016-04-16 11:04:50 -04:00
Michel Zou
c6eb4d757f
Fix a cast in dt_utils.cpp
2016-04-16 14:26:00 +02:00
xantares
9cd5bec89c
Add an option to disable CLI executables
...
the cmake option BUILD_CLI_EXECUTABLES is added
2016-04-16 14:16:38 +02:00
Darcy Liu
5702b9fe4c
Copy mlpack_knn/mlpack_kfn after they have been built
2016-04-16 03:09:01 +01:00
Darcy Liu
2f9ad40493
Make mlpack_allknn by copy
2016-04-16 02:38:39 +01:00
Ryan Curtin
31dd6c033f
Document new CMake options.
2016-04-15 14:12:28 -04:00
Ryan Curtin
698248845c
Merge pull request #616 from xantares/testing
...
Testing
2016-04-15 14:10:56 -04:00
Darcy Liu
f13409cf7f
Rename mlpack_allknn/mlpack_allkfn to mlpack_knn/mlpack_kfn
...
Make a copy of mlpack_knn/mlpack_kfn both on Windows and *unix.
Update documentation which references 'allknn' or 'allkfn').
2016-04-15 14:16:20 +01:00
Ryan Curtin
0c945f3d36
Manually calculate starting state probability.
2016-04-15 08:58:17 -04:00
Michel Zou
06c34f7c2f
Add an option to disable tests
2016-04-15 12:03:39 +00:00
Michel Zou
4fa02a0e81
Run mlapack_test through ctest
...
The 'test' target is reserved to ctest and we avoid this cmake warning:
CMake Warning (dev) at src/mlpack/CMakeLists.txt:87 (add_custom_target):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
This warning is for project developers. Use -Wno-dev to suppress it.
Using ctest over a custom target has also the advantage of allowing to use an
interpreter when cross-compiling.
Now this looks like this:
$ make test
Running tests...
Test project /home/xantares/projects/mlpack/build
Start 1: mlpack_test
1/1 Test #1 : mlpack_test ...................... Passed 529.50 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 529.53 sec
Ctest can also be used directly with a timeout:
```ctest --output-on-failure --timeout 1800```
instead of
```travis_wait 30 ./bin/mlpack_test -p```
2016-04-15 12:03:39 +00:00
Marcus Edel
2e33c5c42c
Switching back to release mode; also remove the bigobj flag since it should be added to the CMake file.
2016-04-15 00:09:03 +02:00
Marcus Edel
6de06f0f70
Add msbuild /bigobj flag to the appveyor config to avoid 'object file format limit' error.
2016-04-14 23:54:42 +02:00
Marcus Edel
e047bcfece
We have to tell msbuild to compile in debugging mode also use the custom appveyor logger to push MSBuild warning and errors in real-time to build console. Let's see if that makes things faster.
2016-04-14 23:08:07 +02:00
Ryan Curtin
62a9489500
Compile in debugging mode, in the hopes that things will be faster.
...
If the compiler is not optimizing, then maybe it will be quicker...
2016-04-14 15:10:04 -04:00
Ryan Curtin
b8f53a4eeb
Update documentation.
2016-04-14 14:52:41 -04:00
Ryan Curtin
24f7626bf8
Update HISTORY to note changed version identifiers.
2016-04-14 14:52:05 -04:00
Ryan Curtin
637809fec8
Merge branch 'master' of https://github.com/mlpack/mlpack
2016-04-14 14:47:25 -04:00
Ryan Curtin
3781ccbe93
Fix unusual bug that pruned too tightly.
...
It is possible, in very weird and occasional situations (in this case, by using
mlpack_allkfn with phy.csv and cover trees), that a point in a candidate
reference node would have the exact same distance as the bound distance. But in
this case the reference node should not be pruned, since that point in the
candidate reference node can still update the results! That could happen if,
for instance, the results array for a particular point isn't completely full
yet.
2016-04-14 14:45:37 -04:00
Ryan Curtin
e0e9d0463e
Update version macros to retain underscore versions.
2016-04-14 14:40:28 -04:00
Ryan Curtin
c9c17127f9
Merge branch 'master' of https://github.com/Falit/mlpack into Falit-master
2016-04-14 11:31:51 -04:00
Ryan Curtin
08ffa1b0c6
Fix name of tutorial.
2016-04-14 10:11:39 -04:00
Ryan Curtin
1140d93866
Fix missing \endcode.
2016-04-14 10:11:39 -04:00
Ryan Curtin
8ca7cf2796
Fix doxygen issue.
2016-04-14 10:11:39 -04:00
Ryan Curtin
15b5e65fe6
Add recent tutorials.
2016-04-14 10:11:39 -04:00
Ryan Curtin
79bf33090e
Update documentation.
2016-04-14 10:11:39 -04:00
Ryan Curtin
f73d89833d
Merge pull request #615 from xantares/patch-1
...
MinGW: use lowercase windows.h
2016-04-14 09:40:34 -04:00
xantares
f3db4278c7
MinGW: use lowercase windows.h
...
Fixes the build for MinGW-w64 as it uses lowercase headers, unchanged for case-insensitive native windows platforms.
2016-04-14 07:38:42 +02:00
Marcus Edel
77532c84c6
Merge pull request #614 from stereomatchingkiss/refine_log_softmax
...
Only initialize variable once.
2016-04-13 21:21:37 +02:00
Ryan Curtin
e0e7ba5353
Handle case when dataSeq.size() == 1.
...
Thanks warpuv for pointing this out!
2016-04-13 10:52:19 -04:00