p2pfl.learning.aggregators.fedxgbbagging moduleΒΆ

Federated XGBoost Bagging Aggregator.

class p2pfl.learning.aggregators.fedxgbbagging.FedXgbBagging(disable_partial_aggregation=False)[source]ΒΆ

Bases: TreeAggregator

Federated XGBoost Bagging Aggregator.

Inherits from TreeAggregator as this aggregator works with tree-based models (XGBoost) using bagging aggregation.

Implements bagging-based aggregation for XGBoost models in federated learning. Trees from different clients are combined into a single ensemble.

SUPPORTS_PARTIAL_AGGREGATIONΒΆ

Whether partial aggregation is supported.

Type:

bool

Parameters:

disable_partial_aggregation (bool)

SUPPORTS_PARTIAL_AGGREGATION: bool = TrueΒΆ
addr: strΒΆ
partial_aggregation: boolΒΆ