convert a row to tensors given column feature information of WideAndDeep model.
convert a row to tensors given column feature information of WideAndDeep model.
Row of userId, itemId, features and label
ColumnFeatureInfo specify information of different features
an array of tensors as input for deep part of a WideAndDeep model
generate negative samples given a dataframe of positive records, label >=2.
generate negative samples given a dataframe of positive records, label >=2.
dataframe positive of userId, itemId and label.
a dataframe of negative samples(label=1) with the same size as indexed dataframe
convert a row to tensor given column feature information of WideAndDeep model.
convert a row to tensor given column feature information of WideAndDeep model.
Row of userId, itemId, features and label
ColumnFeatureInfo specify information of different features
a tensor as input for wide part of a WideAndDeep model
convert a row to sample given column information of WideAndDeep model.
convert a row to sample given column information of WideAndDeep model.
Row of userId, itemId, features and label
ColumnFeatureInfo specify information of different features
support "wide_n_deep", "wide", "deep" only
TensorSample as input for WideAndDeep model
convert a row to sample given column information of WideAndDeep Sequential model.
convert a row to sample given column information of WideAndDeep Sequential model.
Row of userId, itemId, features and label
ColumnFeatureInfo specify information of different features
support "wide_n_deep", "wide", "deep" only
TensorSample as input for WideAndDeep Sequential model