def get_data_dict(self):
    ' Returns a nested dictionary containing all necessary data '
    return {'num_bits': self.num_bits, 'bitshift_scale': self.bitshift_scale, 'SVM': {'weights': self.classifier.coef_, 'weight_scale': self.scale_weight, 'bias': self.classifier.intercept_}, 'riemannian': self.riemannian.get_data_dict()}
Returns a nested dictionary containing all necessary data
def get_data_dict(self):
    '  '
    return {'num_bits': self.num_bits, 'bitshift_scale': self.bitshift_scale, 'SVM': {'weights': self.classifier.coef_, 'weight_scale': self.scale_weight, 'bias': self.classifier.intercept_}, 'riemannian': self.riemannian.get_data_dict()}