def __init__(self, X, row_ids, column_ids):
    self.X = np.asarray(X, dtype=np.float64)
    self._ca()
    self.row_ids = row_ids
    self.column_ids = column_ids
def __init__(self, X, row_ids, column_ids):
    self.X = np.asarray(X, dtype=np.float64)
    self._ca()
    self.row_ids = row_ids
    self.column_ids = column_ids