-
-
Notifications
You must be signed in to change notification settings - Fork 848
Open
Labels
CIssue involves or relates to C.Issue involves or relates to C.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.JavaScriptIssue involves or relates to JavaScript.Issue involves or relates to JavaScript.MathIssue or pull request specific to math functionality.Issue or pull request specific to math functionality.Native AddonsIssue involves or relates to Node.js native add-ons.Issue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.difficulty: 3Likely to be challenging but manageable.Likely to be challenging but manageable.priority: NormalNormal priority concern or feature request.Normal priority concern or feature request.status: BlockedIssue or pull request which is currently blocked.Issue or pull request which is currently blocked.
Description
Description
This RFC proposes adding a function to calculate the Canberra distance between two strided arrays.
Package: @stdlib/math/strided/distances/canberra
The function should have the following signature canberra( N, x, strideX, y, strideY )
.
The Canberra distance is a measure of dissimilarity between two samples in a data set.
The Canberra distance between two elements is as follows:
(abs(x[i] - y[i]) / (abs(x[i]) + abs(y[i]))
See:
Related Issues
None.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
CIssue involves or relates to C.Issue involves or relates to C.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.JavaScriptIssue involves or relates to JavaScript.Issue involves or relates to JavaScript.MathIssue or pull request specific to math functionality.Issue or pull request specific to math functionality.Native AddonsIssue involves or relates to Node.js native add-ons.Issue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.difficulty: 3Likely to be challenging but manageable.Likely to be challenging but manageable.priority: NormalNormal priority concern or feature request.Normal priority concern or feature request.status: BlockedIssue or pull request which is currently blocked.Issue or pull request which is currently blocked.