| Modifier and Type | Field and Description |
|---|---|
protected ThresholdAlgorithm |
EncodingHandler.initialThresholdAlgorithm |
protected ThresholdAlgorithm |
EncodedGradientsAccumulator.Builder.thresholdAlgorithm |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,ThresholdAlgorithm> |
EncodingHandler.allThreadThresholdAlgorithms |
protected ThreadLocal<ThresholdAlgorithm> |
EncodingHandler.thresholdAlgorithm |
| Modifier and Type | Method and Description |
|---|---|
ThresholdAlgorithm |
EncodingHandler.getAverageThresholdAlgorithm()
This should ONLY be called once all training threads have completed
|
| Modifier and Type | Method and Description |
|---|---|
EncodedGradientsAccumulator.Builder |
EncodedGradientsAccumulator.Builder.thresholdAlgorithm(ThresholdAlgorithm thresholdAlgorithm)
This method allows to set the ThresholdAlgorithm to be used for determining the threshold
|
| Constructor and Description |
|---|
EncodedGradientsAccumulator(int parties,
ThresholdAlgorithm thresholdAlgorithm,
ResidualPostProcessor residualPostProcessor,
boolean encodingDebugMode) |
EncodingHandler(ThresholdAlgorithm thresholdAlgorithm,
ResidualPostProcessor residualPostProcessor,
Integer boundary,
boolean encodingDebugMode) |
| Modifier and Type | Method and Description |
|---|---|
ThresholdAlgorithm |
ThresholdAlgorithm.clone() |
ThresholdAlgorithm |
ThresholdAlgorithmReducer.getFinalResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
ThresholdAlgorithmReducer.add(ThresholdAlgorithm instance)
Add a ThresholdAlgorithm instance to the reducer
|
| Modifier and Type | Class and Description |
|---|---|
class |
AdaptiveThresholdAlgorithm |
class |
FixedThresholdAlgorithm |
class |
TargetSparsityThresholdAlgorithm |
| Modifier and Type | Method and Description |
|---|---|
ThresholdAlgorithm |
FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer.getFinalResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer.add(ThresholdAlgorithm instance) |
Copyright © 2021. All rights reserved.