3b49ffd98696ad697cf2b9685e581459d51ea0b1,FeatureSelection.py,,,#,34

Before Change



//Usinng Word2Vec 
model = gensim.models.Word2Vec(X, size=100) // x be tokenized text
w2v = dict(zip(model.wv.index2word, model.wv.syn0))


class MeanEmbeddingVectorizer(object):
    def __init__(self, word2vec):

After Change


train_count = countV.fit_transform(DataPrep.train_news["Statement"].values)

print(countV)
print(train_count)

//print training doc term matrix
//we have matrix of size of (10240, 12196) by calling below
def get_countVectorizer_stats():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: nishitpatel01/Fake_News_Detection
Commit Name: 3b49ffd98696ad697cf2b9685e581459d51ea0b1
Time: 2017-12-03
Author: nkp3@illinois.edu
File Name: FeatureSelection.py
Class Name:
Method Name:


Project Name: nerox8664/pytorch2keras
Commit Name: 1cf4c73059ba4435f37a93a316edbd426263cbf0
Time: 2018-12-20
Author: nerox8664@gmail.com
File Name: pytorch2keras/converter.py
Class Name:
Method Name: pytorch_to_keras


Project Name: nishitpatel01/Fake_News_Detection
Commit Name: 95b8e2a603f66cc3091e3266a717c0f206be3e95
Time: 2017-12-03
Author: nkp3@illinois.edu
File Name: FeatureSelection.py
Class Name:
Method Name:


Project Name: deepinsight/insightface
Commit Name: 79aacd2bb3323fa50a125b828bb1656166604487
Time: 2021-01-27
Author: guojia@gmail.com
File Name: tools/onnx2caffe/onnx2caffe/_operators.py
Class Name:
Method Name: _convert_resize