Adaboost
Implementation of AdaBoost Algorithm
Install / Use
/learn @codezonediitj/AdaboostREADME
AdaBoost
About Us
We are some machine learning enthusiasts who aim to implement the adaboost algorithm from scratch.
Technologies
We are using the following technologies in our project,
- C++
- Python
- CUDA C
- Google Test
- Boost.Python
Building from source
Linux
- Clone Repository to local machine
git clone https://github.com/codezonediitj/adaboost - Move to back to parent directory,
cd ../ - Execute,
mkdir build-adaboost - Execute,
cd build-adaboost - Execute,
cmake -D[OPTIONS] ../adaboost - Execute,
make. Do not execute,make -j5if you are using-DINSTALL_GOOGLETEST=ONotherwisemakewill try to link tests withgtest gtest_mainbeforeGoogleTestis installed into your system. - To test, run,
./bin/*. Ensure that you have used the option-DBUILD_TESTS=ONin step 5 above.
Windows
- git clone https://github.com/codezonediitj/adaboost
- Move to back to parent directory,
cd ../ - Execute,
mkdir build-adaboost - Execute,
cd build-adaboost - Install CMake from https://cmake.org/download/. You can also follow the steps given at, https://cgold.readthedocs.io/en/latest/first-step/installation.html#windows
- Open
cmakeGUI and put theadaboostdirectory as source code in the source code field andbuild-adaboostdirectory in the build binaries field. - Select the
cmakeoptions(see below) which you want to use for building, then clickConfigureandGenerate, 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.
Installing
Follow the steps for building from source. After that run the following,
Linux
sudo make install
Windows
cmake install <path to your build directory>
How to contribute?
Follow the steps given below,
- Fork, https://github.com/codezonediitj/adaboost
- Execute,
git clone https://github.com/codezonediitj/adaboost/ - Change your working directory to
../adaboost. - Execute,
git remote add origin_user https://github.com/<your-github-username>/adaboost/ - Execute,
git checkout -b <your-new-branch-for-working>. - Make changes to the code.
- Add your name and email to the AUTHORS, if you wish to.
- Execute,
git add .. - Execute,
git commit -m "your-commit-message". - Execute,
git push origin_user <your-current-branch>. - Make a PR.
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.
Guidelines
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,
- For Python we follow the numpydoc docstring guide.
- For C++ we follow our own coding style mentioned here.
- For C++ documentation we follow, Doxygen style guide. Refer to various modules in the existing
masterbranch for the pattern. - Follow the Pull Request policy given here. All changes are made through Pull Requests, no direct commits to the master branch.
Keep contributing!!
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
13.8kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
000-main-rules
Project Context - Name: Interactive Developer Portfolio - Stack: Next.js (App Router), TypeScript, React, Tailwind CSS, Three.js - Architecture: Component-driven UI with a strict separation of conce
