Closed JackyP closed 4 years ago
Looks very cool, will try it out asap!
So apparently this breaks for
model %>% fit(x, y, epochs=100, verbose=2, validation_split = 0.5)
, as the tensors can not be sliced?
Any ideas whether we can fix this?
The argument validation_split (generating a holdout set from the training data) is not supported when training from Dataset objects, since this features requires the ability to index the samples of the datasets, which is not possible in general with the Dataset API.
Fixed via #8
Tabnet model by Google researchers (https://arxiv.org/abs/1908.07442) claims the model architecture "outperforms other neural network and decision tree variants on a wide range of tabular data learning datasets and yields interpretable feature attributions and insights into the global model behavior. "
There is a Python package for keras/tensorflow 2.0 (tabnet) and one for Pytorch (pytorch-tabnet).
Here is a short R POC of the iris example from the former: