diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md
new file mode 100644
index 000000000000..622c1d1b4873
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md
@@ -0,0 +1,210 @@
+
+
+# hinge
+
+> Compute the [hinge loss][hinge-loss] between two double-precision floating-point number.
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var hinge = require( '@stdlib/ml/base/loss/float64/hinge' );
+```
+
+#### hinge( y, p )
+
+Computes the [hinge loss][hinge-loss] between two double-precision floating-point number.
+
+```javascript
+var v = hinge( 1.0, 0.782 );
+// returns ~0.218
+
+v = hinge( 1.0, -0.9 );
+// returns 1.9
+```
+
+If either argument is `NaN`, the function returns `NaN`.
+
+```javascript
+var g = hinge( NaN, 12.0 );
+// returns NaN
+
+g = hinge( 5.0, NaN );
+// returns NaN
+```
+
+If `y` is not +1 or -1, the function returns `NaN`.
+
+```javascript
+var g = hinge( 2.3, 1.0 );
+// returns NaN
+
+g = hinge( -1.3, 0.987 );
+// returns NaN
+```
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var uniform = require( '@stdlib/random/array/uniform' );
+var sample = require( '@stdlib/random/sample' );
+var logEachMap = require( '@stdlib/console/log-each-map' );
+var hinge = require( '@stdlib/ml/base/loss/float64/hinge' );
+
+var y = sample( [ -1.0, 1.0 ], {
+ 'size': 100
+});
+var p = uniform( 100, -5.0, 5.0, {
+ 'dtype': 'float64'
+});
+
+logEachMap( 'hinge(%0.4f, %0.4f) = %0.4f', y, p, hinge );
+
+```
+
+
+
+
+
+
+
+* * *
+
+
+
+## C APIs
+
+
+
+
+
+
+
+
+
+
+
+### Usage
+
+```c
+#include "stdlib/ml/base/loss/float64/hinge.h"
+```
+
+#### stdlib_base_float64_hinge( y, p )
+
+Computes the [hinge loss][hinge-loss] between two double-precision floating-point number.
+
+```c
+double out = stdlib_base_float64_hinge( 1.0, 0.782 );
+// returns ~0.218
+```
+
+The function accepts the following arguments:
+
+- **y**: `[in] double` true target value.
+- **p**: `[in] double` predicted value.
+
+```c
+double stdlib_base_float64_hinge( const double y, const double p );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### Examples
+
+```c
+#include "stdlib/ml/base/loss/float64/hinge.h"
+#include
+
+int main( void ) {
+ const double y[] = { -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0 };
+ const double p[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
+
+ double v;
+ int i;
+ for ( i = 0; i < 10; i++ ) {
+ v = stdlib_base_float64_hinge( y[ i ], p[ i ] );
+ printf( "hinge(%lf, %lf) = %lf\n", y[ i ], p[ i ], v );
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[hinge-loss]: https://en.wikipedia.org/wiki/Hinge_loss
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.js
new file mode 100644
index 000000000000..9b53f2aea814
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.js
@@ -0,0 +1,59 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var sample = require( '@stdlib/random/sample' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pkg = require( './../package.json' ).name;
+var hinge = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var len;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ len = 100;
+ y = sample( [ -1.0, 1.0 ], {
+ 'size': len
+ });
+ p = uniform( len, -2.0, 2.0 );
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ g = hinge( y[ i % y.length ], p[ i % p.length ] );
+ if ( isnan( g ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( g ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.native.js
new file mode 100644
index 000000000000..bd6d3fb4fbc9
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.native.js
@@ -0,0 +1,69 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var resolve = require( 'path' ).resolve;
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var sample = require( '@stdlib/random/sample' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var tryRequire = require( '@stdlib/utils/try-require' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+
+
+// VARIABLES //
+
+var hinge = tryRequire( resolve( __dirname, './../lib/native.js' ) );
+var opts = {
+ 'skip': ( hinge instanceof Error )
+};
+
+
+// MAIN //
+
+bench( format( '%s::native', pkg ), opts, function benchmark( b ) {
+ var len;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ len = 100;
+ y = sample( [ -1.0, 1.0 ], {
+ 'size': len
+ });
+ p = uniform( len, -2.0, 2.0 );
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ g = hinge( y[ i % y.length ], p[ i % p.length ] );
+ if ( isnan( g ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( g ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/Makefile
new file mode 100644
index 000000000000..979768abbcec
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/Makefile
@@ -0,0 +1,146 @@
+#/
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#/
+
+# VARIABLES #
+
+ifndef VERBOSE
+ QUIET := @
+else
+ QUIET :=
+endif
+
+# Determine the OS ([1][1], [2][2]).
+#
+# [1]: https://en.wikipedia.org/wiki/Uname#Examples
+# [2]: http://stackoverflow.com/a/27776822/2225624
+OS ?= $(shell uname)
+ifneq (, $(findstring MINGW,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring MSYS,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring CYGWIN,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring Windows_NT,$(OS)))
+ OS := WINNT
+endif
+endif
+endif
+endif
+
+# Define the program used for compiling C source files:
+ifdef C_COMPILER
+ CC := $(C_COMPILER)
+else
+ CC := gcc
+endif
+
+# Define the command-line options when compiling C files:
+CFLAGS ?= \
+ -std=c99 \
+ -O3 \
+ -Wall \
+ -pedantic
+
+# Determine whether to generate position independent code ([1][1], [2][2]).
+#
+# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
+# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option
+ifeq ($(OS), WINNT)
+ fPIC ?=
+else
+ fPIC ?= -fPIC
+endif
+
+# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
+INCLUDE ?=
+
+# List of source files:
+SOURCE_FILES ?=
+
+# List of libraries (e.g., `-lopenblas -lpthread`):
+LIBRARIES ?=
+
+# List of library paths (e.g., `-L /foo/bar -L /beep/boop`):
+LIBPATH ?=
+
+# List of C targets:
+c_targets := benchmark.out
+
+
+# RULES #
+
+#/
+# Compiles source files.
+#
+# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`)
+# @param {string} [CFLAGS] - C compiler options
+# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`)
+# @param {string} [SOURCE_FILES] - list of source files
+# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`)
+# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`)
+#
+# @example
+# make
+#
+# @example
+# make all
+#/
+all: $(c_targets)
+
+.PHONY: all
+
+#/
+# Compiles C source files.
+#
+# @private
+# @param {string} CC - C compiler (e.g., `gcc`)
+# @param {string} CFLAGS - C compiler options
+# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`)
+# @param {string} SOURCE_FILES - list of source files
+# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`)
+# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`)
+#/
+$(c_targets): %.out: %.c
+ $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES)
+
+#/
+# Runs compiled benchmarks.
+#
+# @example
+# make run
+#/
+run: $(c_targets)
+ $(QUIET) ./$<
+
+.PHONY: run
+
+#/
+# Removes generated files.
+#
+# @example
+# make clean
+#/
+clean:
+ $(QUIET) -rm -f *.o *.out
+
+.PHONY: clean
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/benchmark.c
new file mode 100644
index 000000000000..e81cf405cd6a
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/benchmark.c
@@ -0,0 +1,158 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include "stdlib/ml/base/loss/float64/hinge.h"
+#include
+#include
+#include
+#include
+#include
+
+#define NAME "hinge"
+#define ITERATIONS 1000000
+#define REPEATS 3
+
+/**
+* Prints the TAP version.
+*/
+static void print_version( void ) {
+ printf( "TAP version 13\n" );
+}
+
+/**
+* Prints the TAP summary.
+*
+* @param total total number of tests
+* @param passing total number of passing tests
+*/
+static void print_summary( int total, int passing ) {
+ printf( "#\n" );
+ printf( "1..%d\n", total ); // TAP plan
+ printf( "# total %d\n", total );
+ printf( "# pass %d\n", passing );
+ printf( "#\n" );
+ printf( "# ok\n" );
+}
+
+/**
+* Prints benchmarks results.
+*
+* @param elapsed elapsed time in seconds
+*/
+static void print_results( double elapsed ) {
+ double rate = (double)ITERATIONS / elapsed;
+ printf( " ---\n" );
+ printf( " iterations: %d\n", ITERATIONS );
+ printf( " elapsed: %0.9f\n", elapsed );
+ printf( " rate: %0.9f\n", rate );
+ printf( " ...\n" );
+}
+
+/**
+* Returns a clock time.
+*
+* @return clock time
+*/
+static double tic( void ) {
+ struct timeval now;
+ gettimeofday( &now, NULL );
+ return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
+}
+
+/**
+* Generates a random number on the interval [min,max).
+*
+* @param min minimum value (inclusive)
+* @param max maximum value (exclusive)
+* @return random number
+*/
+static double random_uniform( const double min, const double max ) {
+ double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
+ return min + ( v*(max-min) );
+}
+
+/**
+* Randomly samples either +1 or -1.
+*
+* @return random number
+*/
+static double random_sample( void ) {
+ double v = (double)rand() / ( (double)RAND_MAX );
+ if ( v >= 0.5 ) {
+ return 1.0;
+ }
+ return -1.0;
+}
+
+/**
+* Runs a benchmark.
+*
+* @param y true target value
+* @return elapsed time in seconds
+*/
+static double benchmark( void ) {
+ double *p;
+ double *y;
+ double elapsed;
+ double g;
+ double t;
+ int i;
+
+ p = (double *) malloc( 100 * sizeof( double ) );
+ y = (double *) malloc( 100 * sizeof( double ) );
+ for ( i = 0; i < 100; i++ ) {
+ y[ i ] = random_sample();
+ p[ i ] = random_uniform( -2.0, 2.0 );
+ }
+
+ t = tic();
+ for ( i = 0; i < ITERATIONS; i++ ) {
+ g = stdlib_base_float64_hinge( y[ i % 100 ], p[ i % 100 ] );
+ if ( g != g ) {
+ printf( "should not return NaN\n" );
+ break;
+ }
+ }
+ elapsed = tic() - t;
+ if ( g != g ) {
+ printf( "should not return NaN\n" );
+ }
+ free( y );
+ free( p );
+ return elapsed;
+}
+
+/**
+* Main execution sequence.
+*/
+int main( void ) {
+ double elapsed;
+ int i;
+
+ // Use the current time to seed the random number generator:
+ srand( time( NULL ) );
+
+ print_version();
+ for ( i = 0; i < REPEATS; i++ ) {
+ printf( "# c::native::%s\n", NAME );
+ elapsed = benchmark();
+ print_results( elapsed );
+ printf( "ok %d benchmark finished\n", i+1 );
+ }
+ print_summary( REPEATS, REPEATS );
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/binding.gyp b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/binding.gyp
new file mode 100644
index 000000000000..0d6508a12e99
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/binding.gyp
@@ -0,0 +1,170 @@
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# A `.gyp` file for building a Node.js native add-on.
+#
+# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md
+# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md
+{
+ # List of files to include in this file:
+ 'includes': [
+ './include.gypi',
+ ],
+
+ # Define variables to be used throughout the configuration for all targets:
+ 'variables': {
+ # Target name should match the add-on export name:
+ 'addon_target_name%': 'addon',
+
+ # Set variables based on the host OS:
+ 'conditions': [
+ [
+ 'OS=="win"',
+ {
+ # Define the object file suffix:
+ 'obj': 'obj',
+ },
+ {
+ # Define the object file suffix:
+ 'obj': 'o',
+ }
+ ], # end condition (OS=="win")
+ ], # end conditions
+ }, # end variables
+
+ # Define compile targets:
+ 'targets': [
+
+ # Target to generate an add-on:
+ {
+ # The target name should match the add-on export name:
+ 'target_name': '<(addon_target_name)',
+
+ # Define dependencies:
+ 'dependencies': [],
+
+ # Define directories which contain relevant include headers:
+ 'include_dirs': [
+ # Local include directory:
+ '<@(include_dirs)',
+ ],
+
+ # List of source files:
+ 'sources': [
+ '<@(src_files)',
+ ],
+
+ # Settings which should be applied when a target's object files are used as linker input:
+ 'link_settings': {
+ # Define libraries:
+ 'libraries': [
+ '<@(libraries)',
+ ],
+
+ # Define library directories:
+ 'library_dirs': [
+ '<@(library_dirs)',
+ ],
+ },
+
+ # C/C++ compiler flags:
+ 'cflags': [
+ # Enable commonly used warning options:
+ '-Wall',
+
+ # Aggressive optimization:
+ '-O3',
+ ],
+
+ # C specific compiler flags:
+ 'cflags_c': [
+ # Specify the C standard to which a program is expected to conform:
+ '-std=c99',
+ ],
+
+ # C++ specific compiler flags:
+ 'cflags_cpp': [
+ # Specify the C++ standard to which a program is expected to conform:
+ '-std=c++11',
+ ],
+
+ # Linker flags:
+ 'ldflags': [],
+
+ # Apply conditions based on the host OS:
+ 'conditions': [
+ [
+ 'OS=="mac"',
+ {
+ # Linker flags:
+ 'ldflags': [
+ '-undefined dynamic_lookup',
+ '-Wl,-no-pie',
+ '-Wl,-search_paths_first',
+ ],
+ },
+ ], # end condition (OS=="mac")
+ [
+ 'OS!="win"',
+ {
+ # C/C++ flags:
+ 'cflags': [
+ # Generate platform-independent code:
+ '-fPIC',
+ ],
+ },
+ ], # end condition (OS!="win")
+ ], # end conditions
+ }, # end target <(addon_target_name)
+
+ # Target to copy a generated add-on to a standard location:
+ {
+ 'target_name': 'copy_addon',
+
+ # Declare that the output of this target is not linked:
+ 'type': 'none',
+
+ # Define dependencies:
+ 'dependencies': [
+ # Require that the add-on be generated before building this target:
+ '<(addon_target_name)',
+ ],
+
+ # Define a list of actions:
+ 'actions': [
+ {
+ 'action_name': 'copy_addon',
+ 'message': 'Copying addon...',
+
+ # Explicitly list the inputs in the command-line invocation below:
+ 'inputs': [],
+
+ # Declare the expected outputs:
+ 'outputs': [
+ '<(addon_output_dir)/<(addon_target_name).node',
+ ],
+
+ # Define the command-line invocation:
+ 'action': [
+ 'cp',
+ '<(PRODUCT_DIR)/<(addon_target_name).node',
+ '<(addon_output_dir)/<(addon_target_name).node',
+ ],
+ },
+ ], # end actions
+ }, # end target copy_addon
+ ], # end targets
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/repl.txt
new file mode 100644
index 000000000000..d19e0911d36d
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/repl.txt
@@ -0,0 +1,37 @@
+
+{{alias}}( y, p )
+ Computes the hinge loss between two double-precision floating-point number.
+
+ If either argument is `NaN`, the function returns `NaN`.
+
+ If `y` is not +1 or -1, the function returns `NaN`.
+
+ Parameters
+ ----------
+ y: number
+ True target value.
+
+ p: number
+ Predicted value.
+
+ Returns
+ -------
+ g: number
+ Hinge loss.
+
+ Examples
+ --------
+ > var g = {{alias}}( 1.0, 0.782 )
+ ~0.218
+ > g = {{alias}}( 1.0, 0.202 )
+ 0.798
+ > g = {{alias}}( -1.0, -0.999 )
+ ~0.001
+ > g = {{alias}}( -1.0, 0.2 )
+ 1.2
+ > g = {{alias}}( NaN, 0.987 )
+ NaN
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/index.d.ts
new file mode 100644
index 000000000000..8ef995bdc74b
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/index.d.ts
@@ -0,0 +1,57 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Computes the hinge loss between two double-precision floating-point number.
+*
+* @param y - true target value
+* @param p - predicted value
+* @returns hinge loss
+*
+* @example
+* var v = hinge( 1.0, 0.782 );
+* // returns ~0.218
+*
+* @example
+* var v = hinge( 1.0, 0.202 );
+* // returns 0.798
+*
+* @example
+* var v = hinge( -1.0, -0.999 );
+* // returns ~0.001
+*
+* @example
+* var v = hinge( -1.0, 0.234 );
+* // returns 1.234
+*
+* @example
+* var v = hinge( -1.0, 0.2 );
+* // returns 1.2
+*
+* @example
+* var v = hinge( 1.0, -0.9 );
+* // returns 1.9
+*/
+declare function hinge( y: number, p: number ): number;
+
+
+// EXPORTS //
+
+export = hinge;
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/test.ts
new file mode 100644
index 000000000000..f93207da0792
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/test.ts
@@ -0,0 +1,58 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import hinge = require( './index' );
+
+
+// TESTS //
+
+// The function returns a number...
+{
+ hinge( 1.0, 0.5869 ); // $ExpectType number
+}
+
+// The compiler throws an error if the function is provided a first argument which is not a number...
+{
+ hinge( true, 0.8975 ); // $ExpectError
+ hinge( false, 0.8975 ); // $ExpectError
+ hinge( null, 0.8975 ); // $ExpectError
+ hinge( undefined, 0.8975 ); // $ExpectError
+ hinge( '5', 0.8975 ); // $ExpectError
+ hinge( [], 0.8975 ); // $ExpectError
+ hinge( {}, 0.8975 ); // $ExpectError
+ hinge( ( x: number ): number => x, 0.8975 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a second argument which is not a number...
+{
+ hinge( 1.0, true ); // $ExpectError
+ hinge( 1.0, false ); // $ExpectError
+ hinge( 1.0, null ); // $ExpectError
+ hinge( 1.0, undefined ); // $ExpectError
+ hinge( 1.0, '5' ); // $ExpectError
+ hinge( 1.0, [] ); // $ExpectError
+ hinge( 1.0, {} ); // $ExpectError
+ hinge( 1.0, ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ hinge(); // $ExpectError
+ hinge( 1.0 ); // $ExpectError
+ hinge( 1.0, 0.900, 0.787 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/Makefile
new file mode 100644
index 000000000000..c8f8e9a1517b
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/Makefile
@@ -0,0 +1,146 @@
+#/
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#/
+
+# VARIABLES #
+
+ifndef VERBOSE
+ QUIET := @
+else
+ QUIET :=
+endif
+
+# Determine the OS ([1][1], [2][2]).
+#
+# [1]: https://en.wikipedia.org/wiki/Uname#Examples
+# [2]: http://stackoverflow.com/a/27776822/2225624
+OS ?= $(shell uname)
+ifneq (, $(findstring MINGW,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring MSYS,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring CYGWIN,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring Windows_NT,$(OS)))
+ OS := WINNT
+endif
+endif
+endif
+endif
+
+# Define the program used for compiling C source files:
+ifdef C_COMPILER
+ CC := $(C_COMPILER)
+else
+ CC := gcc
+endif
+
+# Define the command-line options when compiling C files:
+CFLAGS ?= \
+ -std=c99 \
+ -O3 \
+ -Wall \
+ -pedantic
+
+# Determine whether to generate position independent code ([1][1], [2][2]).
+#
+# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
+# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option
+ifeq ($(OS), WINNT)
+ fPIC ?=
+else
+ fPIC ?= -fPIC
+endif
+
+# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
+INCLUDE ?=
+
+# List of source files:
+SOURCE_FILES ?=
+
+# List of libraries (e.g., `-lopenblas -lpthread`):
+LIBRARIES ?=
+
+# List of library paths (e.g., `-L /foo/bar -L /beep/boop`):
+LIBPATH ?=
+
+# List of C targets:
+c_targets := example.out
+
+
+# RULES #
+
+#/
+# Compiles source files.
+#
+# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`)
+# @param {string} [CFLAGS] - C compiler options
+# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`)
+# @param {string} [SOURCE_FILES] - list of source files
+# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`)
+# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`)
+#
+# @example
+# make
+#
+# @example
+# make all
+#/
+all: $(c_targets)
+
+.PHONY: all
+
+#/
+# Compiles C source files.
+#
+# @private
+# @param {string} CC - C compiler (e.g., `gcc`)
+# @param {string} CFLAGS - C compiler options
+# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`)
+# @param {string} SOURCE_FILES - list of source files
+# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`)
+# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`)
+#/
+$(c_targets): %.out: %.c
+ $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES)
+
+#/
+# Runs compiled examples.
+#
+# @example
+# make run
+#/
+run: $(c_targets)
+ $(QUIET) ./$<
+
+.PHONY: run
+
+#/
+# Removes generated files.
+#
+# @example
+# make clean
+#/
+clean:
+ $(QUIET) -rm -f *.o *.out
+
+.PHONY: clean
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/example.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/example.c
new file mode 100644
index 000000000000..bd74834a97a5
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/example.c
@@ -0,0 +1,32 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include "stdlib/ml/base/loss/float64/hinge.h"
+#include
+
+int main( void ) {
+ const double y[] = { -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0 };
+ const double p[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
+
+ double v;
+ int i;
+ for ( i = 0; i < 10; i++ ) {
+ v = stdlib_base_float64_hinge( y[ i ], p[ i ] );
+ printf( "hinge(%lf, %lf) = %lf\n", y[ i ], p[ i ], v );
+ }
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/index.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/index.js
new file mode 100644
index 000000000000..60fa4d13bfb9
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/index.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var uniform = require( '@stdlib/random/array/uniform' );
+var sample = require( '@stdlib/random/sample' );
+var logEachMap = require( '@stdlib/console/log-each-map' );
+var hinge = require( './../lib' );
+
+var y = sample( [ -1.0, 1.0 ], {
+ 'size': 100
+});
+var p = uniform( 100, -5.0, 5.0, {
+ 'dtype': 'float64'
+});
+
+logEachMap( 'hinge(%0.4f, %0.4f) = %0.4f', y, p, hinge );
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/include.gypi b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/include.gypi
new file mode 100644
index 000000000000..bee8d41a2caf
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/include.gypi
@@ -0,0 +1,53 @@
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# A GYP include file for building a Node.js native add-on.
+#
+# Main documentation:
+#
+# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md
+# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md
+{
+ # Define variables to be used throughout the configuration for all targets:
+ 'variables': {
+ # Source directory:
+ 'src_dir': './src',
+
+ # Include directories:
+ 'include_dirs': [
+ '=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "machine learning",
+ "ml",
+ "loss",
+ "float64",
+ "hinge",
+ "hinge loss",
+ "double-precision",
+ "double",
+ "dbl"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/Makefile
new file mode 100644
index 000000000000..2caf905cedbe
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/Makefile
@@ -0,0 +1,70 @@
+#/
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#/
+
+# VARIABLES #
+
+ifndef VERBOSE
+ QUIET := @
+else
+ QUIET :=
+endif
+
+# Determine the OS ([1][1], [2][2]).
+#
+# [1]: https://en.wikipedia.org/wiki/Uname#Examples
+# [2]: http://stackoverflow.com/a/27776822/2225624
+OS ?= $(shell uname)
+ifneq (, $(findstring MINGW,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring MSYS,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring CYGWIN,$(OS)))
+ OS := WINNT
+else
+ifneq (, $(findstring Windows_NT,$(OS)))
+ OS := WINNT
+endif
+endif
+endif
+endif
+
+
+# RULES #
+
+#/
+# Removes generated files for building an add-on.
+#
+# @example
+# make clean-addon
+#/
+clean-addon:
+ $(QUIET) -rm -f *.o *.node
+
+.PHONY: clean-addon
+
+#/
+# Removes generated files.
+#
+# @example
+# make clean
+#/
+clean: clean-addon
+
+.PHONY: clean
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/addon.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/addon.c
new file mode 100644
index 000000000000..73fb1b8b1f10
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/addon.c
@@ -0,0 +1,22 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include "stdlib/ml/base/loss/float64/hinge.h"
+#include "stdlib/math/base/napi/binary.h"
+
+STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_float64_hinge )
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c
new file mode 100644
index 000000000000..3260e3925f97
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include "stdlib/ml/base/loss/float64/hinge.h"
+#include "stdlib/math/base/assert/is_nan.h"
+#include "stdlib/math/base/special/max.h"
+#include "stdlib/constants/float64/nan.h"
+
+/**
+* Computes the hinge loss between two double-precision floating-point number.
+*
+* @param y true target value
+* @param p predicted value
+* @return output value
+*
+* @example
+* double out = stdlib_base_hinge( 1.0, 0.202 );
+* // returns 0.798
+*/
+double stdlib_base_float64_hinge( const double y, const double p ) {
+ if ( stdlib_base_is_nan( y ) || stdlib_base_is_nan( p ) || ( y != -1.0 && y != 1.0 ) ) {
+ return STDLIB_CONSTANT_FLOAT64_NAN;
+ }
+ return stdlib_base_max( 0.0, 1.0 - ( y*p ) );
+}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/REQUIRE
new file mode 100644
index 000000000000..7c8193c06e65
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/REQUIRE
@@ -0,0 +1,2 @@
+julia 1.4.2
+JSON 0.21.0
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/runner.jl
new file mode 100755
index 000000000000..228f8c0a4e87
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/runner.jl
@@ -0,0 +1,84 @@
+#!/usr/bin/env julia
+#
+# @license Apache-2.0
+#
+# Copyright (c) 2026 The Stdlib Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import JSON
+
+"""
+ gen( y, p, name )
+
+Generate fixture data and write to file.
+
+# Arguments
+
+* `y`: response domain
+* `p`: prediction domain
+* `name::AbstractString`: output filename
+
+# Examples
+
+``` julia
+julia> y = rand( [-1.0, 1.0], 2001 )
+julia> p = range( -1000.0, 1000.0, 2001 );
+julia> gen( y, p, "data.json" );
+```
+"""
+function gen( y, p, name )
+ g = max.( 0.0, 1.0 .- ( y .* p ) );
+
+ # Store data to be written to file as a collection:
+ data = Dict([
+ ("y", y),
+ ("p", p),
+ ("expected", g)
+ ]);
+
+ # Based on the script directory, create an output filepath:
+ filepath = joinpath( dir, name );
+
+ # Write the data to the output filepath as JSON:
+ outfile = open( filepath, "w" );
+ write( outfile, JSON.json(data) );
+ write( outfile, "\n" );
+ close( outfile );
+end
+
+# Get the filename:
+file = @__FILE__;
+
+# Extract the directory in which this file resides:
+dir = dirname(file);
+
+# Positive tiny values:
+y = rand( [ -1.0, 1.0 ], 503 )
+p = range( 0.0, stop=1e-20, length=503 );
+gen( y, p, "tiny_positive.json" );
+
+# Small positive values:
+y = rand( [ -1.0, 1.0 ], 503 )
+p = range( 0.0, stop=2.0, length=503 );
+gen( y, p, "small_positive.json" );
+
+# Negative tiny values:
+y = rand( [ -1.0, 1.0 ], 503 )
+p = range( -1e-20, stop=0.0, length=503 );
+gen( y, p, "tiny_negative.json" );
+
+# Small negative values:
+y = rand( [ -1.0, 1.0 ], 503 )
+p = range( -2.0, stop=0.0, length=503 );
+gen( y, p, "small_negative.json" );
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json
new file mode 100644
index 000000000000..f09162c26546
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json
@@ -0,0 +1 @@
+{"expected":[3.0,2.99601593625498,2.99203187250996,0.0,2.9840637450199203,0.0,2.9760956175298805,2.9721115537848606,2.9681274900398407,0.0,0.0,0.0,0.0,0.0,0.0,2.9402390438247012,0.0,0.0,2.9282868525896415,2.9243027888446216,2.9203187250996017,0.0,2.912350597609562,0.0,0.0,0.0,2.896414342629482,2.8924302788844622,2.8884462151394423,0.0,2.8804780876494025,2.8764940239043826,0.0,2.8685258964143427,0.0,0.0,2.856573705179283,2.852589641434263,2.848605577689243,0.0,0.0,0.0,2.8326693227091635,0.0,2.8247011952191237,0.0,2.816733067729084,0.0,0.0,2.804780876494024,2.800796812749004,2.7968127490039842,0.0,2.7888446215139444,2.7848605577689245,2.7808764940239046,0.0,0.0,2.768924302788845,2.764940239043825,2.760956175298805,0.0,2.752988047808765,2.7490039840637452,0.0,0.0,0.0,0.0,0.0,2.7250996015936257,0.0,0.0,0.0,2.709163346613546,0.0,2.7011952191235062,0.0,2.6932270916334664,0.0,0.0,2.6812749003984067,2.6772908366533867,0.0,0.0,0.0,2.661354581673307,0.0,0.0,2.6494023904382473,0.0,2.6414342629482075,0.0,0.0,0.0,0.0,2.6215139442231075,0.0,2.6135458167330676,0.0,0.0,2.601593625498008,0.0,2.593625498007968,0.0,0.0,2.5816733067729083,2.5776892430278884,2.5737051792828685,0.0,2.5657370517928286,2.5617529880478087,2.557768924302789,0.0,0.0,0.0,2.541832669322709,2.537848605577689,2.5338645418326693,0.0,2.5258964143426295,0.0,2.5179282868525896,2.5139442231075697,0.0,2.50597609561753,2.50199203187251,0.0,0.0,2.49003984063745,2.4860557768924303,0.0,0.0,2.4741035856573705,0.0,0.0,0.0,2.458167330677291,0.0,0.0,2.446215139442231,2.442231075697211,2.4382470119521913,0.0,0.0,0.0,2.4223107569721116,2.4183266932270917,2.414342629482072,2.410358565737052,0.0,0.0,0.0,2.394422310756972,2.3904382470119523,2.3864541832669324,2.3824701195219125,2.3784860557768925,0.0,2.3705179282868523,2.3665338645418323,0.0,0.0,2.3545816733067726,2.3505976095617527,0.0,2.342629482071713,2.338645418326693,2.334661354581673,0.0,0.0,0.0,0.0,0.0,0.0,2.3067729083665336,0.0,2.2988047808764938,0.0,2.290836653386454,0.0,2.282868525896414,0.0,2.2749003984063743,2.2709163346613543,2.2669322709163344,0.0,0.0,0.0,0.0,2.247011952191235,0.0,0.0,0.0,2.231075697211155,0.0,0.0,0.0,0.0,2.2111553784860556,2.2071713147410357,0.0,2.199203187250996,0.0,0.0,2.187250996015936,0.0,0.0,2.1752988047808763,2.1713147410358564,2.1673306772908365,0.0,2.1593625498007967,2.1553784860557768,0.0,0.0,2.143426294820717,0.0,2.135458167330677,0.0,2.1274900398406373,2.1235059760956174,0.0,2.1155378486055776,2.1115537848605577,2.1075697211155378,2.103585657370518,0.0,2.095617529880478,2.091633466135458,0.0,0.0,2.0796812749003983,2.0756972111553784,2.0717131474103585,0.0,0.0,0.0,2.055776892430279,2.051792828685259,2.047808764940239,0.0,2.039840637450199,2.0358565737051793,0.0,0.0,2.0239043824701195,0.0,2.0159362549800797,2.0119521912350598,0.0,2.00398406374502,2.0,0.003984063745019917,0.007968127490039834,1.9880478087649402,0.015936254980079667,1.9800796812749004,1.9760956175298805,0.027888446215139417,1.9681274900398407,1.9641434262948207,1.9601593625498008,1.956175298804781,0.047808764940239,1.948207171314741,0.055776892430278835,1.9402390438247012,0.06374501992031878,0.0677290836653387,0.07171314741035861,0.07569721115537853,0.07968127490039845,0.08366533864541836,1.9123505976095618,0.0916334661354582,1.904382470119522,0.09960159362549803,0.10358565737051795,1.8924302788844622,0.11155378486055778,0.1155378486055777,1.8804780876494025,1.8764940239043826,1.8725099601593627,1.8685258964143427,1.8645418326693228,1.860557768924303,0.14342629482071712,0.14741035856573703,0.15139442231075695,1.8446215139442232,1.8406374501992033,0.1633466135458167,1.8326693227091635,1.8286852589641436,1.8247011952191237,1.8207171314741037,1.8167330677290838,1.812749003984064,1.8087649402390438,1.8047808764940239,0.19920318725099606,1.796812749003984,1.792828685258964,1.7888446215139442,1.7848605577689243,0.21912350597609564,1.7768924302788844,1.7729083665338645,1.7689243027888446,0.2350597609561753,0.23904382470119523,1.7569721115537849,1.752988047808765,1.749003984063745,1.745019920318725,1.7410358565737052,0.26294820717131473,1.7330677290836654,1.7290836653386454,1.7250996015936255,1.7211155378486056,1.7171314741035857,1.7131474103585658,0.29083665338645415,1.705179282868526,1.701195219123506,1.697211155378486,0.3067729083665338,0.31075697211155373,1.6852589641434261,0.3187250996015937,1.6772908366533863,0.3266932270916335,0.3306772908366534,1.6653386454183265,1.6613545816733066,1.6573705179282867,0.3466135458167331,0.350597609561753,0.3545816733067729,1.641434262948207,0.36254980079681276,1.6334661354581672,1.6294820717131473,0.3745019920318725,0.3784860557768924,1.6175298804780875,0.38645418326693226,1.6095617529880477,1.6055776892430278,0.398406374501992,0.40239043824701193,0.40637450199203184,1.5896414342629481,1.5856573705179282,1.5816733067729083,0.4223107569721115,1.5737051792828685,0.43027888446215135,0.43426294820717126,1.5617529880478087,1.5577689243027888,0.4462151394422311,0.45019920318725104,1.545816733067729,1.5418326693227091,0.4621513944223108,0.4661354581673307,1.5298804780876494,0.47410358565737054,1.5219123505976095,0.4820717131474104,1.5139442231075697,0.4900398406374502,0.4940239043824701,1.50199203187251,1.49800796812749,1.4940239043824701,1.4900398406374502,0.5139442231075697,0.5179282868525896,1.4780876494023905,1.4741035856573705,0.5298804780876494,1.4661354581673307,0.5378486055776892,0.5418326693227091,0.545816733067729,0.549800796812749,0.5537848605577689,1.4422310756972112,0.5617529880478087,1.4342629482071714,0.5697211155378485,0.5737051792828685,0.5776892430278884,1.4183266932270917,1.4143426294820718,0.5896414342629481,0.593625498007968,0.5976095617529881,0.601593625498008,1.3944223107569722,0.6095617529880478,0.6135458167330677,1.3824701195219125,0.6215139442231076,0.6254980079681275,1.3705179282868527,1.3665338645418328,1.3625498007968129,0.6414342629482072,0.6454183266932271,1.3505976095617531,1.3466135458167332,0.6573705179282869,0.6613545816733069,1.3346613545816732,0.6693227091633467,1.3266932270916334,0.6772908366533865,0.6812749003984064,0.6852589641434264,0.6892430278884463,0.6932270916334662,0.6972111553784861,0.701195219123506,0.7051792828685259,0.7091633466135459,1.2868525896414342,1.2828685258964143,0.7211155378486056,1.2749003984063745,1.2709163346613546,0.7330677290836654,0.7370517928286853,1.2589641434262948,0.7450199203187251,0.749003984063745,1.247011952191235,0.7569721115537849,0.7609561752988048,0.7649402390438247,0.7689243027888446,1.2270916334661355,0.7768924302788844,0.7808764940239044,0.7848605577689243,0.7888446215139442,0.7928286852589641,1.203187250996016,0.8007968127490039,0.8047808764940239,0.8087649402390438,1.1872509960159363,0.8167330677290836,1.1792828685258965,1.1752988047808766,0.8286852589641435,1.1673306772908367,0.8366533864541833,0.8406374501992032,0.8446215139442231,1.151394422310757,0.852589641434263,1.1434262948207172,0.8605577689243028,1.1354581673306772,1.1314741035856573,0.8725099601593626,1.1235059760956174,1.1195219123505975,0.8844621513944223,0.8884462151394422,0.8924302788844621,0.896414342629482,0.900398406374502,0.9043824701195219,1.091633466135458,0.9123505976095617,1.0836653386454183,0.9203187250996016,1.0756972111553784,1.0717131474103585,1.0677290836653386,0.9362549800796813,1.0597609561752988,0.9442231075697212,1.051792828685259,0.952191235059761,1.043824701195219,0.9601593625498008,1.0358565737051793,0.9681274900398407,0.9721115537848606,1.0239043824701195,1.0199203187250996,1.0159362549800797,1.0119521912350598,0.9920318725099602,0.9960159362549801,1.0],"p":[-2.0,-1.99601593625498,-1.9920318725099602,-1.9880478087649402,-1.9840637450199203,-1.9800796812749004,-1.9760956175298805,-1.9721115537848606,-1.9681274900398407,-1.9641434262948207,-1.9601593625498008,-1.956175298804781,-1.952191235059761,-1.948207171314741,-1.9442231075697212,-1.9402390438247012,-1.9362549800796813,-1.9322709163346614,-1.9282868525896415,-1.9243027888446216,-1.9203187250996017,-1.9163346613545817,-1.9123505976095618,-1.908366533864542,-1.904382470119522,-1.900398406374502,-1.8964143426294822,-1.8924302788844622,-1.8884462151394423,-1.8844621513944224,-1.8804780876494025,-1.8764940239043826,-1.8725099601593624,-1.8685258964143425,-1.8645418326693226,-1.8605577689243027,-1.8565737051792828,-1.8525896414342629,-1.848605577689243,-1.844621513944223,-1.840637450199203,-1.8366533864541832,-1.8326693227091633,-1.8286852589641434,-1.8247011952191234,-1.8207171314741035,-1.8167330677290836,-1.8127490039840637,-1.8087649402390438,-1.8047808764940239,-1.800796812749004,-1.796812749003984,-1.792828685258964,-1.7888446215139442,-1.7848605577689243,-1.7808764940239044,-1.7768924302788844,-1.7729083665338645,-1.7689243027888446,-1.7649402390438247,-1.7609561752988048,-1.7569721115537849,-1.752988047808765,-1.749003984063745,-1.745019920318725,-1.7410358565737052,-1.7370517928286853,-1.7330677290836654,-1.7290836653386454,-1.7250996015936255,-1.7211155378486056,-1.7171314741035857,-1.7131474103585658,-1.7091633466135459,-1.705179282868526,-1.701195219123506,-1.697211155378486,-1.6932270916334662,-1.6892430278884463,-1.6852589641434264,-1.6812749003984064,-1.6772908366533865,-1.6733067729083666,-1.6693227091633467,-1.6653386454183268,-1.6613545816733069,-1.657370517928287,-1.653386454183267,-1.649402390438247,-1.6454183266932272,-1.6414342629482073,-1.6374501992031874,-1.6334661354581674,-1.6294820717131475,-1.6254980079681276,-1.6215139442231075,-1.6175298804780875,-1.6135458167330676,-1.6095617529880477,-1.6055776892430278,-1.6015936254980079,-1.597609561752988,-1.593625498007968,-1.5896414342629481,-1.5856573705179282,-1.5816733067729083,-1.5776892430278884,-1.5737051792828685,-1.5697211155378485,-1.5657370517928286,-1.5617529880478087,-1.5577689243027888,-1.5537848605577689,-1.549800796812749,-1.545816733067729,-1.5418326693227091,-1.5378486055776892,-1.5338645418326693,-1.5298804780876494,-1.5258964143426295,-1.5219123505976095,-1.5179282868525896,-1.5139442231075697,-1.5099601593625498,-1.5059760956175299,-1.50199203187251,-1.49800796812749,-1.4940239043824701,-1.4900398406374502,-1.4860557768924303,-1.4820717131474104,-1.4780876494023905,-1.4741035856573705,-1.4701195219123506,-1.4661354581673307,-1.4621513944223108,-1.4581673306772909,-1.454183266932271,-1.450199203187251,-1.4462151394422311,-1.4422310756972112,-1.4382470119521913,-1.4342629482071714,-1.4302788844621515,-1.4262948207171315,-1.4223107569721116,-1.4183266932270917,-1.4143426294820718,-1.4103585657370519,-1.406374501992032,-1.402390438247012,-1.3984063745019921,-1.3944223107569722,-1.3904382470119523,-1.3864541832669324,-1.3824701195219125,-1.3784860557768925,-1.3745019920318724,-1.3705179282868525,-1.3665338645418326,-1.3625498007968126,-1.3585657370517927,-1.3545816733067728,-1.350597609561753,-1.346613545816733,-1.342629482071713,-1.3386454183266931,-1.3346613545816732,-1.3306772908366533,-1.3266932270916334,-1.3227091633466135,-1.3187250996015936,-1.3147410358565736,-1.3107569721115537,-1.3067729083665338,-1.302788844621514,-1.298804780876494,-1.294820717131474,-1.2908366533864541,-1.2868525896414342,-1.2828685258964143,-1.2788844621513944,-1.2749003984063745,-1.2709163346613546,-1.2669322709163346,-1.2629482071713147,-1.2589641434262948,-1.254980079681275,-1.250996015936255,-1.247011952191235,-1.2430278884462151,-1.2390438247011952,-1.2350597609561753,-1.2310756972111554,-1.2270916334661355,-1.2231075697211156,-1.2191235059760956,-1.2151394422310757,-1.2111553784860558,-1.207171314741036,-1.203187250996016,-1.199203187250996,-1.1952191235059761,-1.1912350597609562,-1.1872509960159363,-1.1832669322709164,-1.1792828685258965,-1.1752988047808766,-1.1713147410358566,-1.1673306772908367,-1.1633466135458168,-1.159362549800797,-1.155378486055777,-1.151394422310757,-1.1474103585657371,-1.1434262948207172,-1.1394422310756973,-1.1354581673306774,-1.1314741035856575,-1.1274900398406376,-1.1235059760956174,-1.1195219123505975,-1.1155378486055776,-1.1115537848605577,-1.1075697211155378,-1.1035856573705178,-1.099601593625498,-1.095617529880478,-1.091633466135458,-1.0876494023904382,-1.0836653386454183,-1.0796812749003983,-1.0756972111553784,-1.0717131474103585,-1.0677290836653386,-1.0637450199203187,-1.0597609561752988,-1.0557768924302788,-1.051792828685259,-1.047808764940239,-1.043824701195219,-1.0398406374501992,-1.0358565737051793,-1.0318725099601593,-1.0278884462151394,-1.0239043824701195,-1.0199203187250996,-1.0159362549800797,-1.0119521912350598,-1.0079681274900398,-1.00398406374502,-1.0,-0.9960159362549801,-0.9920318725099602,-0.9880478087649402,-0.9840637450199203,-0.9800796812749004,-0.9760956175298805,-0.9721115537848606,-0.9681274900398407,-0.9641434262948207,-0.9601593625498008,-0.9561752988047809,-0.952191235059761,-0.9482071713147411,-0.9442231075697212,-0.9402390438247012,-0.9362549800796812,-0.9322709163346613,-0.9282868525896414,-0.9243027888446215,-0.9203187250996016,-0.9163346613545816,-0.9123505976095617,-0.9083665338645418,-0.9043824701195219,-0.900398406374502,-0.896414342629482,-0.8924302788844621,-0.8884462151394422,-0.8844621513944223,-0.8804780876494024,-0.8764940239043825,-0.8725099601593626,-0.8685258964143426,-0.8645418326693227,-0.8605577689243028,-0.8565737051792829,-0.852589641434263,-0.848605577689243,-0.8446215139442231,-0.8406374501992032,-0.8366533864541833,-0.8326693227091634,-0.8286852589641435,-0.8247011952191236,-0.8207171314741036,-0.8167330677290837,-0.8127490039840638,-0.8087649402390438,-0.8047808764940239,-0.8007968127490039,-0.796812749003984,-0.7928286852589641,-0.7888446215139442,-0.7848605577689243,-0.7808764940239044,-0.7768924302788844,-0.7729083665338645,-0.7689243027888446,-0.7649402390438247,-0.7609561752988048,-0.7569721115537849,-0.7529880478087649,-0.749003984063745,-0.7450199203187251,-0.7410358565737052,-0.7370517928286853,-0.7330677290836654,-0.7290836653386454,-0.7250996015936255,-0.7211155378486056,-0.7171314741035857,-0.7131474103585658,-0.7091633466135459,-0.7051792828685259,-0.701195219123506,-0.6972111553784861,-0.6932270916334662,-0.6892430278884463,-0.6852589641434262,-0.6812749003984063,-0.6772908366533864,-0.6733067729083665,-0.6693227091633466,-0.6653386454183267,-0.6613545816733067,-0.6573705179282868,-0.6533864541832669,-0.649402390438247,-0.6454183266932271,-0.6414342629482072,-0.6374501992031872,-0.6334661354581673,-0.6294820717131474,-0.6254980079681275,-0.6215139442231076,-0.6175298804780877,-0.6135458167330677,-0.6095617529880478,-0.6055776892430279,-0.601593625498008,-0.5976095617529881,-0.5936254980079682,-0.5896414342629482,-0.5856573705179283,-0.5816733067729084,-0.5776892430278885,-0.5737051792828686,-0.5697211155378487,-0.5657370517928287,-0.5617529880478087,-0.5577689243027888,-0.5537848605577689,-0.549800796812749,-0.545816733067729,-0.5418326693227091,-0.5378486055776892,-0.5338645418326693,-0.5298804780876494,-0.5258964143426295,-0.5219123505976095,-0.5179282868525896,-0.5139442231075697,-0.5099601593625498,-0.5059760956175299,-0.50199203187251,-0.49800796812749004,-0.4940239043824701,-0.4900398406374502,-0.4860557768924303,-0.4820717131474104,-0.47808764940239046,-0.47410358565737054,-0.4701195219123506,-0.46613545816733065,-0.46215139442231074,-0.4581673306772908,-0.4541832669322709,-0.450199203187251,-0.44621513944223107,-0.44223107569721115,-0.43824701195219123,-0.4342629482071713,-0.4302788844621514,-0.4262948207171315,-0.42231075697211157,-0.41832669322709165,-0.41434262948207173,-0.4103585657370518,-0.4063745019920319,-0.40239043824701193,-0.398406374501992,-0.3944223107569721,-0.3904382470119522,-0.38645418326693226,-0.38247011952191234,-0.3784860557768924,-0.3745019920318725,-0.3705179282868526,-0.3665338645418327,-0.36254980079681276,-0.35856573705179284,-0.3545816733067729,-0.350597609561753,-0.3466135458167331,-0.3426294820717131,-0.3386454183266932,-0.3346613545816733,-0.33067729083665337,-0.32669322709163345,-0.32270916334661354,-0.3187250996015936,-0.3147410358565737,-0.3107569721115538,-0.30677290836653387,-0.30278884462151395,-0.29880478087649404,-0.2948207171314741,-0.2908366533864542,-0.2868525896414343,-0.28286852589641437,-0.2788844621513944,-0.2749003984063745,-0.27091633466135456,-0.26693227091633465,-0.26294820717131473,-0.2589641434262948,-0.2549800796812749,-0.250996015936255,-0.24701195219123506,-0.24302788844621515,-0.23904382470119523,-0.2350597609561753,-0.23107569721115537,-0.22709163346613545,-0.22310756972111553,-0.21912350597609562,-0.2151394422310757,-0.21115537848605578,-0.20717131474103587,-0.20318725099601595,-0.199203187250996,-0.1952191235059761,-0.19123505976095617,-0.18725099601593626,-0.18326693227091634,-0.17928286852589642,-0.1752988047808765,-0.17131474103585656,-0.16733067729083664,-0.16334661354581673,-0.1593625498007968,-0.1553784860557769,-0.15139442231075698,-0.14741035856573706,-0.14342629482071714,-0.1394422310756972,-0.13545816733067728,-0.13147410358565736,-0.12749003984063745,-0.12350597609561753,-0.11952191235059761,-0.11553784860557768,-0.11155378486055777,-0.10756972111553785,-0.10358565737051793,-0.099601593625498,-0.09561752988047809,-0.09163346613545817,-0.08764940239043825,-0.08366533864541832,-0.0796812749003984,-0.07569721115537849,-0.07171314741035857,-0.06772908366533864,-0.06374501992031872,-0.05976095617529881,-0.055776892430278883,-0.05179282868525897,-0.04780876494023904,-0.043824701195219126,-0.0398406374501992,-0.035856573705179286,-0.03187250996015936,-0.027888446215139442,-0.02390438247011952,-0.0199203187250996,-0.01593625498007968,-0.01195219123505976,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,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0]}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_positive.json
new file mode 100644
index 000000000000..9962237e3d1c
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_positive.json
@@ -0,0 +1 @@
+{"expected":[1.0,0.9960159362549801,1.0079681274900398,0.9880478087649402,1.0159362549800797,1.0199203187250996,1.0239043824701195,0.9721115537848606,0.9681274900398407,0.9641434262948207,0.9601593625498008,1.043824701195219,0.952191235059761,1.051792828685259,0.9442231075697212,0.9402390438247012,1.0637450199203187,1.0677290836653386,0.9282868525896414,1.0756972111553784,1.0796812749003983,1.0836653386454183,0.9123505976095617,0.9083665338645418,0.9043824701195219,0.900398406374502,1.1035856573705178,1.1075697211155378,1.1115537848605577,1.1155378486055776,1.1195219123505975,1.1235059760956174,1.1274900398406373,1.1314741035856573,1.1354581673306772,0.8605577689243028,1.1434262948207172,0.852589641434263,0.848605577689243,1.155378486055777,1.159362549800797,0.8366533864541833,1.1673306772908367,0.8286852589641435,0.8247011952191234,0.8207171314741035,0.8167330677290836,0.8127490039840637,1.1912350597609562,1.1952191235059761,0.8007968127490039,0.796812749003984,0.7928286852589641,1.2111553784860558,0.7848605577689243,1.2191235059760956,0.7768924302788844,0.7729083665338645,0.7689243027888446,1.2350597609561753,1.2390438247011952,0.7569721115537849,1.247011952191235,0.749003984063745,0.7450199203187251,1.2589641434262948,0.7370517928286853,1.2669322709163346,0.7290836653386454,0.7250996015936255,0.7211155378486056,0.7171314741035857,0.7131474103585658,1.2908366533864541,1.294820717131474,1.298804780876494,0.6972111553784861,0.6932270916334662,0.6892430278884463,1.3147410358565736,0.6812749003984064,1.3227091633466135,0.6733067729083666,1.3306772908366533,1.3346613545816732,1.3386454183266931,0.6573705179282869,0.6533864541832669,1.3505976095617531,1.354581673306773,0.6414342629482072,0.6374501992031872,1.3665338645418328,0.6294820717131474,0.6254980079681275,1.3784860557768925,1.3824701195219125,1.3864541832669324,1.3904382470119523,1.3944223107569722,1.3984063745019921,1.402390438247012,0.593625498007968,0.5896414342629481,0.5856573705179282,1.4183266932270917,1.4223107569721116,0.5737051792828685,1.4302788844621515,1.4342629482071714,1.4382470119521913,1.4422310756972112,0.5537848605577689,0.549800796812749,0.545816733067729,0.5418326693227091,0.5378486055776892,1.4661354581673307,0.5298804780876494,1.4741035856573705,1.4780876494023905,1.4820717131474104,1.4860557768924303,1.4900398406374502,1.4940239043824701,1.49800796812749,1.50199203187251,1.5059760956175299,0.4900398406374502,0.4860557768924303,0.4820717131474104,1.5219123505976095,0.47410358565737054,1.5298804780876494,0.4661354581673307,0.4621513944223108,1.5418326693227091,0.45418326693227096,1.549800796812749,0.4462151394422311,1.5577689243027888,1.5617529880478087,1.5657370517928286,1.5697211155378485,0.42629482071713143,0.4223107569721115,0.4183266932270916,1.5856573705179282,0.41035856573705176,1.593625498007968,0.40239043824701193,1.6015936254980079,1.6055776892430278,1.6095617529880477,1.6135458167330676,1.6175298804780875,1.6215139442231075,0.3745019920318725,1.6294820717131473,1.6334661354581672,1.6374501992031871,0.35856573705179284,1.645418326693227,1.6494023904382469,0.3466135458167331,0.3426294820717132,1.6613545816733066,1.6653386454183265,1.6693227091633465,1.6733067729083664,1.6772908366533863,0.3187250996015937,1.6852589641434261,1.6892430278884463,1.6932270916334662,0.3027888446215139,1.701195219123506,0.29482071713147406,1.7091633466135459,1.7131474103585658,0.2828685258964143,1.7211155378486056,0.2749003984063745,1.7290836653386454,0.26693227091633465,0.26294820717131473,0.2589641434262948,1.745019920318725,0.250996015936255,1.752988047808765,0.24302788844621515,0.23904382470119523,1.7649402390438247,1.7689243027888446,1.7729083665338645,0.22310756972111556,1.7808764940239044,1.7848605577689243,1.7888446215139442,1.792828685258964,1.796812749003984,0.19920318725099606,1.8047808764940239,0.19123505976095623,0.1872509960159362,0.18326693227091628,0.17928286852589637,0.17529880478087645,0.17131474103585653,1.8326693227091635,0.1633466135458167,1.8406374501992033,1.8446215139442232,0.15139442231075695,0.14741035856573703,0.14342629482071712,1.860557768924303,1.8645418326693228,1.8685258964143427,0.12749003984063745,1.8764940239043826,0.11952191235059761,1.8844621513944224,1.8884462151394423,1.8924302788844622,0.10358565737051795,1.900398406374502,0.09561752988047811,0.0916334661354582,1.9123505976095618,1.9163346613545817,1.9203187250996017,0.07569721115537853,1.9282868525896415,1.9322709163346614,0.06374501992031878,1.9402390438247012,1.9442231075697212,1.948207171314741,1.952191235059761,0.043824701195219085,1.9601593625498008,0.03585657370517925,0.031872509960159334,0.027888446215139417,0.0239043824701195,1.9800796812749004,1.9840637450199203,1.9880478087649402,0.007968127490039834,0.003984063745019917,2.0,2.00398406374502,0.0,0.0,0.0,0.0,2.0239043824701195,0.0,2.0318725099601593,0.0,2.039840637450199,0.0,2.047808764940239,2.051792828685259,0.0,0.0,0.0,0.0,2.0717131474103585,2.0756972111553784,2.0796812749003983,0.0,2.087649402390438,2.091633466135458,0.0,2.099601593625498,0.0,2.1075697211155378,2.1115537848605577,0.0,0.0,2.1235059760956174,0.0,2.1314741035856573,2.135458167330677,0.0,2.143426294820717,0.0,0.0,0.0,0.0,2.1633466135458166,2.1673306772908365,0.0,2.1752988047808763,2.1792828685258963,2.183266932270916,0.0,2.191235059760956,2.195219123505976,0.0,0.0,2.2071713147410357,2.2111553784860556,2.2151394422310755,0.0,0.0,2.2270916334661353,0.0,2.235059760956175,2.239043824701195,0.0,0.0,2.2509960159362548,2.2549800796812747,2.2589641434262946,0.0,2.2669322709163344,2.2709163346613543,2.2749003984063743,2.278884462151394,2.282868525896414,2.286852589641434,0.0,0.0,2.2988047808764938,2.3027888446215137,0.0,2.3107569721115535,0.0,0.0,2.3227091633466133,0.0,2.330677290836653,0.0,0.0,2.342629482071713,2.3466135458167328,0.0,2.3545816733067726,0.0,0.0,2.3665338645418323,2.3705179282868523,2.374501992031872,2.3784860557768925,2.3824701195219125,2.3864541832669324,0.0,0.0,0.0,0.0,2.406374501992032,0.0,0.0,0.0,0.0,0.0,2.4302788844621515,0.0,0.0,0.0,2.446215139442231,0.0,2.454183266932271,0.0,2.462151394422311,2.4661354581673307,2.4701195219123506,0.0,0.0,0.0,0.0,0.0,0.0,2.49800796812749,0.0,0.0,2.50996015936255,2.5139442231075697,0.0,0.0,0.0,0.0,0.0,2.537848605577689,0.0,0.0,0.0,2.553784860557769,0.0,2.5617529880478087,0.0,0.0,2.5737051792828685,2.5776892430278884,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.6135458167330676,2.6175298804780875,2.6215139442231075,2.625498007968128,0.0,0.0,0.0,2.6414342629482075,2.6454183266932274,2.6494023904382473,0.0,2.657370517928287,2.661354581673307,0.0,0.0,2.673306772908367,0.0,0.0,2.6852589641434266,2.6892430278884465,0.0,2.6972111553784863,0.0,0.0,0.0,0.0,0.0,0.0,2.7250996015936257,2.7290836653386457,0.0,2.7370517928286855,0.0,0.0,2.7490039840637452,2.752988047808765,2.756972111553785,2.760956175298805,2.764940239043825,2.768924302788845,2.7729083665338647,0.0,2.7808764940239046,0.0,0.0,2.7928286852589643,2.7968127490039842,2.800796812749004,2.804780876494024,0.0,0.0,0.0,2.8207171314741037,2.8247011952191237,2.8286852589641436,2.8326693227091635,2.8366533864541834,0.0,2.8446215139442232,2.848605577689243,0.0,2.856573705179283,0.0,2.864541832669323,2.8685258964143427,0.0,2.8764940239043826,0.0,0.0,2.8884462151394423,0.0,0.0,0.0,2.904382470119522,2.908366533864542,0.0,0.0,2.9203187250996017,0.0,2.9282868525896415,2.9322709163346614,0.0,0.0,2.944223107569721,2.948207171314741,0.0,2.956175298804781,2.960159362549801,2.9641434262948207,0.0,2.9721115537848606,2.9760956175298805,0.0,0.0,2.9880478087649402,2.99203187250996,0.0,3.0],"p":[0.0,0.00398406374501992,0.00796812749003984,0.01195219123505976,0.01593625498007968,0.0199203187250996,0.02390438247011952,0.027888446215139442,0.03187250996015936,0.035856573705179286,0.0398406374501992,0.043824701195219126,0.04780876494023904,0.05179282868525897,0.055776892430278883,0.05976095617529881,0.06374501992031872,0.06772908366533864,0.07171314741035857,0.07569721115537849,0.0796812749003984,0.08366533864541832,0.08764940239043825,0.09163346613545817,0.09561752988047809,0.099601593625498,0.10358565737051793,0.10756972111553785,0.11155378486055777,0.11553784860557768,0.11952191235059761,0.12350597609561753,0.12749003984063745,0.13147410358565736,0.13545816733067728,0.1394422310756972,0.14342629482071714,0.14741035856573706,0.15139442231075698,0.1553784860557769,0.1593625498007968,0.16334661354581673,0.16733067729083664,0.17131474103585656,0.1752988047808765,0.17928286852589642,0.18326693227091634,0.18725099601593626,0.19123505976095617,0.1952191235059761,0.199203187250996,0.20318725099601595,0.20717131474103587,0.21115537848605578,0.2151394422310757,0.21912350597609562,0.22310756972111553,0.22709163346613545,0.23107569721115537,0.2350597609561753,0.23904382470119523,0.24302788844621515,0.24701195219123506,0.250996015936255,0.2549800796812749,0.2589641434262948,0.26294820717131473,0.26693227091633465,0.27091633466135456,0.2749003984063745,0.2788844621513944,0.28286852589641437,0.2868525896414343,0.2908366533864542,0.2948207171314741,0.29880478087649404,0.30278884462151395,0.30677290836653387,0.3107569721115538,0.3147410358565737,0.3187250996015936,0.32270916334661354,0.32669322709163345,0.33067729083665337,0.3346613545816733,0.3386454183266932,0.3426294820717131,0.3466135458167331,0.350597609561753,0.3545816733067729,0.35856573705179284,0.36254980079681276,0.3665338645418327,0.3705179282868526,0.3745019920318725,0.3784860557768924,0.38247011952191234,0.38645418326693226,0.3904382470119522,0.3944223107569721,0.398406374501992,0.40239043824701193,0.4063745019920319,0.4103585657370518,0.41434262948207173,0.41832669322709165,0.42231075697211157,0.4262948207171315,0.4302788844621514,0.4342629482071713,0.43824701195219123,0.44223107569721115,0.44621513944223107,0.450199203187251,0.4541832669322709,0.4581673306772908,0.46215139442231074,0.46613545816733065,0.4701195219123506,0.47410358565737054,0.47808764940239046,0.4820717131474104,0.4860557768924303,0.4900398406374502,0.4940239043824701,0.49800796812749004,0.50199203187251,0.5059760956175299,0.5099601593625498,0.5139442231075697,0.5179282868525896,0.5219123505976095,0.5258964143426295,0.5298804780876494,0.5338645418326693,0.5378486055776892,0.5418326693227091,0.545816733067729,0.549800796812749,0.5537848605577689,0.5577689243027888,0.5617529880478087,0.5657370517928287,0.5697211155378487,0.5737051792828686,0.5776892430278885,0.5816733067729084,0.5856573705179283,0.5896414342629482,0.5936254980079682,0.5976095617529881,0.601593625498008,0.6055776892430279,0.6095617529880478,0.6135458167330677,0.6175298804780877,0.6215139442231076,0.6254980079681275,0.6294820717131474,0.6334661354581673,0.6374501992031872,0.6414342629482072,0.6454183266932271,0.649402390438247,0.6533864541832669,0.6573705179282868,0.6613545816733067,0.6653386454183267,0.6693227091633466,0.6733067729083665,0.6772908366533864,0.6812749003984063,0.6852589641434262,0.6892430278884463,0.6932270916334662,0.6972111553784861,0.701195219123506,0.7051792828685259,0.7091633466135459,0.7131474103585658,0.7171314741035857,0.7211155378486056,0.7250996015936255,0.7290836653386454,0.7330677290836654,0.7370517928286853,0.7410358565737052,0.7450199203187251,0.749003984063745,0.7529880478087649,0.7569721115537849,0.7609561752988048,0.7649402390438247,0.7689243027888446,0.7729083665338645,0.7768924302788844,0.7808764940239044,0.7848605577689243,0.7888446215139442,0.7928286852589641,0.796812749003984,0.8007968127490039,0.8047808764940239,0.8087649402390438,0.8127490039840638,0.8167330677290837,0.8207171314741036,0.8247011952191236,0.8286852589641435,0.8326693227091634,0.8366533864541833,0.8406374501992032,0.8446215139442231,0.848605577689243,0.852589641434263,0.8565737051792829,0.8605577689243028,0.8645418326693227,0.8685258964143426,0.8725099601593626,0.8764940239043825,0.8804780876494024,0.8844621513944223,0.8884462151394422,0.8924302788844621,0.896414342629482,0.900398406374502,0.9043824701195219,0.9083665338645418,0.9123505976095617,0.9163346613545816,0.9203187250996016,0.9243027888446215,0.9282868525896414,0.9322709163346613,0.9362549800796812,0.9402390438247012,0.9442231075697212,0.9482071713147411,0.952191235059761,0.9561752988047809,0.9601593625498008,0.9641434262948207,0.9681274900398407,0.9721115537848606,0.9760956175298805,0.9800796812749004,0.9840637450199203,0.9880478087649402,0.9920318725099602,0.9960159362549801,1.0,1.00398406374502,1.0079681274900398,1.0119521912350598,1.0159362549800797,1.0199203187250996,1.0239043824701195,1.0278884462151394,1.0318725099601593,1.0358565737051793,1.0398406374501992,1.043824701195219,1.047808764940239,1.051792828685259,1.0557768924302788,1.0597609561752988,1.0637450199203187,1.0677290836653386,1.0717131474103585,1.0756972111553784,1.0796812749003983,1.0836653386454183,1.0876494023904382,1.091633466135458,1.095617529880478,1.099601593625498,1.1035856573705178,1.1075697211155378,1.1115537848605577,1.1155378486055776,1.1195219123505975,1.1235059760956174,1.1274900398406376,1.1314741035856575,1.1354581673306774,1.1394422310756973,1.1434262948207172,1.1474103585657371,1.151394422310757,1.155378486055777,1.159362549800797,1.1633466135458168,1.1673306772908367,1.1713147410358566,1.1752988047808766,1.1792828685258965,1.1832669322709164,1.1872509960159363,1.1912350597609562,1.1952191235059761,1.199203187250996,1.203187250996016,1.207171314741036,1.2111553784860558,1.2151394422310757,1.2191235059760956,1.2231075697211156,1.2270916334661355,1.2310756972111554,1.2350597609561753,1.2390438247011952,1.2430278884462151,1.247011952191235,1.250996015936255,1.254980079681275,1.2589641434262948,1.2629482071713147,1.2669322709163346,1.2709163346613546,1.2749003984063745,1.2788844621513944,1.2828685258964143,1.2868525896414342,1.2908366533864541,1.294820717131474,1.298804780876494,1.302788844621514,1.3067729083665338,1.3107569721115537,1.3147410358565736,1.3187250996015936,1.3227091633466135,1.3266932270916334,1.3306772908366533,1.3346613545816732,1.3386454183266931,1.342629482071713,1.346613545816733,1.350597609561753,1.3545816733067728,1.3585657370517927,1.3625498007968126,1.3665338645418326,1.3705179282868525,1.3745019920318724,1.3784860557768925,1.3824701195219125,1.3864541832669324,1.3904382470119523,1.3944223107569722,1.3984063745019921,1.402390438247012,1.406374501992032,1.4103585657370519,1.4143426294820718,1.4183266932270917,1.4223107569721116,1.4262948207171315,1.4302788844621515,1.4342629482071714,1.4382470119521913,1.4422310756972112,1.4462151394422311,1.450199203187251,1.454183266932271,1.4581673306772909,1.4621513944223108,1.4661354581673307,1.4701195219123506,1.4741035856573705,1.4780876494023905,1.4820717131474104,1.4860557768924303,1.4900398406374502,1.4940239043824701,1.49800796812749,1.50199203187251,1.5059760956175299,1.5099601593625498,1.5139442231075697,1.5179282868525896,1.5219123505976095,1.5258964143426295,1.5298804780876494,1.5338645418326693,1.5378486055776892,1.5418326693227091,1.545816733067729,1.549800796812749,1.5537848605577689,1.5577689243027888,1.5617529880478087,1.5657370517928286,1.5697211155378485,1.5737051792828685,1.5776892430278884,1.5816733067729083,1.5856573705179282,1.5896414342629481,1.593625498007968,1.597609561752988,1.6015936254980079,1.6055776892430278,1.6095617529880477,1.6135458167330676,1.6175298804780875,1.6215139442231075,1.6254980079681276,1.6294820717131475,1.6334661354581674,1.6374501992031874,1.6414342629482073,1.6454183266932272,1.649402390438247,1.653386454183267,1.657370517928287,1.6613545816733069,1.6653386454183268,1.6693227091633467,1.6733067729083666,1.6772908366533865,1.6812749003984064,1.6852589641434264,1.6892430278884463,1.6932270916334662,1.697211155378486,1.701195219123506,1.705179282868526,1.7091633466135459,1.7131474103585658,1.7171314741035857,1.7211155378486056,1.7250996015936255,1.7290836653386454,1.7330677290836654,1.7370517928286853,1.7410358565737052,1.745019920318725,1.749003984063745,1.752988047808765,1.7569721115537849,1.7609561752988048,1.7649402390438247,1.7689243027888446,1.7729083665338645,1.7768924302788844,1.7808764940239044,1.7848605577689243,1.7888446215139442,1.792828685258964,1.796812749003984,1.800796812749004,1.8047808764940239,1.8087649402390438,1.8127490039840637,1.8167330677290836,1.8207171314741035,1.8247011952191234,1.8286852589641434,1.8326693227091633,1.8366533864541832,1.840637450199203,1.844621513944223,1.848605577689243,1.8525896414342629,1.8565737051792828,1.8605577689243027,1.8645418326693226,1.8685258964143425,1.8725099601593624,1.8764940239043826,1.8804780876494025,1.8844621513944224,1.8884462151394423,1.8924302788844622,1.8964143426294822,1.900398406374502,1.904382470119522,1.908366533864542,1.9123505976095618,1.9163346613545817,1.9203187250996017,1.9243027888446216,1.9282868525896415,1.9322709163346614,1.9362549800796813,1.9402390438247012,1.9442231075697212,1.948207171314741,1.952191235059761,1.956175298804781,1.9601593625498008,1.9641434262948207,1.9681274900398407,1.9721115537848606,1.9760956175298805,1.9800796812749004,1.9840637450199203,1.9880478087649402,1.9920318725099602,1.99601593625498,2.0],"y":[1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.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0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0]}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_negative.json
new file mode 100644
index 000000000000..dbc090ef8b64
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_negative.json
@@ -0,0 +1 @@
+{"expected":[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.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.800796812749004e-21,-9.780876494023904e-21,-9.760956175298805e-21,-9.741035856573704e-21,-9.721115537848605e-21,-9.701195219123505e-21,-9.681274900398406e-21,-9.661354581673307e-21,-9.641434262948206e-21,-9.621513944223107e-21,-9.601593625498007e-21,-9.581673306772908e-21,-9.561752988047808e-21,-9.541832669322709e-21,-9.52191235059761e-21,-9.50199203187251e-21,-9.48207171314741e-21,-9.46215139442231e-21,-9.442231075697211e-21,-9.42231075697211e-21,-9.402390438247012e-21,-9.382470119521911e-21,-9.362549800796812e-21,-9.342629482071713e-21,-9.322709163346613e-21,-9.302788844621514e-21,-9.282868525896413e-21,-9.262948207171314e-21,-9.243027888446214e-21,-9.223107569721115e-21,-9.203187250996016e-21,-9.183266932270916e-21,-9.163346613545817e-21,-9.143426294820716e-21,-9.123505976095617e-21,-9.103585657370517e-21,-9.083665338645418e-21,-9.063745019920317e-21,-9.043824701195219e-21,-9.02390438247012e-21,-9.003984063745019e-21,-8.98406374501992e-21,-8.96414342629482e-21,-8.944223107569721e-21,-8.92430278884462e-21,-8.904382470119521e-21,-8.884462151394422e-21,-8.864541832669322e-21,-8.844621513944223e-21,-8.824701195219123e-21,-8.804780876494024e-21,-8.784860557768923e-21,-8.764940239043824e-21,-8.745019920318725e-21,-8.725099601593625e-21,-8.705179282868526e-21,-8.685258964143426e-21,-8.665338645418327e-21,-8.645418326693226e-21,-8.625498007968127e-21,-8.605577689243027e-21,-8.585657370517928e-21,-8.565737051792829e-21,-8.545816733067728e-21,-8.52589641434263e-21,-8.505976095617529e-21,-8.48605577689243e-21,-8.46613545816733e-21,-8.44621513944223e-21,-8.426294820717132e-21,-8.406374501992031e-21,-8.386454183266932e-21,-8.366533864541832e-21,-8.346613545816733e-21,-8.326693227091632e-21,-8.306772908366534e-21,-8.286852589641433e-21,-8.266932270916334e-21,-8.247011952191235e-21,-8.227091633466135e-21,-8.207171314741036e-21,-8.187250996015935e-21,-8.167330677290836e-21,-8.147410358565736e-21,-8.127490039840637e-21,-8.107569721115538e-21,-8.087649402390438e-21,-8.067729083665339e-21,-8.047808764940238e-21,-8.02788844621514e-21,-8.007968127490039e-21,-7.98804780876494e-21,-7.968127490039841e-21,-7.94820717131474e-21,-7.928286852589642e-21,-7.908366533864541e-21,-7.888446215139442e-21,-7.868525896414342e-21,-7.848605577689243e-21,-7.828685258964142e-21,-7.808764940239043e-21,-7.788844621513944e-21,-7.768924302788844e-21,-7.749003984063745e-21,-7.729083665338645e-21,-7.709163346613546e-21,-7.689243027888445e-21,-7.669322709163346e-21,-7.649402390438247e-21,-7.629482071713147e-21,-7.609561752988048e-21,-7.589641434262947e-21,-7.569721115537849e-21,-7.549800796812748e-21,-7.529880478087649e-21,-7.509960159362549e-21,-7.49003984063745e-21,-7.470119521912351e-21,-7.45019920318725e-21,-7.430278884462151e-21,-7.410358565737051e-21,-7.390438247011952e-21,-7.370517928286852e-21,-7.350597609561753e-21,-7.330677290836654e-21,-7.310756972111553e-21,-7.290836653386454e-21,-7.270916334661354e-21,-7.250996015936255e-21,-7.231075697211154e-21,-7.211155378486055e-21,-7.191235059760955e-21,-7.171314741035856e-21,-7.151394422310757e-21,-7.131474103585657e-21,-7.111553784860558e-21,-7.091633466135457e-21,-7.071713147410358e-21,-7.051792828685258e-21,-7.031872509960159e-21,-7.01195219123506e-21,-6.99203187250996e-21,-6.97211155378486e-21,-6.95219123505976e-21,-6.932270916334661e-21,-6.912350597609561e-21,-6.892430278884462e-21,-6.872509960159363e-21,-6.852589641434262e-21,-6.832669322709164e-21,-6.812749003984063e-21,-6.792828685258964e-21,-6.7729083665338644e-21,-6.752988047808765e-21,-6.733067729083665e-21,-6.713147410358565e-21,-6.693227091633466e-21,-6.673306772908366e-21,-6.653386454183266e-21,-6.633466135458167e-21,-6.6135458167330676e-21,-6.593625498007968e-21,-6.573705179282868e-21,-6.5537848605577685e-21,-6.533864541832669e-21,-6.513944223107569e-21,-6.4940239043824694e-21,-6.4741035856573705e-21,-6.454183266932271e-21,-6.434262948207171e-21,-6.4143426294820714e-21,-6.394422310756972e-21,-6.374501992031872e-21,-6.354581673306772e-21,-6.3346613545816726e-21,-6.314741035856574e-21,-6.294820717131474e-21,-6.274900398406374e-21,-6.2549800796812746e-21,-6.235059760956175e-21,-6.215139442231075e-21,-6.1952191235059755e-21,-6.175298804780876e-21,-6.155378486055777e-21,-6.135458167330677e-21,-6.1155378486055775e-21,-6.095617529880478e-21,-6.075697211155378e-21,-6.055776892430278e-21,-6.035856573705179e-21,-6.015936254980079e-21,-5.99601593625498e-21,-5.97609561752988e-21,-5.956175298804781e-21,-5.936254980079681e-21,-5.916334661354581e-21,-5.8964143426294816e-21,-5.876494023904382e-21,-5.856573705179283e-21,-5.836653386454183e-21,-5.8167330677290835e-21,-5.796812749003984e-21,-5.776892430278884e-21,-5.7569721115537844e-21,-5.737051792828685e-21,-5.717131474103585e-21,-5.697211155378486e-21,-5.6772908366533864e-21,-5.657370517928287e-21,-5.637450199203187e-21,-5.617529880478087e-21,-5.5976095617529876e-21,-5.577689243027888e-21,-5.557768924302788e-21,-5.537848605577689e-21,-5.5179282868525896e-21,-5.49800796812749e-21,-5.47808764940239e-21,-5.4581673306772905e-21,-5.438247011952191e-21,-5.418326693227091e-21,-5.3984063745019914e-21,-5.3784860557768925e-21,-5.358565737051793e-21,-5.338645418326693e-21,-5.318725099601593e-21,-5.298804780876494e-21,-5.278884462151394e-21,-5.258964143426294e-21,-5.2390438247011946e-21,-5.219123505976096e-21,-5.199203187250996e-21,-5.179282868525896e-21,-5.1593625498007965e-21,-5.139442231075697e-21,-5.119521912350597e-21,-5.0996015936254975e-21,-5.079681274900398e-21,-5.059760956175299e-21,-5.039840637450199e-21,-5.0199203187250994e-21,-5.0e-21,-4.9800796812749e-21,-4.9601593625498e-21,-4.940239043824701e-21,-4.920318725099602e-21,-4.900398406374502e-21,-4.880478087649402e-21,-4.8605577689243026e-21,-4.840637450199203e-21,-4.820717131474103e-21,-4.8007968127490035e-21,-4.780876494023904e-21,-4.760956175298805e-21,-4.741035856573705e-21,-4.7211155378486055e-21,-4.701195219123506e-21,-4.681274900398406e-21,-4.6613545816733064e-21,-4.641434262948207e-21,-4.621513944223107e-21,-4.601593625498008e-21,-4.581673306772908e-21,-4.561752988047809e-21,-4.541832669322709e-21,-4.521912350597609e-21,-4.5019920318725096e-21,-4.48207171314741e-21,-4.46215139442231e-21,-4.442231075697211e-21,-4.4223107569721115e-21,-4.402390438247012e-21,-4.382470119521912e-21,-4.3625498007968124e-21,-4.342629482071713e-21,-4.322709163346613e-21,-4.302788844621513e-21,-4.2828685258964144e-21,-4.262948207171315e-21,-4.243027888446215e-21,-4.223107569721115e-21,-4.203187250996016e-21,-4.183266932270916e-21,-4.163346613545816e-21,-4.1434262948207165e-21,-4.1235059760956176e-21,-4.103585657370518e-21,-4.083665338645418e-21,-4.0637450199203185e-21,-4.043824701195219e-21,-4.023904382470119e-21,-4.0039840637450194e-21,-3.9840637450199205e-21,-3.964143426294821e-21,-3.944223107569721e-21,-3.9243027888446214e-21,-3.904382470119522e-21,-3.884462151394422e-21,-3.864541832669322e-21,-3.8446215139442226e-21,-3.824701195219124e-21,-3.804780876494024e-21,-3.784860557768924e-21,-3.7649402390438246e-21,-3.745019920318725e-21,-3.725099601593625e-21,-3.7051792828685255e-21,-3.685258964143426e-21,-3.665338645418327e-21,-3.645418326693227e-21,-3.6254980079681274e-21,-3.605577689243028e-21,-3.585657370517928e-21,-3.565737051792828e-21,-3.545816733067729e-21,-3.525896414342629e-21,-3.50597609561753e-21,-3.48605577689243e-21,-3.466135458167331e-21,-3.446215139442231e-21,-3.426294820717131e-21,-3.4063745019920315e-21,-3.3864541832669322e-21,-3.3665338645418325e-21,-3.346613545816733e-21,-3.326693227091633e-21,-3.3067729083665338e-21,-3.286852589641434e-21,-3.2669322709163344e-21,-3.2470119521912347e-21,-3.2270916334661354e-21,-3.2071713147410357e-21,-3.187250996015936e-21,-3.1673306772908363e-21,-3.147410358565737e-21,-3.1274900398406373e-21,-3.1075697211155376e-21,-3.087649402390438e-21,-3.0677290836653386e-21,-3.047808764940239e-21,-3.027888446215139e-21,-3.0079681274900395e-21,-2.98804780876494e-21,-2.9681274900398405e-21,-2.9482071713147408e-21,-2.9282868525896415e-21,-2.9083665338645418e-21,-2.888446215139442e-21,-2.8685258964143424e-21,-2.848605577689243e-21,-2.8286852589641433e-21,-2.8087649402390437e-21,-2.788844621513944e-21,-2.7689243027888446e-21,-2.749003984063745e-21,-2.7290836653386452e-21,-2.7091633466135455e-21,-2.6892430278884462e-21,-2.6693227091633465e-21,-2.649402390438247e-21,-2.629482071713147e-21,-2.609561752988048e-21,-2.589641434262948e-21,-2.5697211155378484e-21,-2.5498007968127487e-21,-2.5298804780876494e-21,-2.5099601593625497e-21,-2.49003984063745e-21,-2.4701195219123503e-21,-2.450199203187251e-21,-2.4302788844621513e-21,-2.4103585657370516e-21,-2.390438247011952e-21,-2.3705179282868526e-21,-2.350597609561753e-21,-2.3306772908366532e-21,-2.3107569721115535e-21,-2.290836653386454e-21,-2.2709163346613545e-21,-2.2509960159362548e-21,-2.231075697211155e-21,-2.2111553784860558e-21,-2.191235059760956e-21,-2.1713147410358564e-21,-2.1513944223107567e-21,-2.1314741035856574e-21,-2.1115537848605577e-21,-2.091633466135458e-21,-2.0717131474103583e-21,-2.051792828685259e-21,-2.0318725099601593e-21,-2.0119521912350596e-21,-1.9920318725099602e-21,-1.9721115537848605e-21,-1.952191235059761e-21,-1.932270916334661e-21,-1.912350597609562e-21,-1.892430278884462e-21,-1.8725099601593624e-21,-1.8525896414342627e-21,-1.8326693227091634e-21,-1.8127490039840637e-21,-1.792828685258964e-21,-1.7729083665338643e-21,-1.752988047808765e-21,-1.7330677290836653e-21,-1.7131474103585656e-21,-1.6932270916334661e-21,-1.6733067729083664e-21,-1.6533864541832669e-21,-1.6334661354581672e-21,-1.6135458167330677e-21,-1.593625498007968e-21,-1.5737051792828685e-21,-1.5537848605577688e-21,-1.5338645418326693e-21,-1.5139442231075696e-21,-1.49402390438247e-21,-1.4741035856573704e-21,-1.4541832669322709e-21,-1.4342629482071712e-21,-1.4143426294820717e-21,-1.394422310756972e-21,-1.3745019920318725e-21,-1.3545816733067728e-21,-1.3346613545816733e-21,-1.3147410358565736e-21,-1.294820717131474e-21,-1.2749003984063744e-21,-1.2549800796812749e-21,-1.2350597609561752e-21,-1.2151394422310757e-21,-1.195219123505976e-21,-1.1752988047808764e-21,-1.1553784860557767e-21,-1.1354581673306772e-21,-1.1155378486055775e-21,-1.095617529880478e-21,-1.0756972111553783e-21,-1.0557768924302788e-21,-1.0358565737051791e-21,-1.0159362549800796e-21,-9.960159362549801e-22,-9.760956175298804e-22,-9.56175298804781e-22,-9.362549800796812e-22,-9.163346613545817e-22,-8.96414342629482e-22,-8.764940239043825e-22,-8.565737051792828e-22,-8.366533864541832e-22,-8.167330677290836e-22,-7.96812749003984e-22,-7.768924302788844e-22,-7.569721115537848e-22,-7.370517928286852e-22,-7.171314741035856e-22,-6.97211155378486e-22,-6.772908366533864e-22,-6.573705179282868e-22,-6.374501992031872e-22,-6.175298804780876e-22,-5.97609561752988e-22,-5.776892430278884e-22,-5.577689243027888e-22,-5.378486055776892e-22,-5.179282868525896e-22,-4.980079681274901e-22,-4.780876494023905e-22,-4.581673306772909e-22,-4.3824701195219125e-22,-4.183266932270916e-22,-3.98406374501992e-22,-3.784860557768924e-22,-3.585657370517928e-22,-3.386454183266932e-22,-3.187250996015936e-22,-2.98804780876494e-22,-2.788844621513944e-22,-2.589641434262948e-22,-2.3904382470119523e-22,-2.1912350597609563e-22,-1.99203187250996e-22,-1.792828685258964e-22,-1.593625498007968e-22,-1.394422310756972e-22,-1.1952191235059761e-22,-9.9601593625498e-23,-7.96812749003984e-23,-5.976095617529881e-23,-3.98406374501992e-23,-1.99203187250996e-23,0.0],"y":[-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1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.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0]}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_positive.json
new file mode 100644
index 000000000000..52a34b28c731
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_positive.json
@@ -0,0 +1 @@
+{"expected":[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,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1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],"p":[0.0,1.99203187250996e-23,3.98406374501992e-23,5.976095617529881e-23,7.96812749003984e-23,9.9601593625498e-23,1.1952191235059761e-22,1.394422310756972e-22,1.593625498007968e-22,1.792828685258964e-22,1.99203187250996e-22,2.1912350597609563e-22,2.3904382470119523e-22,2.589641434262948e-22,2.788844621513944e-22,2.98804780876494e-22,3.187250996015936e-22,3.386454183266932e-22,3.585657370517928e-22,3.784860557768924e-22,3.98406374501992e-22,4.183266932270916e-22,4.3824701195219125e-22,4.581673306772909e-22,4.780876494023905e-22,4.980079681274901e-22,5.179282868525896e-22,5.378486055776892e-22,5.577689243027888e-22,5.776892430278884e-22,5.97609561752988e-22,6.175298804780876e-22,6.374501992031872e-22,6.573705179282868e-22,6.772908366533864e-22,6.97211155378486e-22,7.171314741035856e-22,7.370517928286852e-22,7.569721115537848e-22,7.768924302788844e-22,7.96812749003984e-22,8.167330677290836e-22,8.366533864541832e-22,8.565737051792828e-22,8.764940239043825e-22,8.96414342629482e-22,9.163346613545817e-22,9.362549800796812e-22,9.56175298804781e-22,9.760956175298804e-22,9.960159362549801e-22,1.0159362549800796e-21,1.0358565737051791e-21,1.0557768924302788e-21,1.0756972111553783e-21,1.095617529880478e-21,1.1155378486055775e-21,1.1354581673306772e-21,1.1553784860557767e-21,1.1752988047808764e-21,1.195219123505976e-21,1.2151394422310757e-21,1.2350597609561752e-21,1.2549800796812749e-21,1.2749003984063744e-21,1.294820717131474e-21,1.3147410358565736e-21,1.3346613545816733e-21,1.3545816733067728e-21,1.3745019920318725e-21,1.394422310756972e-21,1.4143426294820717e-21,1.4342629482071712e-21,1.4541832669322709e-21,1.4741035856573704e-21,1.49402390438247e-21,1.5139442231075696e-21,1.5338645418326693e-21,1.5537848605577688e-21,1.5737051792828685e-21,1.593625498007968e-21,1.6135458167330677e-21,1.6334661354581672e-21,1.6533864541832669e-21,1.6733067729083664e-21,1.6932270916334661e-21,1.7131474103585656e-21,1.7330677290836653e-21,1.752988047808765e-21,1.7729083665338643e-21,1.792828685258964e-21,1.8127490039840637e-21,1.8326693227091634e-21,1.8525896414342627e-21,1.8725099601593624e-21,1.892430278884462e-21,1.912350597609562e-21,1.932270916334661e-21,1.952191235059761e-21,1.9721115537848605e-21,1.9920318725099602e-21,2.0119521912350596e-21,2.0318725099601593e-21,2.051792828685259e-21,2.0717131474103583e-21,2.091633466135458e-21,2.1115537848605577e-21,2.1314741035856574e-21,2.1513944223107567e-21,2.1713147410358564e-21,2.191235059760956e-21,2.2111553784860558e-21,2.231075697211155e-21,2.2509960159362548e-21,2.2709163346613545e-21,2.290836653386454e-21,2.3107569721115535e-21,2.3306772908366532e-21,2.350597609561753e-21,2.3705179282868526e-21,2.390438247011952e-21,2.4103585657370516e-21,2.4302788844621513e-21,2.450199203187251e-21,2.4701195219123503e-21,2.49003984063745e-21,2.5099601593625497e-21,2.5298804780876494e-21,2.5498007968127487e-21,2.5697211155378484e-21,2.589641434262948e-21,2.609561752988048e-21,2.629482071713147e-21,2.649402390438247e-21,2.6693227091633465e-21,2.6892430278884462e-21,2.7091633466135455e-21,2.7290836653386452e-21,2.749003984063745e-21,2.7689243027888446e-21,2.788844621513944e-21,2.8087649402390437e-21,2.8286852589641433e-21,2.848605577689243e-21,2.8685258964143424e-21,2.888446215139442e-21,2.9083665338645418e-21,2.9282868525896415e-21,2.9482071713147408e-21,2.9681274900398405e-21,2.98804780876494e-21,3.0079681274900395e-21,3.027888446215139e-21,3.047808764940239e-21,3.0677290836653386e-21,3.087649402390438e-21,3.1075697211155376e-21,3.1274900398406373e-21,3.147410358565737e-21,3.1673306772908363e-21,3.187250996015936e-21,3.2071713147410357e-21,3.2270916334661354e-21,3.2470119521912347e-21,3.2669322709163344e-21,3.286852589641434e-21,3.3067729083665338e-21,3.326693227091633e-21,3.346613545816733e-21,3.3665338645418325e-21,3.3864541832669322e-21,3.4063745019920315e-21,3.426294820717131e-21,3.446215139442231e-21,3.466135458167331e-21,3.48605577689243e-21,3.50597609561753e-21,3.525896414342629e-21,3.545816733067729e-21,3.565737051792828e-21,3.585657370517928e-21,3.605577689243028e-21,3.6254980079681274e-21,3.645418326693227e-21,3.665338645418327e-21,3.685258964143426e-21,3.7051792828685255e-21,3.725099601593625e-21,3.745019920318725e-21,3.7649402390438246e-21,3.784860557768924e-21,3.804780876494024e-21,3.824701195219124e-21,3.8446215139442226e-21,3.864541832669322e-21,3.884462151394422e-21,3.904382470119522e-21,3.9243027888446214e-21,3.944223107569721e-21,3.964143426294821e-21,3.9840637450199205e-21,4.0039840637450194e-21,4.023904382470119e-21,4.043824701195219e-21,4.0637450199203185e-21,4.083665338645418e-21,4.103585657370518e-21,4.1235059760956176e-21,4.1434262948207165e-21,4.163346613545816e-21,4.183266932270916e-21,4.203187250996016e-21,4.223107569721115e-21,4.243027888446215e-21,4.262948207171315e-21,4.2828685258964144e-21,4.302788844621513e-21,4.322709163346613e-21,4.342629482071713e-21,4.3625498007968124e-21,4.382470119521912e-21,4.402390438247012e-21,4.4223107569721115e-21,4.442231075697211e-21,4.46215139442231e-21,4.48207171314741e-21,4.5019920318725096e-21,4.521912350597609e-21,4.541832669322709e-21,4.561752988047809e-21,4.581673306772908e-21,4.601593625498008e-21,4.621513944223107e-21,4.641434262948207e-21,4.6613545816733064e-21,4.681274900398406e-21,4.701195219123506e-21,4.7211155378486055e-21,4.741035856573705e-21,4.760956175298805e-21,4.780876494023904e-21,4.8007968127490035e-21,4.820717131474103e-21,4.840637450199203e-21,4.8605577689243026e-21,4.880478087649402e-21,4.900398406374502e-21,4.920318725099602e-21,4.940239043824701e-21,4.9601593625498e-21,4.9800796812749e-21,5.0e-21,5.0199203187250994e-21,5.039840637450199e-21,5.059760956175299e-21,5.079681274900398e-21,5.0996015936254975e-21,5.119521912350597e-21,5.139442231075697e-21,5.1593625498007965e-21,5.179282868525896e-21,5.199203187250996e-21,5.219123505976096e-21,5.2390438247011946e-21,5.258964143426294e-21,5.278884462151394e-21,5.298804780876494e-21,5.318725099601593e-21,5.338645418326693e-21,5.358565737051793e-21,5.3784860557768925e-21,5.3984063745019914e-21,5.418326693227091e-21,5.438247011952191e-21,5.4581673306772905e-21,5.47808764940239e-21,5.49800796812749e-21,5.5179282868525896e-21,5.537848605577689e-21,5.557768924302788e-21,5.577689243027888e-21,5.5976095617529876e-21,5.617529880478087e-21,5.637450199203187e-21,5.657370517928287e-21,5.6772908366533864e-21,5.697211155378486e-21,5.717131474103585e-21,5.737051792828685e-21,5.7569721115537844e-21,5.776892430278884e-21,5.796812749003984e-21,5.8167330677290835e-21,5.836653386454183e-21,5.856573705179283e-21,5.876494023904382e-21,5.8964143426294816e-21,5.916334661354581e-21,5.936254980079681e-21,5.956175298804781e-21,5.97609561752988e-21,5.99601593625498e-21,6.015936254980079e-21,6.035856573705179e-21,6.055776892430278e-21,6.075697211155378e-21,6.095617529880478e-21,6.1155378486055775e-21,6.135458167330677e-21,6.155378486055777e-21,6.175298804780876e-21,6.1952191235059755e-21,6.215139442231075e-21,6.235059760956175e-21,6.2549800796812746e-21,6.274900398406374e-21,6.294820717131474e-21,6.314741035856574e-21,6.3346613545816726e-21,6.354581673306772e-21,6.374501992031872e-21,6.394422310756972e-21,6.4143426294820714e-21,6.434262948207171e-21,6.454183266932271e-21,6.4741035856573705e-21,6.4940239043824694e-21,6.513944223107569e-21,6.533864541832669e-21,6.5537848605577685e-21,6.573705179282868e-21,6.593625498007968e-21,6.6135458167330676e-21,6.633466135458167e-21,6.653386454183266e-21,6.673306772908366e-21,6.693227091633466e-21,6.713147410358565e-21,6.733067729083665e-21,6.752988047808765e-21,6.7729083665338644e-21,6.792828685258964e-21,6.812749003984063e-21,6.832669322709164e-21,6.852589641434262e-21,6.872509960159363e-21,6.892430278884462e-21,6.912350597609561e-21,6.932270916334661e-21,6.95219123505976e-21,6.97211155378486e-21,6.99203187250996e-21,7.01195219123506e-21,7.031872509960159e-21,7.051792828685258e-21,7.071713147410358e-21,7.091633466135457e-21,7.111553784860558e-21,7.131474103585657e-21,7.151394422310757e-21,7.171314741035856e-21,7.191235059760955e-21,7.211155378486055e-21,7.231075697211154e-21,7.250996015936255e-21,7.270916334661354e-21,7.290836653386454e-21,7.310756972111553e-21,7.330677290836654e-21,7.350597609561753e-21,7.370517928286852e-21,7.390438247011952e-21,7.410358565737051e-21,7.430278884462151e-21,7.45019920318725e-21,7.470119521912351e-21,7.49003984063745e-21,7.509960159362549e-21,7.529880478087649e-21,7.549800796812748e-21,7.569721115537849e-21,7.589641434262947e-21,7.609561752988048e-21,7.629482071713147e-21,7.649402390438247e-21,7.669322709163346e-21,7.689243027888445e-21,7.709163346613546e-21,7.729083665338645e-21,7.749003984063745e-21,7.768924302788844e-21,7.788844621513944e-21,7.808764940239043e-21,7.828685258964142e-21,7.848605577689243e-21,7.868525896414342e-21,7.888446215139442e-21,7.908366533864541e-21,7.928286852589642e-21,7.94820717131474e-21,7.968127490039841e-21,7.98804780876494e-21,8.007968127490039e-21,8.02788844621514e-21,8.047808764940238e-21,8.067729083665339e-21,8.087649402390438e-21,8.107569721115538e-21,8.127490039840637e-21,8.147410358565736e-21,8.167330677290836e-21,8.187250996015935e-21,8.207171314741036e-21,8.227091633466135e-21,8.247011952191235e-21,8.266932270916334e-21,8.286852589641433e-21,8.306772908366534e-21,8.326693227091632e-21,8.346613545816733e-21,8.366533864541832e-21,8.386454183266932e-21,8.406374501992031e-21,8.426294820717132e-21,8.44621513944223e-21,8.46613545816733e-21,8.48605577689243e-21,8.505976095617529e-21,8.52589641434263e-21,8.545816733067728e-21,8.565737051792829e-21,8.585657370517928e-21,8.605577689243027e-21,8.625498007968127e-21,8.645418326693226e-21,8.665338645418327e-21,8.685258964143426e-21,8.705179282868526e-21,8.725099601593625e-21,8.745019920318725e-21,8.764940239043824e-21,8.784860557768923e-21,8.804780876494024e-21,8.824701195219123e-21,8.844621513944223e-21,8.864541832669322e-21,8.884462151394422e-21,8.904382470119521e-21,8.92430278884462e-21,8.944223107569721e-21,8.96414342629482e-21,8.98406374501992e-21,9.003984063745019e-21,9.02390438247012e-21,9.043824701195219e-21,9.063745019920317e-21,9.083665338645418e-21,9.103585657370517e-21,9.123505976095617e-21,9.143426294820716e-21,9.163346613545817e-21,9.183266932270916e-21,9.203187250996016e-21,9.223107569721115e-21,9.243027888446214e-21,9.262948207171314e-21,9.282868525896413e-21,9.302788844621514e-21,9.322709163346613e-21,9.342629482071713e-21,9.362549800796812e-21,9.382470119521911e-21,9.402390438247012e-21,9.42231075697211e-21,9.442231075697211e-21,9.46215139442231e-21,9.48207171314741e-21,9.50199203187251e-21,9.52191235059761e-21,9.541832669322709e-21,9.561752988047808e-21,9.581673306772908e-21,9.601593625498007e-21,9.621513944223107e-21,9.641434262948206e-21,9.661354581673307e-21,9.681274900398406e-21,9.701195219123505e-21,9.721115537848605e-21,9.741035856573704e-21,9.760956175298805e-21,9.780876494023904e-21,9.800796812749004e-21,9.820717131474103e-21,9.840637450199203e-21,9.860557768924302e-21,9.880478087649401e-21,9.900398406374502e-21,9.9203187250996e-21,9.940239043824701e-21,9.9601593625498e-21,9.9800796812749e-21,1.0e-20],"y":[1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1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0]}
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.js
new file mode 100644
index 000000000000..22919a94e80d
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.js
@@ -0,0 +1,136 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var isAlmostSameValue = require( '@stdlib/number/float64/base/assert/is-almost-same-value' );
+var hinge = require( './../lib' );
+
+
+// FIXTURES //
+
+var tinyPositive = require( './fixtures/julia/tiny_positive.json' );
+var smallPositive = require( './fixtures/julia/small_positive.json' );
+var tinyNegative = require( './fixtures/julia/tiny_negative.json' );
+var smallNegative = require( './fixtures/julia/small_negative.json' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof hinge, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for tiny positive values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = tinyPositive.y;
+ p = tinyPositive.p;
+ expected = tinyPositive.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for small negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = smallPositive.y;
+ p = smallPositive.p;
+ expected = smallPositive.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for tiny negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = tinyNegative.y;
+ p = tinyNegative.p;
+ expected = tinyNegative.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for small negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = smallNegative.y;
+ p = smallNegative.p;
+ expected = smallNegative.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
+ var g;
+
+ g = hinge( NaN, 0.782 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( 1.0, NaN );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( NaN, NaN );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns `NaN` if y is not +1 or -1', function test( t ) {
+ var g;
+
+ g = hinge( -0.9, 1.0 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( 0.453, 0.76 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.native.js
new file mode 100644
index 000000000000..ada3f0b12fef
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.native.js
@@ -0,0 +1,145 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var resolve = require( 'path' ).resolve;
+var tape = require( 'tape' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var isAlmostSameValue = require( '@stdlib/number/float64/base/assert/is-almost-same-value' );
+var tryRequire = require( '@stdlib/utils/try-require' );
+
+
+// FIXTURES //
+
+var tinyPositive = require( './fixtures/julia/tiny_positive.json' );
+var smallPositive = require( './fixtures/julia/small_positive.json' );
+var tinyNegative = require( './fixtures/julia/tiny_negative.json' );
+var smallNegative = require( './fixtures/julia/small_negative.json' );
+
+
+// VARIABLES //
+
+var hinge = tryRequire( resolve( __dirname, './../lib/native.js' ) );
+var opts = {
+ 'skip': ( hinge instanceof Error )
+};
+
+
+// TESTS //
+
+tape( 'main export is a function', opts, function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof hinge, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for tiny positive values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = tinyPositive.y;
+ p = tinyPositive.p;
+ expected = tinyPositive.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for small negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = smallPositive.y;
+ p = smallPositive.p;
+ expected = smallPositive.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for tiny negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = tinyNegative.y;
+ p = tinyNegative.p;
+ expected = tinyNegative.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function computes the hinge loss for small negative values', function test( t ) {
+ var expected;
+ var y;
+ var p;
+ var g;
+ var i;
+
+ y = smallNegative.y;
+ p = smallNegative.p;
+ expected = smallNegative.expected;
+ for ( i = 0; i < y.length; i++ ) {
+ g = hinge( y[ i ], p[ i ] );
+ t.strictEqual( isAlmostSameValue( g, expected[ i ], 0 ), true, 'returns expected value' );
+ }
+ t.end();
+});
+
+tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
+ var g;
+
+ g = hinge( NaN, 0.782 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( 1.0, NaN );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( NaN, NaN );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns `NaN` if y is not +1 or -1', function test( t ) {
+ var g;
+
+ g = hinge( -0.9, 1.0 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+
+ g = hinge( 0.453, 0.76 );
+ t.strictEqual( isnan( g ), true, 'returns expected value' );
+ t.end();
+});