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.
18 lines
250 B
18 lines
250 B
4 years ago
|
'use strict'
|
||
|
|
||
|
var vec = require('../index')
|
||
|
var isVec = require('../is-vec')
|
||
|
var tape = require('tape')
|
||
|
|
||
|
tape('is-vector', function(t) {
|
||
|
|
||
|
var x = [1,2,3]
|
||
|
|
||
|
t.ok(!isVec(x))
|
||
|
t.ok(isVec(vec(x)))
|
||
|
t.ok(!isVec(null))
|
||
|
t.ok(isVec([]))
|
||
|
|
||
|
t.end()
|
||
|
})
|