Ryan Curtin
93eb34cc4d
Merge pull request #556 from lozhnikov/master
...
Bugfix #350 and some fixes in RStarTreeSplit and XTreeSplit
2016-05-04 11:04:51 -04:00
Mikhail Lozhnikov
019680f96d
Combine SplitType's constructors.
2016-05-03 23:17:08 +03:00
Mikhail Lozhnikov
4208f38a73
Move splitHistory to XTreeSplit. Update serialization of the RectangleTree class.
2016-05-03 20:41:03 +03:00
Mikhail Lozhnikov
52423b82b0
Remove a pointer to the node from the SplitType class.
2016-05-03 19:36:42 +03:00
Ryan Curtin
4c8a8d1ccb
Merge pull request #634 from xantares/fix-mlpack_export-include
...
Fix mlpack_export.h include
2016-05-02 15:37:51 -04:00
Michel Zou
d47933c616
Fix mlpack_export.h include
2016-05-02 20:57:12 +02:00
Ryan Curtin
7264d37128
Add a bit of documentation for what MLPACK_EXPORT is and why it is there.
2016-04-25 14:32:07 -04:00
Ryan Curtin
a59d1259ec
Better documentation of BUILD_SHARED_LIBS option.
2016-04-25 14:31:51 -04:00
Ryan Curtin
aa7e513521
Merge pull request #622 from xantares/windows_shared_libs
...
Allow to build dlls
2016-04-25 14:23:53 -04:00
Mikhail Lozhnikov
f0f9fff64b
Merge remote-tracking branch 'upstream/master'
...
Fix conflicts
2016-04-22 21:22:58 +03:00
Mikhail Lozhnikov
6008c15f62
Use the RectangleTree::Split() method instead of the friend class.
...
Move the normalNodeMaxNumChildren to the XTreeSplit.
2016-04-22 20:21:23 +03:00
Ryan Curtin
213a04d316
Add another test, and check that we aren't duplicating points.
2016-04-22 10:48:30 -04:00
Ryan Curtin
35149daee1
Style fixes.
2016-04-22 10:17:30 -04:00
Ryan Curtin
410bed0b7a
Move SplitData to data namespace.
...
It seems more appropriate to me; the util namespace primarily contains utilities
for C++ programming in mlpack, whereas the data namespace contains utilities for
manipulating data.
2016-04-22 09:03:23 -04:00
Ryan Curtin
c20195c141
Move <tuple> to standard include.
...
We will probably use it again in other mlpack classes.
2016-04-22 09:00:42 -04:00
Ryan Curtin
b08ae02b90
Merge pull request #523 from stereomatchingkiss/split_data
...
add train test split
2016-04-22 08:59:00 -04:00
Mikhail Lozhnikov
03a34ed2e5
Replace static SplitType in the RectangleTree by an instantiated object.
2016-04-22 15:10:45 +03:00
Ryan Curtin
ebf77f8b13
Merge pull request #628 from ajjl/parenthesisBugFix
...
BUG: Misplaced parenthesis in comparison of absolute values
2016-04-21 18:42:56 -04:00
Alexander Leinoff
b7a01eb8ac
BUG: Misplaced parenthesis in comparison of absolute values
...
The misplaced parenthesis around the comparison of the absolute
values of bandwidth and distance could cause erronus results. In
addition, this caused a "-Wabsolute-value" warning:
src/mlpack/core/kernels/epanechnikov_kernel.cpp:41:14:
warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
} else if (std::abs(bandwidth > std::abs(distance)))
2016-04-21 16:30:16 -05:00
stereomatchingkiss
54c7f22a6d
1 : fix style
...
2 : remove useless header
3 : reduce temporary variable
2016-04-20 14:46:09 +08:00
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
Michel Zou
6f9a29c60a
use WINDOWS_EXPORT_ALL_SYMBOLS
2016-04-16 13:22:59 +02:00
stereomatchingkiss
c92dd2fc65
remove suggestions of add ARMA_USE_CXX11
2016-04-16 13:26:21 +08:00
stereomatchingkiss
6f213a3d07
add ARMA_USE_CXX11 if the compiler is msvc
2016-04-16 12:27:03 +08: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