-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design Discussions #3
Comments
I have thought of the following file structure for the project, ├── AUTHORS
├── CMake
├── CMakeLists.txt
├── CODE_OF_CONDUCT.md
├── ISSUE_TEMPLATE.md
├── LICENSE
├── PULL_REQUEST_TEMPLATE.md
├── README.md
└── src
├── adaboost
├── bindings
├── CMakeLists.txt
├── tests
└── utils
6 directories, 8 files References - https://github.com/mlpack/mlpack The above is just a rough idea of moving forward. If you have any suggestions the let me know. I will make it more concrete in the coming days. |
The final file directory structure will be similar too, .
├── AUTHORS
├── CMakeLists.txt
├── CODE_OF_CONDUCT.md
├── ISSUE_TEMPLATE.md
├── LICENSE
├── PULL_REQUEST_TEMPLATE.md
├── README.md
└── src
├── adaboost
│ └── CMakeLists.txt
├── bindings
│ ├── CMakeLists.txt
│ └── python
│ └── CMakeLists.txt
├── CMakeLists.txt
├── core
│ └── CMakeLists.txt
├── cuda
│ └── CMakeLists.txt
├── tests
│ └── CMakeLists.txt
└── utils
└── CMakeLists.txt
8 directories, 15 files I have removed build related files(CMake and other stuff). We will add them later on. Let's move on to discuss User facing APIs. |
Each module will be having two types of files,
In addition there will be a The purpose of each module is describe in the points mentioned below, 1. Let's start the discussion for the API of
The following operations will be required,
For deciding the API we can consider the use of the above functions in the algorithm.
Sum(function_pointer address, Vector, start, end) The above will work fine for CPU. For GPU counter part, we will be needing a
Argmax(function_pointer, Vector)
I(function_pointer) All the functions above will have their counter parts for GPU. Refer, https://stackoverflow.com/a/12374170 as well. |
|
Description of the problem
This issue aims at discussing the design of the software that is going to be developed covering the below topics,
I will try to come up with the first one ASAP. However, if you already prepared something then let us know in the comments.
Example of the problem
References/Other comments
We will follow https://web.stanford.edu/~hastie/Papers/samme.pdf
If you have something to suggest which can be used in the project then let us know.
The text was updated successfully, but these errors were encountered: