From 5af21035c23200d29266b466e726bcdd2ebce746 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 11:48:55 +0530 Subject: [PATCH 1/3] feat: add `ml/base/sgd/assert/is-classification-loss-function` --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: passed - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../is-classification-loss-function/README.md | 138 ++++++++++++++++++ .../benchmark/benchmark.js | 63 ++++++++ .../docs/repl.txt | 43 ++++++ .../docs/types/index.d.ts | 63 ++++++++ .../docs/types/test.ts | 34 +++++ .../examples/index.js | 65 +++++++++ .../lib/index.js | 67 +++++++++ .../lib/main.js | 87 +++++++++++ .../package.json | 74 ++++++++++ .../test/test.js | 87 +++++++++++ 10 files changed, 721 insertions(+) create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/package.json create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md new file mode 100644 index 000000000000..6a5c862a73e1 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md @@ -0,0 +1,138 @@ + + +# isClassificationLossFn + +> Test if an input value is a supported classification loss function. + + + +
+ +
+ + + + + +
+ +## Usage + +```javascript +var isClassificationLossFn = require( '@stdlib/ml/base/sgd/assert/is-classification-loss-function' ); +``` + +#### isClassificationLossFn( value ) + +Tests if an input `value` is a supported classification loss function. + +```javascript +var bool = isClassificationLossFn( 'hinge' ); +// returns true + +bool = isClassificationLossFn( 'perceptron' ); +// returns true +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var isClassificationLossFn = require( '@stdlib/ml/base/sgd/assert/is-classification-loss-function' ); + +var bool = isClassificationLossFn( 'epsilon-insensitive' ); +// returns true + +bool = isClassificationLossFn( 'hinge' ); +// returns true + +bool = isClassificationLossFn( 'huber' ); +// returns true + +bool = isClassificationLossFn( 'log' ); +// returns true + +bool = isClassificationLossFn( 'modified-huber' ); +// returns true + +bool = isClassificationLossFn( 'perceptron' ); +// returns true + +bool = isClassificationLossFn( 'squared-epsilon-insensitive' ); +// returns true + +bool = isClassificationLossFn( 'squared-error' ); +// returns true + +bool = isClassificationLossFn( 'squared-hinge' ); +// returns true + +bool = isClassificationLossFn( '' ); +// returns false + +bool = isClassificationLossFn( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js new file mode 100644 index 000000000000..0c9371f38406 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js @@ -0,0 +1,63 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; +var pkg = require( './../package.json' ).name; +var isClassificationLossFn = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var values; + var out; + var v; + var i; + + values = [ + 'epsilon-insensitive', + 'hinge', + 'huber', + 'log', + 'modified-huber', + 'perceptron', + 'squared-epsilon-insensitive', + 'squared-error', + 'squared-hinge' + ]; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = values[ i%values.length ]; + out = isClassificationLossFn( v ); + if ( typeof out !== 'boolean' ) { + b.fail( 'should return a boolean' ); + } + } + b.toc(); + if ( !isBoolean( out ) ) { + b.fail( 'should return a boolean' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/repl.txt new file mode 100644 index 000000000000..3c61f37a5936 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/repl.txt @@ -0,0 +1,43 @@ + +{{alias}}( value ) + Tests if an input value is a supported classification loss function. + + Parameters + ---------- + value: any + Value to test. + + Returns + ------- + bool: boolean + Boolean indicating if an input value is a supported classification loss + function. + + Examples + -------- + > var bool = {{alias}}( 'epsilon-insensitive' ) + true + > bool = {{alias}}( 'hinge' ) + true + > bool = {{alias}}( 'huber' ) + true + > bool = {{alias}}( 'log' ) + true + > bool = {{alias}}( 'modified-huber' ) + true + > bool = {{alias}}( 'perceptron' ) + true + > bool = {{alias}}( 'squared-epsilon-insensitive' ) + true + > bool = {{alias}}( 'squared-error' ) + true + > bool = {{alias}}( 'squared-hinge' ) + true + > bool = {{alias}}( '' ) + false + > bool = {{alias}}( 'beep' ) + false + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts new file mode 100644 index 000000000000..b4e6a58f8670 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts @@ -0,0 +1,63 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 + +/** +* Tests whether an input value is a supported classification loss function. +* +* @param v - value to test +* @returns boolean indicating whether an input value is a supported classification loss function +* +* @example +* var bool = isClassificationLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'log' ); +* // returns true +* +* bool = isClassificationLossFn( 'modified-huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'perceptron' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-error' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'foo' ); +* // returns false +*/ +declare function isClassificationLossFn( v: any ): boolean; + + +// EXPORTS // + +export = isClassificationLossFn; diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts new file mode 100644 index 000000000000..31cadbd4b2df --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts @@ -0,0 +1,34 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 isClassificationLossFn = require( './index' ); + + +// TESTS // + +// The function returns a boolean... +{ + isClassificationLossFn( 'squared-epsilon-insensitive' ); // $ExpectType boolean + isClassificationLossFn( 'foo' ); // $ExpectType boolean +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + isClassificationLossFn(); // $ExpectError + isClassificationLossFn( undefined, 123 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js new file mode 100644 index 000000000000..ab004af456f9 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js @@ -0,0 +1,65 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 isClassificationLossFn = require( './../lib' ); + +var bool = isClassificationLossFn( 'epsilon-insensitive' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'hinge' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'huber' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'log' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'modified-huber' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'perceptron' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'squared-epsilon-insensitive' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'squared-error' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( 'squared-hinge' ); +console.log( bool ); +// => true + +bool = isClassificationLossFn( '' ); +console.log( bool ); +// => false + +bool = isClassificationLossFn( 'foo' ); +console.log( bool ); +// => false diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js new file mode 100644 index 000000000000..b460fb3c9e5f --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js @@ -0,0 +1,67 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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'; + +/** +* Test whether an input value is a supported classification loss function. +* +* @module @stdlib/ml/base/sgd/assert/is-classification-loss-function +* +* @example +* var isClassificationLossFn = require( '@stdlib/ml/base/sgd/assert/is-classification-loss-function' ); +* +* var bool = isClassificationLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'log' ); +* // returns true +* +* bool = isClassificationLossFn( 'modified-huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'perceptron' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-error' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'foo' ); +* // returns false +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js new file mode 100644 index 000000000000..217cb2414e72 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js @@ -0,0 +1,87 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 contains = require( '@stdlib/array/base/assert/contains' ).factory; + + +// VARIABLES // + +var CLASSIFICATION_LOSS_FNS = [ + 'epsilon-insensitive', + 'hinge', + 'huber', + 'log', + 'modified-huber', + 'perceptron', + 'squared-epsilon-insensitive', + 'squared-error', + 'squared-hinge' +]; + + +// MAIN // + +/** +* Tests whether an input value is a supported classification loss function. +* +* @name isClassificationLossFn +* @type {Function} +* @param {*} v - value to test +* @returns {boolean} boolean indicating whether an input value is a supported classification loss function +* +* @example +* var bool = isClassificationLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'log' ); +* // returns true +* +* bool = isClassificationLossFn( 'modified-huber' ); +* // returns true +* +* bool = isClassificationLossFn( 'perceptron' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-error' ); +* // returns true +* +* bool = isClassificationLossFn( 'squared-hinge' ); +* // returns true +* +* bool = isClassificationLossFn( 'foo' ); +* // returns false +*/ +var isClassificationLossFn = contains( CLASSIFICATION_LOSS_FNS ); + + +// EXPORTS // + +module.exports = isClassificationLossFn; diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/package.json b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/package.json new file mode 100644 index 000000000000..952c7e28badb --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/package.json @@ -0,0 +1,74 @@ +{ + "name": "@stdlib/ml/base/sgd/assert/is-classification-loss-function", + "version": "0.0.0", + "description": "Test if an input value is a supported classification loss function.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdtypes", + "types", + "base", + "machine learning", + "sgd", + "classification", + "loss function", + "utilities", + "utility", + "utils", + "util", + "assert", + "test", + "check", + "is", + "valid", + "validate", + "validation", + "isvalid" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js new file mode 100644 index 000000000000..86ebf7056efa --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js @@ -0,0 +1,87 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 isClassificationLossFn = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof isClassificationLossFn, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `true` if provided a supported classification loss function', function test( t ) { + var values; + var bool; + var i; + + values = [ + 'epsilon-insensitive', + 'hinge', + 'huber', + 'log', + 'modified-huber', + 'perceptron', + 'squared-epsilon-insensitive', + 'squared-error', + 'squared-hinge' + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isClassificationLossFn( values[ i ] ); + t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); + +tape( 'the function returns `false` if not provided a supported classification loss function', function test( t ) { + var values; + var bool; + var i; + + values = [ + 'float', + 'int', + 'bin', + '', + 'beep', + 'boop', + 'foo', + 'bar', + 5, + NaN, + true, + false, + null, + void 0, + [], + {}, + function noop() {} + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isClassificationLossFn( values[ i ] ); + t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); From 909925357c81be40ecf2fc9efbf3a928331ad779 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 12:18:57 +0530 Subject: [PATCH 2/3] docs: update copyright years --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: na - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../is-classification-loss-function/benchmark/benchmark.js | 2 +- .../is-classification-loss-function/docs/types/index.d.ts | 2 +- .../assert/is-classification-loss-function/docs/types/test.ts | 2 +- .../assert/is-classification-loss-function/examples/index.js | 2 +- .../sgd/assert/is-classification-loss-function/lib/index.js | 2 +- .../base/sgd/assert/is-classification-loss-function/lib/main.js | 2 +- .../sgd/assert/is-classification-loss-function/test/test.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js index 0c9371f38406..b6e5c0cf70ed 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/benchmark/benchmark.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts index b4e6a58f8670..fa57a9d10147 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/index.d.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts index 31cadbd4b2df..6af753fa3acd 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/docs/types/test.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js index ab004af456f9..8a868ce85c0f 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/examples/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js index b460fb3c9e5f..452a5d297a02 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js index 217cb2414e72..71c6890d3151 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/lib/main.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js index 86ebf7056efa..02f75223eddb 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* 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. From a333b99198d21975bda6eee631e24504000a9171 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 12:27:33 +0530 Subject: [PATCH 3/3] docs: update copyright years --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: passed - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../base/sgd/assert/is-classification-loss-function/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md index 6a5c862a73e1..4e384a060190 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-classification-loss-function/README.md @@ -2,7 +2,7 @@ @license Apache-2.0 -Copyright (c) 2024 The Stdlib Authors. +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.