autokeras icon indicating copy to clipboard operation
autokeras copied to clipboard

Support model.history for the exported model

Open hanzigs opened this issue 4 years ago • 3 comments

Keras Sequential model returns classes from

model.classes_

and history from

model.history.history['accuracy']
model.history.history['val_accuracy']
model.history.history['loss']
model.history.history['val_loss']

After export, is it possible to get these two

ExportedautoKeras_model = autoKeras_model.export_model()
ExportedautoKeras_model.classes_.tolist()

Thanks

hanzigs avatar Dec 21 '20 01:12 hanzigs

I am not sure. What do you see currently as the output of these?

haifeng-jin avatar Feb 11 '21 20:02 haifeng-jin

In StructuredDataClassifier model which is ExportedautoKeras_model does not support ExportedautoKeras_model.classes_ and does not have history, where as Keras model supports both, is it possible to get that in StructuredDataClassifier model

hanzigs avatar Feb 11 '21 22:02 hanzigs

Also keen for this, can't see it added anywhere as of yet

BenUCL avatar Mar 03 '23 17:03 BenUCL