p2pfl.learning.frameworks.simulation.virtual_learner moduleΒΆ

Virtual Node Learner.

class p2pfl.learning.frameworks.simulation.virtual_learner.VirtualNodeLearner(learner)[source]ΒΆ

Bases: Learner

Decorator for the learner to be used in the simulation.

add_callback_info_to_model(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

evaluate(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

fit(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

get_data(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

get_framework(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

get_model(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

indicate_aggregator(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

interrupt_fit(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

set_addr(addr)[source]ΒΆ

Set the addr of the node.

Return type:

str

set_data(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

set_epochs(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

set_model(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

update_callbacks_with_model_info(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any