30 مستودعات
Integration layers specifically for mapping native memory to NumPy array structures.
Distinct from NumPy-Compatible Frameworks: Existing candidates are for general frameworks or array operations; this is about the native binding mechanism.
Explore 30 awesome GitHub repositories matching scientific & mathematical computing · NumPy Array Integration. Refine with filters or upvote what's useful.
pybind11 is a header-only C++ binding library that exposes C++ functions and classes as Python modules. It serves as a language bridge, mapping native types, inheritance hierarchies, and lambda functions into compatible Python objects to enable high-performance native code execution. The library includes specialized integration for NumPy arrays, utilizing buffer protocols to bind native C++ data without copying memory. It provides a toolkit for mapping C++ standard library data structures and smart pointers into the Python environment while maintaining cross-language memory management. The p
Binds native C++ data to NumPy arrays using buffer protocols to avoid memory copying.
This project is a Python wrapper for the TA-Lib C library, serving as a financial technical analysis library and quantitative trading tool. It provides a collection of mathematical functions designed to analyze market price movements, identify trading signals, and recognize candlestick patterns within financial data. The library focuses on the computation of trend, momentum, and volume metrics. It includes specialized tools for candlestick pattern recognition to detect recurring price action shapes in both historical and real-time data. The system integrates with NumPy arrays to process cont
Maps native C memory blocks directly to NumPy array structures for efficient vectorized processing.
This project is a reference collection of statistical learning algorithms built from scratch using NumPy for linear algebra and matrix operations. It serves as an educational resource for studying the mathematical foundations and inner workings of machine learning models through manual implementations. The codebase provides hand-coded implementations of both supervised and unsupervised learning. This includes classification and regression models such as support vector machines, decision trees, and Naive Bayes, as well as data clustering and pattern discovery methods like k-means and hierarchi
Writing high-performance linear algebra and matrix operations using NumPy to implement mathematical formulas and academic pseudocode.
CuPy هي مكتبة حوسبة مصفوفات CUDA تنفذ واجهة متوافقة مع NumPy لتنفيذ عمليات المصفوفات والحوسبة الرقمية على وحدات معالجة الرسومات من NVIDIA. تعمل كمكتبة رقمية مسرعة بواسطة GPU وتنفيذ لـ SciPy يعتمد على CUDA، مما يفرغ الحسابات الثقيلة إلى أجهزة الرسومات لزيادة سرعة المعالجة لأعباء العمل العلمية والهندسية. تمكّن المكتبة تبادل المصفوفات بين أطر عمل متعددة، مما يسمح بمشاركة مخازن البيانات بين أطر عمل التعلم العميق المختلفة باستخدام تخطيطات ذاكرة موحدة لتجنب نسخ الذاكرة. كما تدعم دمج نواة GPU مخصصة، مما يسمح بربط بيانات المصفوفات بواجهات برمجة تطبيقات منخفضة المستوى للتحكم الدقيق في تنفيذ الأجهزة. بشكل عام، يغطي المشروع سير عمل معالجة المصفوفات والحوسبة العلمية عالية الأداء. تشمل قدراته تسريع حسابات المصفوفات وتوفير أدوات للحسابات الرقمية واسعة النطاق.
Implements a NumPy-compatible array interface to allow seamless transition of computations from CPU to GPU.
Einops is a tensor manipulation library that provides a framework-agnostic interface for reshaping, Einstein summation, and multi-dimensional array operations. It serves as an abstraction layer that works across NumPy, PyTorch, TensorFlow, and JAX, allowing for tensor transformations without changing the API. The library distinguishes itself through a declarative notation system that uses readable string patterns to describe tensor rearrangements and reductions. This approach includes an extended Einstein summation interface that supports multi-letter axis names and a named dimension mapping
Enables the conversion of tensors from various deep learning frameworks into standard NumPy arrays.
pysheeet هي مكتبة مرجعية تقنية توفر مجموعة مختارة من مقتطفات التعليمات البرمجية وأنماط التنفيذ لتطوير Python المتقدم، وتكامل النظام، والحوسبة عالية الأداء. تعمل كدليل شامل لتنفيذ برمجة الشبكات منخفضة المستوى، وإضافات C الأصلية، والبرمجة غير المتزامنة والمتزامنة. يوفر المشروع أطر عمل متخصصة لتطوير ونشر نماذج اللغات الكبيرة، بما في ذلك أدوات لاستنتاج GPU الموزع والخدمة عالية الأداء. يتضمن أيضاً أنماطاً مفصلة لتنظيم مجموعات الحوسبة عالية الأداء، وتغطية تخصيص موارد GPU وإدارة عبء العمل متعدد العقد. تغطي المكتبة سطحاً واسعاً من القدرات، بما في ذلك اتصالات الشبكة الآمنة والتشفير، والتعيين الكائني-العلائقي وإدارة قواعد البيانات، وتنفيذ هياكل البيانات والخوارزميات المعقدة. كما توفر أدوات لإدارة الذاكرة، وقابلية التشغيل البيني الأصلية عبر واجهات الوظائف الخارجية، وتكامل نظام التشغيل على مستوى النظام.
Implements integration layers for mapping native memory to NumPy array structures for zero-copy transfer.
orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON parsing library and a serialization engine, converting data between native Python objects and UTF-8 encoded bytes. The project provides specialized support for converting complex Python data structures, including dataclasses, datetime objects, and NumPy arrays and scalars, into JSON format. It also allows for the insertion of pre-serialized JSON blobs into documents to maintain processing speed. The library includes capabilities for memory-efficient deserialization through key
Converts NumPy arrays and scalars into JSON format without requiring the array library.
BertViz هي مجموعة أدوات تشخيصية لتصور رؤوس الانتباه وسلوكيات النماذج الداخلية لتفسير كيفية معالجة نماذج اللغات للنصوص. تعمل كأداة قابلية تفسير ومصحح أخطاء لنماذج معالجة اللغات الطبيعية، حيث توفر تحديداً خرائط تفاعلية لآليات الانتباه داخل بنى Transformer. يتيح المشروع تحليل علاقات الرموز من خلال طرق عرض مفصلة لرؤوس وطبقات انتباه محددة. يدعم تصور الانتباه العالمي عبر جميع الطبقات، ورسم خرائط انتباه المشفر-فك المشفر، وفحص الخلايا العصبية الفردية داخل متجهات الاستعلام والمفتاح للكشف عن مساهمتها في حسابات الانتباه. توفر الأداة قدرات لتصفية طرق العرض حسب الطبقة، أو الرأس، أو أزواج الجمل. يتم عرض التصورات مباشرة داخل بيئات دفتر الملاحظات عبر حقن HTML وJavaScript، ويمكن تصديرها كملفات HTML مستقلة للمشاركة الخارجية.
Converts high-dimensional model tensors into JSON arrays for frontend transmission.
scikit-image is a Python image processing library and scientific image analysis toolkit. It provides a framework for digital image processing and computer vision, utilizing numerical arrays for pixel-level manipulations. The library enables the quantification of image properties and the detection of visual features, such as edges and blobs. It includes tools for image segmentation and the extraction of textures and patterns to characterize objects within visual data. Capabilities cover image manipulation through color space conversion, geometric transformations, and digital restoration. It a
Leverages NumPy multidimensional arrays to perform high-performance vectorized pixel-level image manipulations.
pyAudioAnalysis is a Python library and framework for audio signal processing and analysis. It provides tools for extracting mathematical representations of sound, such as spectrograms, and implements a system for training and evaluating machine learning models to classify audio segments based on acoustic patterns. The project includes dedicated utilities for audio segmentation, which allow for the removal of silence and the detection of specific audio events to divide recordings into meaningful sections. It also provides data visualization capabilities that use dimensionality reduction to ma
Leverages NumPy array structures for fast mathematical operations on multidimensional audio signal data.
PRMLT provides self-contained MATLAB implementations of every algorithm from the Pattern Recognition and Machine Learning textbook by Christopher Bishop. The code reproduces the book's exact formulas and notation, making each implementation directly traceable to the source material for educational verification and study. The implementations cover the full range of core machine learning methods from the textbook, including classification, clustering, regression, density estimation, and neural network algorithms. Each module is self-contained with heavy comments, and the code uses compact, vect
Compact, vectorized Matlab functions that execute machine learning algorithms efficiently on array data using matrix operations.
Warp is a Python framework that JIT-compiles Python functions into CUDA kernels for GPU-accelerated parallel computation, with built-in automatic differentiation and multi-framework array interoperability. At its core, it provides a GPU kernel compilation system that enables writing and executing custom GPU kernels directly from Python, while supporting automatic gradient computation through those kernels for integration with machine learning pipelines. The framework also includes tile-based cooperative computing, where thread blocks partition into tiles for shared-memory and tensor-core opera
Converts Warp arrays to and from NumPy arrays without copying data.
Anomalib is a PyTorch-based library for visual anomaly detection, offering a modular framework, a comprehensive model zoo, and a benchmarking suite designed for industrial defect detection. It provides a wide range of algorithms—including generative, discriminative, teacher-student, and vision-language approaches—that support unsupervised, few-shot, and zero-shot settings. The library enables deployment through model export to ONNX and OpenVINO for edge devices, and includes a no-code web application for training and inference. It also features a command-line interface for orchestrating multi
Anomalib provides efficient numpy-based data structures for handling image and metadata arrays in anomaly detection workflows.
Orange3 is a visual data mining platform that provides an interactive canvas for building data analysis workflows without writing code. At its core, it offers a widget-based visual programming environment where users connect configurable components to perform data preprocessing, machine learning model training, statistical evaluation, and interactive visualization. The platform is built on NumPy-backed data tables with domain descriptors that define variable names, types, and roles, and includes a lazy SQL query proxy for working with database tables without loading all data into memory. The
Stores tabular data as two-dimensional NumPy arrays for efficient vectorized operations.
GluonTS هي مكتبة سلاسل زمنية احتمالية وإطار عمل للتنبؤ بالتعلم العميق. توفر مجموعة أدوات لبناء وتدريب وتقييم بنى الشبكات العصبية التي تتنبأ بالقيم المستقبلية كتوزيعات احتمالية لتحديد عدم اليقين. يتميز المشروع بدعم التنبؤ بدون تدريب مسبق (zero-shot) ودمج نهج نمذجة متنوعة، بما في ذلك الشبكات العصبية الاحتمالية العميقة وأغلفة للمكتبات الإحصائية الخارجية مثل Prophet و R forecast. ينفذ بدائيات معمارية متخصصة مثل الالتفافات السببية والشبكات المتبقية القابلة للعكس لمنع تسرب المعلومات وتعيين التمثيلات الكامنة في توزيعات احتمالية صالحة. يغطي إطار العمل سطح هندسة بيانات شاملاً، بما في ذلك توسيع السلاسل الزمنية، والتحويلات التقابلية، والنمذجة الهرمية. يستخدم Apache Arrow و Parquet لبث مجموعة البيانات عالي الأداء وإدارة الوصول العشوائي. لتقييم النموذج، يتضمن جناح تقييم لقياس دقة التنبؤ والتغطية الاحتمالية باستخدام مقاييس مثل خسارة الكمية ودرجات رتبة الاحتمال المستمرة. تدعم المكتبة نشر النموذج من خلال التكامل مع Amazon SageMaker.
Converts NumPy arrays and scalar types into JSON-serializable formats for storage and transmission.
r4ds هو منهج لعلوم البيانات ومورد تعليمي مصمم لإتقان لغة البرمجة R. يوفر مسار تعلم منظماً للعملية الشاملة لاستيراد البيانات، وتنظيمها، وتحويلها، وتصورها. يركز المشروع على دليل علوم البيانات القابل للتكرار ومنهج شامل لمعالجة البيانات. يتضمن دروساً تعليمية متخصصة حول قواعد الرسومات لتصور البيانات الطبقي والمنشورات التقنية التي تم إنشاؤها باستخدام Quarto والتي تمزج بين الكود القابل للتنفيذ والنثر السردي. تغطي المادة مجموعة واسعة من القدرات التحليلية، بما في ذلك استيعاب البيانات من مصادر متنوعة، وربط البيانات العلائقية، وإدارة المتغيرات الفئوية. كما تتناول تنظيف البيانات، والنمذجة الرياضية، وإنشاء تقارير وعروض تقديمية احترافية متعددة التنسيقات. يركز المنهج على التطبيق العملي للبرمجة الوظيفية ومبادئ البيانات المرتبة (Tidy data) لإنشاء تحليلات شفافة وقابلة للتكرار.
Implements high-speed numerical calculations by applying operations across entire data vectors simultaneously.
Lepton هي أداة متخصصة وتنسيق ملفات مصمم لضغط بيانات صور JPEG دون فقدان الجودة وتخزينها بكفاءة. تعمل الأداة كمحرك ضغط ومحسن تخزين يقلل من أحجام الملفات دون تغيير بيانات البكسل الأصلية، مما يضمن إعادة بناء الصور بدقة متطابقة (bit-perfect). يركز المشروع على تقليل مساحة القرص ومتطلبات النطاق الترددي للشبكة لأرشيفات الصور الرقمية. ويوفر إمكانيات لضغط وفك ضغط ملفات JPEG للحفاظ على تخزين صور عالي الجودة مع تقليل البصمة الإجمالية للبيانات. يستخدم التنفيذ مجموعة متنوعة من تقنيات ترميز الإنتروبيا ومعالجة البيانات، بما في ذلك الترميز الحسابي وترميز Huffman، والنمذجة التنبؤية، والمعالجة القائمة على التدفق. كما يدمج عمليات مصفوفة محسنة لمعالجة كتل بيانات الصور الكبيرة.
Leverages NumPy for fast array operations on large image data blocks.
هذا المشروع عبارة عن مكتبة تعلم آلي بلغة Python ومجموعة أدوات علوم بيانات مصممة لبناء نماذج تنبؤية وتحليل مجموعات البيانات المعقدة. يوفر مجموعة من التنفيذات للخوارزميات الشائعة الخاضعة للإشراف وغير الخاضعة للإشراف باستخدام إطار عمل Scikit-Learn. تتضمن مجموعة الأدوات جناح نمذجة تنبؤية لتوليد تنبؤات من البيانات التاريخية وإطار عمل تحليل إحصائي لتطبيق النمذجة البايزية واختبارات السببية. كما يتميز بجناح تصور بيانات قائم على Matplotlib لعرض المخططات والرسوم البيانية الثابتة لتفسير حدود المصنف واتجاهات البيانات. يغطي المشروع سير عمل تجميع البيانات لتحديد الأنماط والقطاعات، وتحليل البيانات الاستكشافي، والمعالجة المسبقة للبيانات باستخدام Pandas و NumPy.
Uses NumPy vectorized operations on contiguous memory arrays to ensure high computational efficiency for mathematical operations.
هذا المشروع عبارة عن إطار عمل للحوسبة العلمية لنظام .NET، يوفر مجموعة شاملة من المكتبات للتحليل العددي، والإحصاء، والتحسين الرياضي. يعمل كمجموعة أدوات أساسية لتطوير التطبيقات في تعلم الآلة، ومعالجة الإشارات الرقمية، ورؤية الحاسوب. يوفر إطار العمل مجموعات أدوات متخصصة لتدريب ونشر النماذج التنبؤية، بما في ذلك الشبكات العصبية، وآلات ناقل الدعم، وأشجار القرار. كما يتميز بتكامل عميق للتحليل المرئي في الوقت الفعلي، مثل تتبع الكائنات واكتشاف ملامح الوجه، إلى جانب مكتبة مخصصة لمعالجة الإشارات الرقمية لالتقاط وتصفية إشارات الصوت والمستشعرات. تمتد مساحة الإمكانيات إلى تحليل المصفوفات عالي المستوى والجبر الخطي، ونمذجة الحالة الاحتمالية، وخوارزميات البحث الاستكشافي. كما تغطي مجموعة واسعة من أدوات معالجة البيانات، من تقليل الأبعاد والتطبيع إلى تنظيم البيانات المكانية ومكونات التصور العلمي. يتضمن النظام وحدات تحكم تكامل الأجهزة لتكوين الكاميرا، وإدارة منافذ GPIO، وأجهزة استشعار العمق المتخصصة.
Saves and loads multi-dimensional arrays using standard .npy and .npz NumPy formats.
PyQtGraph is a scientific plotting and graphics framework built for PyQt and PySide applications, providing fast, interactive 2D and 3D visualizations with GPU-accelerated rendering. It serves as both a real-time signal monitoring system for streaming time-series data and a toolkit for constructing interactive data dashboards with dockable panels, parameter trees, and custom widgets. The library also includes a node-based visual flowchart tool for building data processing pipelines and a scientific graphics export system that saves plots as PNG, SVG, or CSV and converts items to Matplotlib for
Performs numerical operations and data transformations directly on NumPy arrays for accelerated computation.