An RKHS based module for numerics, statistic and machine learning
Project description
Overview
Codpy is a kernel based, open source software library for high performance numerical computations relying on the RKHS theory. It contains a set of core tools that we use for machine Learning, statistics and numerical simulations, see our introduction to codpy for a review of the method, as well as several examples running this library.
Warning: codpy versions 0.1.XX are alpha versions in early development stage and will be subject to rapid changes without down compatibilities.
Technical requirement
This version of the library is multi-core CPU architectures, and is tested on
- windows / amd64 platforms
Installation
Note: this installation process has been tested on
- windows / amd64 platform
prerequisite
Minimum installation
- python3.9.7: a valid python python3.9.7 installation.
NOTE : Python installation differs from one machine to another. The python root folder is denoted "<path/to/python39>" in the rest of this document. The software Everything (or another equivalent) can be of great help finding files.
Dev installations
For information, we list the softwares that we are using for our dev configuration :
- GitHub Desktop
- R: use any CRAN mirror for download
- RStudio: see the download link, then choose the free version
- MiKTEX: see the download tab
- Everything
- Visual Studio Code
Those installations should be fine using the latest (64 bits) version and the default settings for each software .
Note Once R and RStudio are installed, open the latter. In the console, enter "install.packages("rmarkdown")" to install RMarkdown.
Installation
prerequisite
We suppose that there is a valid python installation on the host machine. The reader can
- either use its main python environment
<path/to/python39>
- or create a virtual python environment
<path/to/venv>
, a good practice that we describe in the rest of this section.
First open a command shell cmd
, create a virtual environment and activate it.
python -m venv .\venv
.\venv\Scripts\activate
NOTE : In the rest of the installation procedure, we consider a virtual environment <path/to/venv>. One can replace with <path/to/python39> if a main environment installation is desired, for dev purposes for instance.
pip install codpy
Open a command shell cmd
, and pip install codpy
pip install codpy==0.1.10
or from the local repository
pip install <path/to/codpyrepo>/dist/codpy-XXXX.whl
The installation procedure might take some minutes depending on your internet connection.
Test codpy
open a python shell and import codpy
python
import codpy
Testing with Visual Studio Code
You can your visual studio installation.
-
With Visual Studio Code, open the
<path/to/codpyrepo>
folder and select for instance the file<path/to/codpyrepo>/proj/clustering.py
-
Select your python interpreter (Shift+P)
-
Hit F5. If everything works, you should have some figures.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for codpy-0.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54d1c820ed27e8f797024d719ec67d037cfb335efab54ae1a41f9b1bc30046c |
|
MD5 | ebfc08fad3a600f310f83cd22f0418df |
|
BLAKE2b-256 | f0771d9cc6f949efa63f2e53d4a63d3bdfde3d92daeda2bede364638ea723db9 |