(document_embeddings)
| 27 | |
| 28 | @pytest.fixture(scope="session") |
| 29 | def reduced_embeddings(document_embeddings): |
| 30 | reduced_embeddings = UMAP(n_neighbors=10, n_components=2, min_dist=0.0, metric="cosine").fit_transform( |
| 31 | document_embeddings |
| 32 | ) |
| 33 | return reduced_embeddings |
| 34 | |
| 35 | |
| 36 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected