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.
15 lines
496 B
15 lines
496 B
create table source(x vecdouble, y int64);
|
|
LOAD MODULE FROM "./libirf.so" FUNCTIONS (
|
|
newtree(height:int, f:int64, sparse:vecint, forget:double, noclasses:int64, e:int) -> bool,
|
|
fit_inc(X:vecvecdouble, y:vecint64) -> bool,
|
|
predict(X:vecvecdouble) -> vecint ,
|
|
test(X:vecvecdouble, y:vecint64) -> double
|
|
);
|
|
|
|
create table elec_sparse(v int);
|
|
|
|
insert into elec_sparse values (0), (1), (1), (1), (1), (1), (1);
|
|
|
|
select newtree(30, 7, elec_sparse.v, 0.3, 2, 1) from elec_sparse
|
|
|