0333e7fb4fa21eb572f3cc8029f7b150804bec89,qanta/guesser/classify/learn_classifiers.py,,compute_recall_accuracy,#,15
Before Change
def compute_recall_accuracy():
d = 300
val_qs = pickle.load(open("data/deep/devtest", "rb"))
(W, b, W2, b2, W3, b3, L) = pickle.load(open("data/deep/params", "rb"))
classifier = pickle.load(open("data/deep/classifier", "rb"))
recall = 0
accuracy = 0
After Change
def compute_recall_accuracy():
d = 300
with open("data/deep/devtest", "rb") as f:
val_qs = pickle.load(f)
with open("data/deep/params", "rb") as f:
(W, b, W2, b2, W3, b3, L) = pickle.load(f)
with open("data/deep/classifier", "rb") as f:
classifier = pickle.load(f)
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 8
Instances
Project Name: Pinafore/qb
Commit Name: 0333e7fb4fa21eb572f3cc8029f7b150804bec89
Time: 2016-07-17
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/classify/learn_classifiers.py
Class Name:
Method Name: compute_recall_accuracy
Project Name: librosa/librosa
Commit Name: 1c070625a4d30658f50a937b797eea522ff4ecda
Time: 2013-12-31
Author: brm2132@columbia.edu
File Name: librosa/chords.py
Class Name:
Method Name: load_model
Project Name: NervanaSystems/nlp-architect
Commit Name: bd730110d3f1e0c34221aae142fd6f38b2a25faa
Time: 2019-04-01
Author: daniel.korat@intel.com
File Name: nlp_architect/data/intent_datasets.py
Class Name: SNIPS
Method Name: _load_intents
Project Name: fxsjy/jieba
Commit Name: 7f3513edb79497d58f97c5f7d12927fc4f8490ca
Time: 2014-04-23
Author: jagt@live.com
File Name: jieba/__init__.py
Class Name:
Method Name: initialize
Project Name: undertheseanlp/underthesea
Commit Name: 86c12a45517449229954229425a91190ecb3a9be
Time: 2017-08-24
Author: brother.rain.1024@gmail.com
File Name: underthesea/dictionary/__init__.py
Class Name: Dictionary
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 0aa1d571024139fd3075d37f52d65cb046f221b6
Time: 2019-03-07
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/keras_unittest.py
Class Name: TestKerasClassifier
Method Name: test_pickle
Project Name: biolab/orange3
Commit Name: f14d388803a36e94bfc1341119cb2858ae313718
Time: 2016-11-18
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/classify/owloadclassifier.py
Class Name: OWLoadClassifier
Method Name: load
Project Name: brian-team/brian2
Commit Name: 137a37292e327cf304777b3fd9721dd772ad775e
Time: 2017-10-24
Author: teo@zifeo.com
File Name: dev/tools/run_speed_tests.py
Class Name:
Method Name:
Project Name: nilmtk/nilmtk
Commit Name: 1f32f952d84f0d44fcfe03367d3834d2464b63a0
Time: 2018-04-22
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/disaggregate/combinatorial_optimisation.py
Class Name: CombinatorialOptimisation
Method Name: import_model