-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring moscot to include moscot.neural #763
Comments
hi @MUCDK #778 should fix some of the items. I think the best order to do the rest are:
From what I see I'd need to update But I also have some questions:
|
Great, thanks, this makes sense. Does The dataloader in the MSc is similar to CellFlow right? Then that makes sense! Yes, once you start , @LeonStadelmann can help with tests! I think we can get rid of Second q: yes, all distributions are trained with the same neural network. |
yes
yes
Just so we are on the same page currently |
@MUCDK I have another question. Currently the prepare for NeuralOTProblem is like this @wrap_prepare
def prepare(
self,
policy_key: str,
policy: Policy_t,
xy: Mapping[str, Any],
xx: Mapping[str, Any],
conditions: Mapping[str, Any],
a: Optional[str] = None,
b: Optional[str] = None,
subset: Optional[Sequence[Tuple[K, K]]] = None,
reference: K = None,
**kwargs: Any,
) -> "NeuralOTProblem": I will update this. I currently don't know what def prepare(
self,
xy: Mapping[str, Any],
x: Mapping[str, Any],
x_flow: Mapping[str, Any],
x_aug: Mapping[str, Any],
y: Mapping[str, Any],
y_flow: Mapping[str, Any],
a: Optional[Union[bool, str, ArrayLike]] = None,
b: Optional[Union[bool, str, ArrayLike]] = None,
marginal_kwargs: Dict[str, Any] = types.MappingProxyType({}),
) -> "NeuralOTProblem":``` I also think it is better to rewrite GENOTLinSolver as a generalized |
|
We want to have a moscot.neural module which implements the discrete problems as equivalent neural problems. Therefore, we consecutively do the following steps:
GENOTLinProblem
to neural module Neural Updates: Move GENOTLinProblem, Update SolverOutput Class Hierarchy #778NeuralOTProblem
(currentlyCondOTProblem
, instead ofOTProblem
in discrete case), and theNeuralOutput
(instead of theOTTOutput
in discrete case), this can be adapted from the current implementation. Therefore, restructure the output into aBaseOutput
which is the parent class ofDiscreteOTOutput
andNeuralOTOutput
Neural Updates: Move GENOTLinProblem, Update SolverOutput Class Hierarchy #778moscot.neural.solvers in future times should include
GenotLin
,GenotQuad
,OTCFM
,start with
GenotLin
, because it's implemented already, and extend it toGenotQuad
.OTCFM
will be added later.The text was updated successfully, but these errors were encountered: