CDataFrame is a C++ library for Data Science and Machine Learning projects. It is designed to be fast and easy to use. It is based on the CMatrix library.
This library works with C++11 or higher.
To install the library, follow these steps:
- Clone the repository using the following command:
git submodule add -b main https://github.com/B-Manitas/CDataFrame.git
git submodule update --init --recursive-
Include the
CDataFrame/include/CDataFrame.hppfile in your project. -
Compile your project with the following flags:
-std=c++11 -fopenmpCMatrix is structured as follows:
| Class | Description |
|---|---|
| include | |
CDataFrame.hpp |
The main template class that can work with any data type except bool. |
| src | |
CDataFrame.tpp |
General methods of the class. |
CDataFrameConstructors.hpp |
Implementation of class constructors. |
CDataFrameGetter.hpp |
Methods to retrieve information about the data frame and access its elements. |
CDataFrameSetter.hpp |
Methods to set data in the data frame. |
CDataFrameCheck.tpp |
Methods to verify data frame conditions and perform checks before operations to prevent errors. |
CDataFrameManipulation.hpp |
Methods to find elements in the data frame and transform it. |
CDataFrameOperator.hpp |
Implementation of various operators. |
CDataFrameStatic.hpp |
Implementation of static methods of the class. |
| test | |
CDataFrameTest.hpp |
Contains the tests for the class. |
For detailed information on how to use CMatrix, consult the documentation.
- CMatrix: A C++ library for matrix operations. (Required for compile CMatrix)
- OpenMP: An API for parallel programming. (Required for compile CMatrix)
- GoogleTest: A C++ testing framework.
- Doxygen: A documentation generator.
- CMatrix: A C++ library for matrix operations.
This project is licensed under the MIT License, ensuring its free and open availability to the community.