Performance and scikit-learn (3/4)
Introducing PairwiseDistancesReduction, a new Cython-based abstraction in scikit-learn for high-performance CPU computations of reductions over pairwise distances.
Introducing PairwiseDistancesReduction, a new Cython-based abstraction in scikit-learn for high-performance CPU computations of reductions over pairwise distances.
Explains the performance benefits of using contiguous memory in Cython for scientific computing and discusses debugging segfaults in low-level code.
Design discussion for new linear algebra data structures in QuTiP, focusing on lightweight vs. heavy implementations for performance and dispatch.
A technical guide on setting up the Cython debugger (gdb extensions) on macOS, covering challenges with Python versions and compilation.
A guide to setting up a development environment for SciPy on Mac OS, including installing dependencies and using development mode.
A tutorial on using Cython to optimize slow numerical Python code, demonstrated with an Ising Model simulation.
A performance comparison revisiting Numba vs. Cython for optimizing a pairwise distance array computation, using updated libraries and benchmarks.
A developer details a new, enhanced Ball Tree and KD-Tree implementation for scikit-learn, comparing its performance and features to existing solutions.
A technical comparison of Numba and Cython for accelerating Python code, including benchmarks and analysis of JIT vs. compiled approaches.
Benchmarking Cython typed memoryviews vs ndarray syntax for array operations, focusing on inlining effects on performance.
Benchmarking Cython memoryviews for optimizing distance metric calculations in Python, comparing performance with NumPy and older Cython methods.
Scikit-learn and related Python libraries have students accepted for Google Summer of Code projects focused on performance and new features.
A Cython tutorial on creating NumPy arrays from existing C-allocated memory without copying data, using PyArray_SimpleNewFromData.
A developer shares their experience creating a Python interface for the open-vcdiff library using Cython, focusing on C++ integration challenges.