815a9afb26358230fc49704edbfbbeb048f55937,tests/nlu/featurizers/test_lexical_syntactic_featurizer.py,,test_text_featurizer_window_size,#Any#Any#Any#,78
Before Change
test_message.get(SPARSE_FEATURE_NAMES[TEXT]), scipy.sparse.coo_matrix
)
actual = test_message.get(SPARSE_FEATURE_NAMES[TEXT]).toarray()
assert np.all(actual[0] == expected)
assert np.all(actual[-1] == expected_cls)
After Change
featurizer.process(test_message)
actual = test_message.get_sparse_features(TEXT, [])
assert isinstance(actual, scipy.sparse.coo_matrix)
assert np.all(actual.toarray()[0] == expected)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: RasaHQ/rasa
Commit Name: 815a9afb26358230fc49704edbfbbeb048f55937
Time: 2020-06-05
Author: tabergma@gmail.com
File Name: tests/nlu/featurizers/test_lexical_syntactic_featurizer.py
Class Name:
Method Name: test_text_featurizer_window_size
Project Name: RasaHQ/rasa
Commit Name: 815a9afb26358230fc49704edbfbbeb048f55937
Time: 2020-06-05
Author: tabergma@gmail.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer
Project Name: RasaHQ/rasa
Commit Name: 815a9afb26358230fc49704edbfbbeb048f55937
Time: 2020-06-05
Author: tabergma@gmail.com
File Name: tests/nlu/featurizers/test_lexical_syntactic_featurizer.py
Class Name:
Method Name: test_text_featurizer
Project Name: RasaHQ/rasa
Commit Name: 815a9afb26358230fc49704edbfbbeb048f55937
Time: 2020-06-05
Author: tabergma@gmail.com
File Name: tests/nlu/featurizers/test_lexical_syntactic_featurizer.py
Class Name:
Method Name: test_text_featurizer_using_pos