English
Related papers

Related papers: Awkward Arrays in Python, C++, and Numba

200 papers

Awkward Array is a library for performing NumPy-like computations on nested, variable-sized data, enabling array-oriented programming on arbitrary data structures in Python. However, imperative (procedural) solutions can sometimes be easier…

Programming Languages · Computer Science 2023-10-04 Ianna Osborne , Jim Pivarski , Ioana Ifrim , Angus Hollands , Henry Schreiner

There are undeniable benefits of binding Python and C++ to take advantage of the best features of both languages. This is especially relevant to the HEP and other scientific communities that have invested heavily in the C++ frameworks and…

Mathematical Software · Computer Science 2024-05-03 Manasvi Goyal , Ianna Osborne , Jim Pivarski

Awkward Arrays and RDataFrame provide two very different ways of performing calculations at scale. By adding the ability to zero-copy convert between them, users get the best of both. It gives users a better flexibility in mixing different…

High Energy Physics - Experiment · Physics 2023-02-21 Ianna Osborne , Jim Pivarski

Analysis on HEP data is an iterative process in which the results of one step often inform the next. In an exploratory analysis, it is common to perform one computation on a collection of events, then view the results (often with…

High Energy Physics - Experiment · Physics 2023-02-21 Aryan Roy , Jim Pivarski , Chad Wells Freer

Array programming provides a powerful, compact, expressive syntax for accessing, manipulating, and operating on data in vectors, matrices, and higher-dimensional arrays. NumPy is the primary array programming library for the Python…

In some fields, scientific data formats differ across experiments due to specialized hardware and data acquisition systems. Researchers need to develop, document, and maintain experiment-specific analysis software to interact with these…

Programming Languages · Computer Science 2024-07-22 Manasvi Goyal , Andrea Zonca , Amy Roberts , Jim Pivarski , Ianna Osborne

Scipp is heavily inspired by the Python library xarray. It enriches raw NumPy-like multi-dimensional arrays of data by adding named dimensions and associated coordinates. Multiple arrays are combined into datasets. On top of this, scipp…

Mathematical Software · Computer Science 2020-10-02 Simon Heybrock , Owen Arnold , Igor Gudich , Daniel Nixon , Neil Vaytet

In the realm of scientific computing, both Julia and Python have established themselves as powerful tools. Within the context of High Energy Physics (HEP) data analysis, Python has been traditionally favored, yet there exists a compelling…

Programming Languages · Computer Science 2024-04-30 Ianna Osborne , Jim Pivarski , Jerry Ling

In the Python world, NumPy arrays are the standard representation for numerical data. Here, we show how these arrays enable efficient implementation of numerical computations in a high-level language. Overall, three techniques are applied…

Mathematical Software · Computer Science 2011-03-14 Stefan Van Der Walt , S. Chris Colbert , Gaël Varoquaux

Variational inference is an increasingly popular method in statistics and machine learning for approximating probability distributions. We developed LINFA (Library for Inference with Normalizing Flow and Annealing), a Python library for…

Machine Learning · Computer Science 2023-07-17 Yu Wang , Emma R. Cobian , Jubilee Lee , Fang Liu , Jonathan D. Hauenstein , Daniele E. Schiavazzi

This paper presents rerankers, a Python library which provides an easy-to-use interface to the most commonly used re-ranking approaches. Re-ranking is an integral component of many retrieval pipelines; however, there exist numerous…

Information Retrieval · Computer Science 2024-09-04 Benjamin Clavié

PyArmadillo is a linear algebra library for the Python language, with the aim of closely mirroring the programming interface of the widely used Armadillo C++ library, which in turn is deliberately similar to Matlab. PyArmadillo hence…

Mathematical Software · Computer Science 2021-10-22 Jason Rumengan , Terry Yue Zhuo , Conrad Sanderson

Signals can be interpreted as composed of a rapidly varying component modulated by a slower varying envelope. Identifying this envelope is an essential operation in signal processing, with applications in areas ranging from seismology to…

Sound · Computer Science 2021-10-25 Carlos Tarjano , Valdecy Pereira

Numba is a game-changing compiler for high-performance computing with Python. It produces machine code that runs outside of the single-threaded Python interpreter and that fully utilizes the resources of modern CPUs. This means support for…

Software Engineering · Computer Science 2023-05-17 Srinath Kailasa , Tingyu Wang , Lorena A. Barba , Timo Betcke

Kernel methods have proven to be powerful techniques for pattern analysis and machine learning (ML) in a variety of domains. However, many of their original or advanced implementations remain in Matlab. With the incredible rise and adoption…

Machine Learning · Computer Science 2020-05-28 Pradeep Reddy Raamana

Neural Networks are notoriously difficult to inspect. We introduce comgra, an open source python library for use with PyTorch. Comgra extracts data about the internal activations of a model and organizes it in a GUI (graphical user…

Machine Learning · Computer Science 2024-08-01 Florian Dietz , Sophie Fellenz , Dietrich Klakow , Marius Kloft

Python currently is the dominant language in the field of Machine Learning but is often criticized for being slow to perform certain tasks. In this report, we use the well-known $N$-queens puzzle as a benchmark to show that once compiled…

Mathematical Software · Computer Science 2020-01-14 Pascal Fua , Krzysztof Lis

Python libraries often need to maintain a stable public API even as internal implementations evolve, gain new backends, or depend on heavy optional libraries. In Python, where internal objects are easy to inspect and import, users can come…

Software Engineering · Computer Science 2026-02-04 Antonios Saravanos , John Pazarzis , Stavros Zervoudakis , Dongnanzi Zheng

Feature extraction is a fundamental task in the application of machine learning methods to SAT solving. It is used in algorithm selection and configuration for solver portfolios and satisfiability classification. Many approaches have been…

Artificial Intelligence · Computer Science 2022-05-02 Benjamin Provan-Bessell , Marco Dalla , Andrea Visentin , Barry O'Sullivan

Partial differential equations describing the dynamics of physical systems rarely have closed-form solutions. Fourier spectral methods, which use Fast Fourier Transforms (FFTs) to approximate solutions, are a common approach to solving…

‹ Prev 1 2 3 10 Next ›