You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the usage of PINK via command line is very limited, we will provide a C++/Python interface to call PINK functions directly within Python. For the implementation the framework PyBind11 will be used, which should be able to provide a seamless integration to the new generic, template-based C++ code of PINK (#6). The data exchange between C++ and Python will be over numpy arrays.
At the moment the interface is using a 2-dimensional cartesian SOM and data layout on the CPU. The missing step is now to add the other static types and to insert an abstraction to use them in a dynamic way.
The text was updated successfully, but these errors were encountered:
Since the usage of PINK via command line is very limited, we will provide a C++/Python interface to call PINK functions directly within Python. For the implementation the framework PyBind11 will be used, which should be able to provide a seamless integration to the new generic, template-based C++ code of PINK (#6). The data exchange between C++ and Python will be over numpy arrays.
Please find an experimental implementation at https://github.com/HITS-AIN/PINK/blob/redesign/src/PythonBinding/pink.cpp and an example of using for the SOM training at https://github.com/HITS-AIN/PINK/blob/redesign/scripts/train.py.
At the moment the interface is using a 2-dimensional cartesian SOM and data layout on the CPU. The missing step is now to add the other static types and to insert an abstraction to use them in a dynamic way.
The text was updated successfully, but these errors were encountered: