Machine learning: Using embedPy to apply LASSO regression

23 Oct 2018 | , , ,
Share on:

By Samantha Gallagher

 

The use of kdb+ for machine learning in financial technology and other industries is expanding following the release by Kx of the powerful embedPy interface, which allows the kdb+ interpreter to manipulate Python objects, call Python functions, and load Python libraries. Now Python and kdb+ developers can fuse both technologies together, allowing for a seamless application of q’s high-speed analytics and Python’s expansive collection of libraries.

In our latest technical white paper, Kx engineer Samantha Gallagher introduces embedPy, covering both a range of basic tutorials as well as a comprehensive solution to a machine-learning project. EmbedPy is available on GitHub to use with kdb+ V3.5+ and Python 3.5 or higher, for macOS or Linux operating systems and Python 3.6 or higher on the Windows operating system. The installation directory also contains a README.txt about embedPy, and an example directory containing thorough examples.

You can read Samantha’s paper on the Kx Developer’s site, code.kx.com here.

SUGGESTED ARTICLES

ML and kdb+

Machine Learning Toolkit Update: Cross-Validation and ML Workflow in kdb+

23 Jul 2019 | , ,

The Kx machine learning team has an ongoing project of periodically releasing useful machine learning libraries and notebooks for kdb+. This release relates to the areas of cross-validation and standardized code distribution procedures for incorporating both Python and q distribution. Such procedures are used in feature creation through the FRESH algorithm and cross-validation within kdb+/q.