(self, reduction=Reductions.SQUARED_EUCLIDEAN,
accuracy=Accuracy.MEDIUM)
| 399 | class Encoder(object): |
| 400 | |
| 401 | def __init__(self, reduction=Reductions.SQUARED_EUCLIDEAN, |
| 402 | accuracy=Accuracy.MEDIUM): |
| 403 | self._enc_bytes = _acc_to_nbytes[accuracy] |
| 404 | self.reduction = reduction |
| 405 | |
| 406 | def _preproc(self, X): |
| 407 | # TODO rows of X also needs to have variance >> 1 to avoid |
nothing calls this directly
no outgoing calls
no test coverage detected