James Beach
James Beach
Thanks for the quick reply. Unfortunately I haven't got the time at the moment to attempt the implementation of further math functions, but I will have a go if/when I'm...
```boost::hana::zip_with``` and ```std::forward_as_tuple``` would prevent unnecessary copies occurring when constructing the inner tuples.
Thanks for your detailed reply; it will be very useful. I'll report back here with my progress (though it likely won't be for a couple of months). I was hoping...
Hi, I'm encountering a similar issue when trying to wrap a TensorFlow Decision Forests model: ```python from sklearn.datasets import make_classification import tensorflow_decision_forests as tfdf from scikeras.wrappers import KerasClassifier X, y...
I trained a ```tfdf.keras.CartModel``` using a different dataset and the start of ```model.summary()``` showed ``` Model: "cart_model" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= ================================================================= Total params: 1 Trainable...
So I suppose the answer to your question is no, the model does not have an input layer. Are such models compatible with SciKeras?
```python inputs = Input(shape=(20,)) initial_model = tfdf.keras.CartModel() outputs = Flatten()(initial_model(inputs)) model = Model(inputs=inputs, outputs=outputs) model.compile(loss='mse') ``` The above seems to work, although I get a warning printed: ``` Warning: The...
The original model definitely works as expected - it's a default model from TensorFlow Decision Forests and does indeed train and predict correctly. It looks like the warning is something...
I see. A while ago there was some talk about a Hana 2.0, with breaking changes. Is that still in the pipeline? If so, I imagine that would be a...
This is a little tricky as I'm using a compiler plugin which hides the real Clang invocation, but I'll do my best. All it takes is to include a header:...