stdlib-js / stdlib-js/stdlib

[BUG]: usage of camelcase for loss functions in `ml/incr/*`

Đang mở Phù hợp với người mới
#13,359 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Machine Learning
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

### Description

In continuation to this conversation [#13333](https://github.com/stdlib-js/stdlib/pull/13333#discussion_r3534668720), we noticed that the packages `ml/incr/binary-classification` and `ml/incr/sgd-regression` follow `camelCase` for mentioning loss functions, where as the current convention is to use `kebab-case`.

Expected outcome is to refactor all the loss functions from using camelcase to kebabcase.

### Related Issues

_No response_

### Questions

No.

### Demo

_No response_

### Reproduction

_No response_

### Expected Results

`ml/incr/binary-classification`
- `modifiedHuber` -> `modified-huber`
- `squaredHinge` -> `squared-hinge`

`ml/incr/sgd-regression`
- `epsilonInsensitive` -> `epsilon-insensitive`
- `squaredError` -> `squared-error`

### Actual Results

```shell

```

### Version

_No response_

### Environments

Node.js

### Browser Version

_No response_

### Node.js / npm Version

_No response_

### Platform

_No response_

### Checklist

- [x] Read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by inspecting the ml/incr/binary-classification and ml/incr/sgd-regression package entry points and searching their references for the four camelCase loss-function names. Rename each to its kebab-case form and verify that all package usage and tests consistently use modified-huber, squared-hinge, epsilon-insensitive, and squared-error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
machine-learning
Loại issue
Tái cấu trúc
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
72/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.