Implementation of AdaBoost Algorithm
We are some machine learning enthusiasts who aim to implement the adaboost algorithm from scratch.
We are using the following technologies in our project,
Linux
git clone https://github.com/codezonediitj/adaboost
cd ../
mkdir build-adaboost
cd build-adaboost
cmake -D[OPTIONS] ../adaboost
make
. Do not execute, make -j5
if you are using -DINSTALL_GOOGLETEST=ON
otherwise make
will try to link tests with gtest gtest_main
before GoogleTest
is installed into your system../bin/*
. Ensure that you have used the option -DBUILD_TESTS=ON
in step 5 above.Windows
cd ../
mkdir build-adaboost
cd build-adaboost
cmake
GUI and put the adaboost
directory as source code in the source code field and build-adaboost
directory in the build binaries field.cmake
options(see below) which you want to use for building, then click Configure
and Generate
, to build the files .We provide the following options for cmake
,
BUILD_TESTS
By default OFF
, set it to ON
if you wish to run the tests. Tests are stored in the bin
under your build directory.
INSTALL_GOOGLETEST
By default ON
, set it to OFF
if you do not want to update the already existing GoogleTest on your system. Note that it uses this release of googletest.
CMAKE_INSTALL_PREFIX
Required for installing if not installing to /usr/local/include
on Linux based systems. Defines the path where the library is to be installed.
Follow the steps for building from source. After that run the following,
Linux
sudo make install
Windows
cmake install <path to your build directory>
Follow the steps given below,
git clone https://github.com/codezonediitj/adaboost/
../adaboost
.git remote add origin_user https://github.com/<your-github-username>/adaboost/
git checkout -b <your-new-branch-for-working>
.git add .
.git commit -m "your-commit-message"
.git push origin_user <your-current-branch>
.That’s it, 10 easy steps for your first contribution. For future contributions just follow steps 5 to 10. Make sure that before starting work, always checkout to master and pull the recent changes using the remote origin
and then start following steps 5 to 10.
See you soon with your first PR.
We recommend you to introduce yourself on our gitter channel. You can include the literature you have studied relevant to adaboost, some projects, prior experience with the technologies mentioned above, in your introduction.
Please follow the rules and guidelines given below,
master
branch for the pattern.Keep contributing!!