Client

interface Client

Abstract base class for Flower clients.

This interface defines the basic operations that a Flower client must implement.

Inheritors

Functions

Link copied to clipboard
abstract fun evaluate(ins: EvaluateIns): EvaluateRes

Evaluate the provided parameters using the locally held dataset.

Link copied to clipboard
abstract fun fit(ins: FitIns): FitRes

Refine the provided parameters using the locally held dataset.

Link copied to clipboard

Return the current local model parameters.

Link copied to clipboard

Return set of client’s properties.

Link copied to clipboard
abstract fun query(ins: QueryIns, context: Context): QueryRes

Handle arbitrary query from the server.