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.
42 lines
664 B
42 lines
664 B
4 years ago
|
affine-hull
|
||
|
===========
|
||
|
Computes the lexicographically smallest basis for the affine hull of a point set.
|
||
|
|
||
|
# Example
|
||
|
|
||
|
```javascript
|
||
|
var aff = require('affine-hull')
|
||
|
|
||
|
console.log(aff([
|
||
|
[0, 0, 0],
|
||
|
[1, 0, 0],
|
||
|
[2, 0, 0],
|
||
|
[3, 0, 0],
|
||
|
[0, 1, 0],
|
||
|
[0, 0, 2]
|
||
|
]))
|
||
|
```
|
||
|
|
||
|
Output:
|
||
|
|
||
|
```javascript
|
||
|
[0, 1, 4, 5]
|
||
|
```
|
||
|
|
||
|
# Install
|
||
|
|
||
|
```
|
||
|
npm install affine-hull
|
||
|
```
|
||
|
|
||
|
# API
|
||
|
|
||
|
#### `require('affine-hull')(points)`
|
||
|
Computes a basis for the affine hull of the set of points `points`.
|
||
|
|
||
|
* `points` is a list of points encoded by d-tuples of numbers
|
||
|
|
||
|
**Returns** A list of indices for the generators of the affine hull of the point set
|
||
|
|
||
|
# Credits
|
||
|
(c) 2014 Mikola Lysenko. MIT License
|