From 8eac8f6544ed056e2b302725ff3e7b499ed6a48f Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 12:11:53 +0530 Subject: [PATCH 1/3] feat: add `ml/base/sgd/assert/is-regression-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-regression-loss-function/README.md | 123 ++++++++++++++++++ .../benchmark/benchmark.js | 58 +++++++++ .../is-regression-loss-function/docs/repl.txt | 33 +++++ .../docs/types/index.d.ts | 48 +++++++ .../docs/types/test.ts | 34 +++++ .../examples/index.js | 45 +++++++ .../is-regression-loss-function/lib/index.js | 52 ++++++++ .../is-regression-loss-function/lib/main.js | 67 ++++++++++ .../is-regression-loss-function/package.json | 74 +++++++++++ .../is-regression-loss-function/test/test.js | 82 ++++++++++++ 10 files changed, 616 insertions(+) create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/main.js create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/package.json create mode 100644 lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/test/test.js diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md new file mode 100644 index 000000000000..e973cc9e3511 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md @@ -0,0 +1,123 @@ + + +# isRegressionLossFn + +> Test if an input value is a supported regression loss function. + + + +
+ +
+ + + + + +
+ +## Usage + +```javascript +var isRegressionLossFn = require( '@stdlib/ml/base/sgd/assert/is-regression-loss-function' ); +``` + +#### isRegressionLossFn( value ) + +Tests if an input `value` is a supported regression loss function. + +```javascript +var bool = isRegressionLossFn( 'epsilon-insensitive' ); +// returns true + +bool = isRegressionLossFn( 'huber' ); +// returns true +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var isRegressionLossFn = require( '@stdlib/ml/base/sgd/assert/is-regression-loss-function' ); + +var bool = isRegressionLossFn( 'epsilon-insensitive' ); +// returns true + +bool = isRegressionLossFn( 'huber' ); +// returns true + +bool = isRegressionLossFn( 'squared-epsilon-insensitive' ); +// returns true + +bool = isRegressionLossFn( 'squared-error' ); +// returns true + +bool = isRegressionLossFn( '' ); +// returns false + +bool = isRegressionLossFn( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js new file mode 100644 index 000000000000..39923d1e0731 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js @@ -0,0 +1,58 @@ +/** +* @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 isRegressionLossFn = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var values; + var out; + var v; + var i; + + values = [ + 'epsilon-insensitive', + 'huber', + 'squared-epsilon-insensitive', + 'squared-error' + ]; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = values[ i%values.length ]; + out = isRegressionLossFn( 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-regression-loss-function/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/repl.txt new file mode 100644 index 000000000000..b6e421c9cc91 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/repl.txt @@ -0,0 +1,33 @@ + +{{alias}}( value ) + Tests if an input value is a supported regression 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}}( 'huber' ) + true + > bool = {{alias}}( 'squared-epsilon-insensitive' ) + true + > bool = {{alias}}( 'squared-error' ) + true + > bool = {{alias}}( '' ) + false + > bool = {{alias}}( 'beep' ) + false + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts new file mode 100644 index 000000000000..81d685b0f315 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts @@ -0,0 +1,48 @@ +/* +* @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 regression loss function. +* +* @param v - value to test +* @returns boolean indicating whether an input value is a supported regression loss function +* +* @example +* var bool = isRegressionLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'huber' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-error' ); +* // returns true +* +* bool = isRegressionLossFn( 'foo' ); +* // returns false +*/ +declare function isRegressionLossFn( v: any ): boolean; + + +// EXPORTS // + +export = isRegressionLossFn; diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/test.ts new file mode 100644 index 000000000000..7d967ce2746e --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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 isRegressionLossFn = require( './index' ); + + +// TESTS // + +// The function returns a boolean... +{ + isRegressionLossFn( 'squared-epsilon-insensitive' ); // $ExpectType boolean + isRegressionLossFn( 'foo' ); // $ExpectType boolean +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + isRegressionLossFn(); // $ExpectError + isRegressionLossFn( undefined, 123 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js new file mode 100644 index 000000000000..70ae7f5b7134 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js @@ -0,0 +1,45 @@ +/** +* @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 isRegressionLossFn = require( './../lib' ); + +var bool = isRegressionLossFn( 'epsilon-insensitive' ); +console.log( bool ); +// => true + +bool = isRegressionLossFn( 'huber' ); +console.log( bool ); +// => true + +bool = isRegressionLossFn( 'squared-epsilon-insensitive' ); +console.log( bool ); +// => true + +bool = isRegressionLossFn( 'squared-error' ); +console.log( bool ); +// => true + +bool = isRegressionLossFn( '' ); +console.log( bool ); +// => false + +bool = isRegressionLossFn( 'foo' ); +console.log( bool ); +// => false diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js new file mode 100644 index 000000000000..e3c737e57887 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js @@ -0,0 +1,52 @@ +/** +* @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 regression loss function. +* +* @module @stdlib/ml/base/sgd/assert/is-regression-loss-function +* +* @example +* var isRegressionLossFn = require( '@stdlib/ml/base/sgd/assert/is-regression-loss-function' ); +* +* var bool = isRegressionLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'huber' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-error' ); +* // returns true +* +* bool = isRegressionLossFn( '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-regression-loss-function/lib/main.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/main.js new file mode 100644 index 000000000000..1f1d413871d7 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/main.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'; + +// MODULES // + +var contains = require( '@stdlib/array/base/assert/contains' ).factory; + + +// VARIABLES // + +var REGRESSION_LOSS_FNS = [ + 'epsilon-insensitive', + 'huber', + 'squared-epsilon-insensitive', + 'squared-error' +]; + + +// MAIN // + +/** +* Tests whether an input value is a supported regression loss function. +* +* @name isRegressionLossFn +* @type {Function} +* @param {*} v - value to test +* @returns {boolean} boolean indicating whether an input value is a supported regression loss function +* +* @example +* var bool = isRegressionLossFn( 'epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'huber' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-epsilon-insensitive' ); +* // returns true +* +* bool = isRegressionLossFn( 'squared-error' ); +* // returns true +* +* bool = isRegressionLossFn( 'foo' ); +* // returns false +*/ +var isRegressionLossFn = contains( REGRESSION_LOSS_FNS ); + + +// EXPORTS // + +module.exports = isRegressionLossFn; diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/package.json b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/package.json new file mode 100644 index 000000000000..8d3aa6aff586 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/package.json @@ -0,0 +1,74 @@ +{ + "name": "@stdlib/ml/base/sgd/assert/is-regression-loss-function", + "version": "0.0.0", + "description": "Test if an input value is a supported regression 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", + "regression", + "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-regression-loss-function/test/test.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/test/test.js new file mode 100644 index 000000000000..364d908c7e6d --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/test/test.js @@ -0,0 +1,82 @@ +/** +* @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 isRegressionLossFn = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof isRegressionLossFn, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `true` if provided a supported regression loss function', function test( t ) { + var values; + var bool; + var i; + + values = [ + 'epsilon-insensitive', + 'huber', + 'squared-epsilon-insensitive', + 'squared-error' + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isRegressionLossFn( 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 regression loss function', function test( t ) { + var values; + var bool; + var i; + + values = [ + 'epsilon', + 'squared_error', + 'square-epsilon-insensitive', + '', + 'beep', + 'boop', + 'foo', + 'bar', + 5, + NaN, + true, + false, + null, + void 0, + [], + {}, + function noop() {} + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isRegressionLossFn( values[ i ] ); + t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); From 05e902dae7c6801ca9f3e64c4221248811cb7b36 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 12:17:11 +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 --- --- .../assert/is-regression-loss-function/benchmark/benchmark.js | 2 +- .../assert/is-regression-loss-function/docs/types/index.d.ts | 2 +- .../sgd/assert/is-regression-loss-function/docs/types/test.ts | 2 +- .../sgd/assert/is-regression-loss-function/examples/index.js | 2 +- .../ml/base/sgd/assert/is-regression-loss-function/lib/index.js | 2 +- .../ml/base/sgd/assert/is-regression-loss-function/lib/main.js | 2 +- .../ml/base/sgd/assert/is-regression-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-regression-loss-function/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js index 39923d1e0731..78b02547d480 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts index 81d685b0f315..0a864214eaac 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/test.ts index 7d967ce2746e..b516d7aa98c5 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/docs/types/test.ts +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/examples/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js index 70ae7f5b7134..cda7eccc9110 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/examples/index.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/lib/index.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js index e3c737e57887..2f8a27c791f7 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/index.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/lib/main.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/main.js index 1f1d413871d7..5c6720e06f72 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/lib/main.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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-regression-loss-function/test/test.js b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/test/test.js index 364d908c7e6d..781213d1ce56 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/test/test.js +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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 941135e11457bfab5d748605c04651d16d32784d Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 3 Aug 2026 12:26:31 +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 --- --- .../ml/base/sgd/assert/is-regression-loss-function/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md index e973cc9e3511..de21430c1862 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-loss-function/README.md +++ b/lib/node_modules/@stdlib/ml/base/sgd/assert/is-regression-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.