Skip to content

contagon/sklearn_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summer Project to freshen up on my C++ skills. Seeking to implement various sklearn algorithms in C++.

Implemented Algorithms

Transformers Classifiers Regressors Misc
PCA kNeighborsClassifier Test-Train Split
StandardScaler RadiusNeighborsClassifier Pipeline
MinMaxScaler

Dependencies

  • Eigen: C++ Numpy Equivalent. Installation. NEED at least version 3.3.90 which is currently the newest version available (have to clone master branch of eigen). It has various improvements, most importantly MUCH improved slicing capability.
  • fdcl-hdf5(optional): Used to save and load HD5 files. Installation.

Resources

Note to get fdcl-hdf5 to find the hdf5 libraries, I add to run export CPATH=/usr/include/hdf5/serial/ or add it to my bashrc.

Had issues finding a library installed with anaconda, running sudo ln -s "$HOME/anaconda3/lib/libhdf5.so.103" "/usr/lib/x86_64-linux-gnu/libhdf5.so.103" did the trick.