()
| 28 | assert isinstance(text2mat(data, semantic=None, corpus=data)[0], np.ndarray) |
| 29 | |
| 30 | def test_text_model_params(): |
| 31 | assert isinstance(text2mat(data, semantic={ |
| 32 | 'model' : 'LatentDirichletAllocation', |
| 33 | 'params' : { |
| 34 | 'learning_method' : 'batch' |
| 35 | }} |
| 36 | , corpus=data)[0], np.ndarray) |
| 37 | |
| 38 | def test_vectorizer_params(): |
| 39 | assert text2mat(data, vectorizer={ |
nothing calls this directly
no test coverage detected