d68beca6f553622b92f2709cf984023dbf284e98,core/intentClassifier.py,IntentClassifier,__init__,#IntentClassifier#,15

Before Change


                    trainLabels.append([str(story.id)])
            else:
                continue
        self.Y = self.lb.fit_transform(trainLabels)

    def train(self):
        trainFeatures = []
        for labeledSentence in self.labeledSentences:

After Change


            raise Exception("NO_DATA")
        trainLabels = []
        self.labeledSentences = []
        self.trainLabels = []
        self.PATH = "models/intent.model"
        for story in stories:
            labeledSentencesTemp = story.labeledSentences
            if not isListEmpty(labeledSentencesTemp):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: d68beca6f553622b92f2709cf984023dbf284e98
Time: 2016-12-23
Author: alfred.francis@pearldatadirect.com
File Name: core/intentClassifier.py
Class Name: IntentClassifier
Method Name: __init__


Project Name: alexandrebarachant/pyRiemann
Commit Name: 046eb11cc615c3232b93821c78895152bad2159a
Time: 2017-06-14
Author: pedro.rodrigues01@gmail.com
File Name: examples/ERP/plot_embedding_EEG.py
Class Name:
Method Name:


Project Name: scikit-learn/scikit-learn
Commit Name: f4cd388569dca52e0af7b4a0d83cd87072be6c76
Time: 2020-07-10
Author: g.lemaitre58@gmail.com
File Name: examples/neural_networks/plot_mlp_alpha.py
Class Name:
Method Name:


Project Name: KrishnaswamyLab/PHATE
Commit Name: c71dea1c929f08d290142f50679a06303eb5bd9c
Time: 2018-05-30
Author: scottgigante@gmail.com
File Name: Python/phate/mds.py
Class Name:
Method Name: embed_MDS


Project Name: scikit-learn/scikit-learn
Commit Name: 6f33c5ccb42043c28d390f5ff08cff9317060bc8
Time: 2020-05-26
Author: jliu176@gmail.com
File Name: sklearn/neural_network/tests/test_mlp.py
Class Name:
Method Name: