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

Apply the featured engineering to new data to make predictions? #1

Closed
chitown88 opened this issue Mar 10, 2020 · 9 comments
Closed
Labels
good first issue Good for newcomers

Comments

@chitown88
Copy link

I'm using the auto feature engineering feature to create the new_features then to train my model. Now that I have new data that I want to predict on, how would I go about to apply that process to my new data so that the trained model doesn't mismatch in its core dimensions with the new data?

@Muhammad4hmed
Copy link
Owner

Muhammad4hmed commented Mar 10, 2020

Hi, yes this an issue which will be resolved in next updates. for now, you have to make a seprate object of GML everytime you do training.

@Muhammad4hmed Muhammad4hmed added the good first issue Good for newcomers label Mar 10, 2020
@jason022085
Copy link

Hi,
When I doing "from GML.Ghalat_Machine_Learning import Ghalat_Machine_Learning"
There is a error AttributeError: module 'keras.backend.tensorflow_backend' has no attribute '_is_tf_1'
I have tried pip install --upgrade keras , but it's still not working.
Could you tell me which version of keras fit GML ,please ?

@Muhammad4hmed
Copy link
Owner

hi @jason022085, any latest version of keras should work.
have you tried upgrading GML?

@chitown88
Copy link
Author

It’s an issue with the latest version of Keras and tensorflow. Uninstall your Kera’s and then reinstall a previous version of Keras.

@chitown88
Copy link
Author

@jason022085 I had the same issue. You need to downgrade your Keras version.

@jason022085
Copy link

@jason022085 I had the same issue. You need to downgrade your Keras version.

Thanks a lots.
I use Keras==2.1.0 works
And I offer an information that keras==2.0.0 doesn't work with lastest GML.

@chitown88
Copy link
Author

@jason022085 so did that work? I’ll have to check my versions.

@Muhammad4hmed
Copy link
Owner

@chitown88 thank you for your contribution :) I will resolve this issue in next update :)

@jason022085
Copy link

jason022085 commented Mar 15, 2020

The classification demo document works in the following environment :
category_encoders==2.1.0
tensorflow==2.1.0
keras==2.3.1
GML==2.0.4

I think the core problem is not about the version of GML, but the specific version of keras corresponding to the lastest tensorflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants