cblearn
cblearn: Comparison-based Machine Learning in Python - Published in JOSS (2024)
@stdlib/ndarray-base-bytes-per-element
Return the number of bytes per element provided an underlying array data type.
@stdlib/ndarray-base-strides2order
Determine the order of a multidimensional array based on a provided stride array.
@stdlib/ndarray-base-minmax-view-buffer-index
Compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.
@stdlib/ndarray-base-strides2offset
Determine the index offset which specifies the location of the first indexed value in a multidimensional array based on a stride array.
@stdlib/ndarray-base-buffer
Create a zero-filled contiguous linear ndarray data buffer.
@stdlib/ndarray-base-assert-is-allowed-data-type-cast
Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.
@stdlib/ndarray-base-assert-is-safe-data-type-cast
Determine if an ndarray data type can be safely cast to another ndarray data type.
@stdlib/ndarray-base-ndarraylike2object
Convert an ndarray-like object to an object likely to have the same "shape".
@stdlib/ndarray-base-assert-is-same-kind-data-type-cast
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
@stdlib/ndarray-base-broadcast-array
Broadcast an ndarray to a specified shape.
@stdlib/ndarray-base-unary-loop-interchange-order
Reorder ndarray dimensions and associated strides for loop interchange.
@stdlib/ndarray-base-unary-tiling-block-size
Resolve a loop block size for multi-dimensional array tiled loops.
@stdlib/ndarray-base-assert-is-complex-floating-point-data-type
Test if an input value is a supported ndarray complex-valued floating-point data type.
@stdlib/ndarray-base-assert-is-row-major
Given a stride array, determine whether an array is row-major.
@stdlib/ndarray-base-maybe-broadcast-array
Broadcast an ndarray to a specified shape if and only if the specified shape differs from the provided ndarray's shape.
@stdlib/ndarray-base-nullary-loop-interchange-order
Reorder ndarray dimensions and associated strides for loop interchange.
@stdlib/ndarray-base-min-view-buffer-index
Compute the minimum linear index in an underlying data buffer accessible to an array view.
@stdlib/ndarray-base-napi-unary
C API for registering an N-API module exporting an ndarray interface for applying a unary callback to an input ndarray.
@stdlib/strided-base-binary-dtype-signatures
Generate a list of binary interface signatures from strided array data types.
@stdlib/ndarray-base-dtype-desc
Return the description for a provided data type.
@stdlib/ndarray-base-napi-addon-arguments
C API for validating, extracting, and transforming (to native C types) function arguments provided to an ndarray N-API add-on interface.
@stdlib/ndarray-dispatch
Create an ndarray function interface which performs multiple dispatch.
@stdlib/ndarray-base-assert-is-single-segment-compatible
Determine if an array is compatible with a single memory segment.
@stdlib/ndarray-base-binary-loop-interchange-order
Reorder ndarray dimensions and associated strides for loop interchange.
@stdlib/strided-base-binary-signature-callbacks
Assign callbacks to binary interfaces according to type promotion rules.
@stdlib/streams-node-from-strided-array
Create a readable stream from a strided array-like object.
@stdlib/ndarray-base-meta-data-props
Define non-enumerable read-only properties which expose ndarray function meta data.
@stdlib/ndarray-base-broadcast-shapes
Broadcast array shapes to a single shape.
@stdlib/strided-base-unary-dtype-signatures
Generate a list of unary interface signatures from strided array data types.
@stdlib/array-base-broadcasted-binary2d
Apply a binary callback to elements in broadcasted input arrays and assign results to elements in a two-dimensional nested output array.
@stdlib/strided-base-mskunary-dtype-signatures
Generate a list of masked unary interface signatures from strided array data types.