jamborta / tffm2

9 stars 2 forks source link

you have Dense example but will it work for sparse data ? #2

Open Sandy4321 opened 3 years ago

Sandy4321 commented 3 years ago

you have Dense example but will it work for sparse data ?

it is written Dense example in https://github.com/jamborta/tffm2/blob/master/example.ipynb

jamborta commented 3 years ago

@Sandy4321 yes, it works with sparse data, too. I can add an example if that's useful.

Sandy4321 commented 3 years ago

yes it would be great to have example for sparse data and both second order and third order code run for classification and regression tasks
for example for this data for regression https://www.kaggle.com/c/tabular-playground-series-feb-2021 or only data sets with all categorical data may be used, not mixture categorical and continues ?

ZiweiHou commented 2 years ago

Hi @jamborta, I'm new to python. just wondering how it works with sparse data as the dense input is nd array while sparse data is in sparse matrix type? However, does the current code accept sparse matrix type as input?