dd7c0adc26050d75334bd9ab1885d9d40f9a0113,libact/base/dataset.py,Dataset,format_sklearn,#Dataset#,70
Before Change
Unlabeled entries are ignored.
if self.modified:
l = list(zip(*self.labeled))
self.cache = (np.array(l[0]), np.array(l[1]))
self.modified = False
return self.cache
def get_labeled_entries(self):
After Change
Returns dataset in (X, y) format for use in scikit-learn.
Unlabeled entries are ignored.
return tuple(zip(*self.get_labeled_entries()))
def get_labeled_entries(self):
Returns list of labeled features and their labels
Format: [(feature, label), ...]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: ntucllab/libact
Commit Name: dd7c0adc26050d75334bd9ab1885d9d40f9a0113
Time: 2015-05-13
Author: lsc36x@gmail.com
File Name: libact/base/dataset.py
Class Name: Dataset
Method Name: format_sklearn
Project Name: pgmpy/pgmpy
Commit Name: b384268df66742de0bc92a13db162b8409dda730
Time: 2019-04-19
Author: ankurankan@gmail.com
File Name: pgmpy/readwrite/BIF.py
Class Name: BIFReader
Method Name: get_values
Project Name: ilastik/ilastik
Commit Name: e57b2c32833768c1f80d3c4e7f0c6e75c02e55dd
Time: 2015-02-05
Author: bergs@janelia.hhmi.org
File Name: lazyflow/utility/blockwise_view.py
Class Name:
Method Name: blockwise_view
Project Name: WZBSocialScienceCenter/tmtoolkit
Commit Name: 08633bd190028ad3cbe4c13b352b9efeae90f17e
Time: 2019-03-22
Author: markus.konrad@wzb.eu
File Name: tmtoolkit/topicmod/tm_gensim.py
Class Name: MultiprocEvaluationWorkerGensim
Method Name: fit_model