You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.
create or replace view news20_onevsrest_train
as
select transform(${possible_labels}, rowid, label, addBias(features))
ROW FORMAT DELIMITED
FIELDS TERMINATED BY "\t"
COLLECTION ITEMS TERMINATED BY ","
LINES TERMINATED BY "\n"
using 'gawk -f one-vs-rest.awk'
as (rowid BIGINT, label INT, target INT, features ARRAY<STRING>)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY "\t"
COLLECTION ITEMS TERMINATED BY ","
LINES TERMINATED BY "\n"
from news20mc_train;
create or replace view news20_onevsrest_train_x3
as
select
*
from (
select
amplify(3, *) as (rowid, label, target, features)
from
news20_onevsrest_train
) t
CLUSTER BY rand();