HF RL Explorer

Fix/mlp embedding

Fix/mlp embedding: a task in life-science-SWE1.0 (Harbor dataset). This pull request refactors the MLP model in pyhealth/models/mlp.py to simplify and centralize the embedding logic by introducing the new EmbeddingModel class. The changes improve maintainability and make the handling of different…

The task

This pull request refactors the `MLP` model in `pyhealth/models/mlp.py` to simplify and centralize the embedding logic by introducing the new `EmbeddingModel` class. The changes improve maintainability and make the handling of different input types more consistent and modular.

Part of scalingX/life-science-SWE1.0.