0.44.0rc3
Pre-release
Pre-release
0.44.0rc3
Added
- Add documentation on how to change SubstraFL log level (#194)
- Add the
simulate_experimentfunction, that will execute theCompute Planin RAM only. It returns Python objects containing the computedPerformancesand the saved intermediateStates. More information about this feature is available in docstrings (#184).
Example of usage:
from substrafl.experiment import simulate_experiment
scores, intermediate_state_train, intermediate_state_agg = simulate_experiment(
client=my_substra_client,
strategy=my_strategy,
train_data_nodes=train_data_nodes,
evaluation_strategy=my_eval_strategy,
aggregation_node=aggregation_node,
clean_models=False,
num_rounds=NUM_ROUNDS,
)Changed
- BREAKING: rename
datasamplestodata_from_opener(#193) - Bump documentation dependencies to Sphinx 7.2.6 (#195)
- The predict task does not exist anymore. The evaluation of a model is done in a single task #177
Strategyimplement anevaluatemethod, with the@remote_datadecorator, to compute the evaluation of the model. Theevaluatemethod is the same for all strategies #177- BREAKING: the
perform_predictmethod ofStrategychanged in favor ofperform_evaluationthat calls the newevaluatemethod #177 - BREAKING:
metric_functionsare now passed to theStrategyinstead of theTestDataNode#177 - BREAKING: the
predictmethod ofAlgohas no@remote_datadecorator anymore. It signatures does not takeprediction_pathanymore, and the predictions are return by the method #177 - Abstract base class
Nodeis replaced byProtocols, defined insubstrafl.nodes.protocol.py(#185) - BREAKING: rename
test_data_sample_keys,test_tasksandregister_test_operations,taskstodata_sample_keysandregister_operationsinTestDataNodes(#185) - BREAKING:
InputIdentifiersandOutputIdentifiersmove fromsubstrafl.nodes.nodetosubstrafl.nodes.schemas(#185) - Switch to python-slim as base image, instead of substra-tools (#197)
- Dropped support for Python 3.8
Fixed
- Numerical stability of the
NewtonRaphsonstrategy is improved by symmetrizing the Hessian