4b83c1070cebd0d996ba2cc69779dcb66d5d0032,autokeras/classifier.py,ClassifierBase,predict,#ClassifierBase#Any#,205

Before Change


            init = tf.global_variables_initializer()
            sess.run(init)
            backend.set_session(sess)
        model = self.load_searcher().load_best_model()
        return self.y_encoder.inverse_transform(model.predict(x_test, ))

    def summary(self):
        Print the summary of the best model.

After Change


            init = tf.global_variables_initializer()
            sess.run(init)
            backend.set_session(sess)
        model = self.load_searcher().load_best_model().produce_model()
        return self.y_encoder.inverse_transform(model.predict(x_test, ))

    def summary(self):
        Print the summary of the best model.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keras-team/autokeras
Commit Name: 4b83c1070cebd0d996ba2cc69779dcb66d5d0032
Time: 2018-05-29
Author: jhfjhfj1@gmail.com
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: predict


Project Name: keras-team/autokeras
Commit Name: 7f30b2403fadc4eaad48ceaf6154a626f477f8c8
Time: 2018-05-26
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: cross_validate


Project Name: keras-team/autokeras
Commit Name: 4b83c1070cebd0d996ba2cc69779dcb66d5d0032
Time: 2018-05-29
Author: jhfjhfj1@gmail.com
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: cross_validate


Project Name: keras-team/autokeras
Commit Name: 7f30b2403fadc4eaad48ceaf6154a626f477f8c8
Time: 2018-05-26
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: predict