Fusilli v1.1.0
Fusilli v1.1.0 Release Notes
It's time for a FusilliFaceliftTM!
There's been a couple changes this time around - but hopefully all to make the user experience that little bit better.
The most comprehensive change is that now you input your parameters into the data, training, and evaluation functions as is, instead of having to put them in a dictionary first.
So for example, instead of:
params = {'batch_size': 8}
prepare_fusion_data(params)
You would do:
prepare_fusion_data(batch_size=8)
This means that there are more arguments to input overall 😅 but it should be easier to see what Fusilli doing and easier to set up your experiments. 😍
Major Changes
- Function Update:
- Renamed
get_data_module
toprepare_fusion_data
for enhanced clarity.
- Renamed
- Parameter Handling:
- Fusilli now requires separate parameter input instead of a dictionary.
- This boosts code transparency and simplifies bug tracking.
- Specifying input data paths:
- Input file paths should be put in a dictionary with keys "tabular1", "tabular2", and "image"
- This is passed into
prepare_fusion_data
- Handling External Data:
- To incorporate external data, create a dictionary of file paths akin to the input testing data.
- Pass these paths into the
.from_new_data
methods within the evaluation figure classes.
- Directory Management:
- Input/output directory paths are now organized within a dictionary.
- Keys: "checkpoints", "figures", and “losses”.
- Training loss figures will be saved in a subdirectory named “losses” within the user-specified figures directory.
- Column Name Requirements in Tabular Data:
- Tabular data must now contain columns named “ID” and “prediction_label” in each row (previously: "study_id" and "pred_label").
Minor Changes
- MCVAE Early Stopping:
- Adjust early stopping criteria in MCVAE using keyword arguments "mcvae_patience" and "mcvae_tolerance" passed to
prepare_fusion_data
.
- Adjust early stopping criteria in MCVAE using keyword arguments "mcvae_patience" and "mcvae_tolerance" passed to
- Weights and Biases Logging:
- Enable logging with Weights and Biases using the "wandb_logging" argument in
train_and_save_models
.
- Enable logging with Weights and Biases using the "wandb_logging" argument in
Documentation Update
- Added an example notebook illustrating how to integrate external data with Fusilli.
For comprehensive guidance and examples, please refer to the updated documentation! 📖✨