theislab / theislab/CellFlow

adapting `_validation_step`

Open
#199 0 comments 0 reactions 1 assignee View on GitHub

@LeonStadelmann is already working on this.

Since Apr 4, 2025.

enhancement
Dominant language
Python
Stars
159
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Description of feature

There are two modifications which we need

  1. we want to be able to pass kwargs to the solver as in predict. as we want to need them in every validatino iteration, we need to pass them once in prepare_validation_data, and then save them as attributes in the CellFlowTrainer
  2. we want to pass the model to ComputationCallback, such that people can do predictions themselves, i.e. in addition to x_true, and x_predicted (in most cases this will just be absorped/ignored, e.g. in the ComputationCallback)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.