StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
758 B
41 lines
758 B
alpha-shape
|
|
===========
|
|
Computes the [alpha shape](http://en.wikipedia.org/wiki/Alpha_shape) of a point set.
|
|
|
|
[Try a demo right now](https://mikolalysenko.github.io/alpha-shape/index.html)
|
|
|
|
<img src="alpha.png">
|
|
|
|
# Example
|
|
|
|
```javascript
|
|
var alphaShape = require('alpha-shape')
|
|
|
|
var points = []
|
|
for(var i=0; i<10; ++i) {
|
|
points.push([Math.random(), Math.random()])
|
|
}
|
|
|
|
var cells = alphaShape(0.1, points)
|
|
|
|
console.log(cells)
|
|
```
|
|
|
|
# Install
|
|
|
|
```
|
|
npm i alpha-shape
|
|
```
|
|
|
|
# API
|
|
|
|
#### `var cells = require('alpha-shape')(alpha, points)`
|
|
Computes the alpha shape of a point set
|
|
|
|
* `alpha` is alpha parameter for the shape
|
|
* `points` is a set of points in some dimension
|
|
|
|
**Returns** The alpha shape of the point set
|
|
|
|
# License
|
|
(c) 2015 Mikola Lysenko. MIT License |