d459e65b8f5a2ff69f493395dacd5f22b6b761c0,snips_nlu/intent_classifier/snips_intent_classifier.py,SnipsIntentClassifier,fitted,#SnipsIntentClassifier#,24
Before Change
@property
def fitted(self):
return check_is_fitted(self.clf, "t_")
def fit(self, dataset):
(queries, y), alpha, self.intent_list = augment_dataset(dataset, self.language)
After Change
@property
def fitted(self):
return self.intent_list is not None
@property
def is_empty(self):
return len(self.intent_list) == 0
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: snipsco/snips-nlu
Commit Name: d459e65b8f5a2ff69f493395dacd5f22b6b761c0
Time: 2017-03-28
Author: alice.coucke@gmail.com
File Name: snips_nlu/intent_classifier/snips_intent_classifier.py
Class Name: SnipsIntentClassifier
Method Name: fitted
Project Name: sebp/scikit-survival
Commit Name: 07237eafea86309036a6043b0041f606573bdaf7
Time: 2020-06-27
Author: sebp@k-d-w.org
File Name: sksurv/tree/tree.py
Class Name: SurvivalTree
Method Name: predict_cumulative_hazard_function
Project Name: sebp/scikit-survival
Commit Name: 07237eafea86309036a6043b0041f606573bdaf7
Time: 2020-06-27
Author: sebp@k-d-w.org
File Name: sksurv/tree/tree.py
Class Name: SurvivalTree
Method Name: predict_survival_function
Project Name: dmbee/seglearn
Commit Name: 1d1b36f28b5c8fc06eacec6e7a4342987e7da03b
Time: 2018-07-27
Author: david.mo.burns@gmail.com
File Name: seglearn/pipe.py
Class Name: SegPipe
Method Name: transform