Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"classif.kerascnn" Feature Types Errors #54

Open
MinWLi opened this issue Dec 19, 2022 · 0 comments
Open

"classif.kerascnn" Feature Types Errors #54

MinWLi opened this issue Dec 19, 2022 · 0 comments

Comments

@MinWLi
Copy link

MinWLi commented Dec 19, 2022

Description

Hi, I was confused with when using "classif.kerascnn" method the "Feature Types" is "-". And the error is not supporting numeric feature type when training the learner.

The following is a demonstration:

Reproducible example

> lrn = lrn("classif.kerascnn")
> lrn
<LearnerClassifKeras:classif.keras>
* Model: -
* Parameters: epochs=100, callbacks=<list>, validation_split=0.3333,
  batch_size=128, low_memory=FALSE, verbose=0, application=<function>,
  optimizer=<keras.optimizer_v2.adam.Adam>, loss=categorical_crossentropy,
  metrics=accuracy, cl_layer_units=1024, output_activation=softmax,
  unfreeze_n_last_layers=5, validation_fraction=0.2
* Packages: mlr3, keras
* Predict Types:  [response], prob
* Feature Types: -
* Properties: multiclass, twoclass
>lrn$train(tsk("iris"))
Error: <TaskClassif:iris> has the following unsupported feature types: numeric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant