fix: PCA centering in ingest#4208
Conversation
Signed-off-by: Intron7 <severin.dicks@icloud.com>
❌ 3 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Signed-off-by: Intron7 <severin.dicks@icloud.com>
| def fail_toarray(*args, **kwargs) -> None: | ||
| pytest.fail("PCA ingest must not densify the query matrix") | ||
|
|
||
| monkeypatch.setattr(type(adata_new.X), "toarray", fail_toarray) |
There was a problem hiding this comment.
a bit fragile, but I can’t think of a better way …
|
just add a relnote |
|
@flying-sheep already done. |
|
huh strange, I wouldn’t have said that If I had seen it. Sorry! |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Ingest centers its PCA against the query data not the fit data. I also made PCA sparse