We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6af021f commit 8af5b0eCopy full SHA for 8af5b0e
1 file changed
cebra/data/single_session.py
@@ -274,10 +274,22 @@ class MixedDataLoader(cebra_data.Loader):
274
positive_sampling: str = dataclasses.field(default="discrete_variable")
275
discrete_sampling_prior: str = dataclasses.field(default="uniform")
276
277
+ @property
278
+ def dindex(self):
279
+ warnings.warn("dindex is deprecated. Use discrete_index instead.",
280
+ DeprecationWarning)
281
+ return self.dataset.discrete_index
282
+
283
@property
284
def discrete_index(self):
285
return self.dataset.discrete_index
286
287
288
+ def cindex(self):
289
+ warnings.warn("cindex is deprecated. Use continuous_index instead.",
290
291
+ return self.dataset.continuous_index
292
293
294
def continuous_index(self):
295
return self.dataset.continuous_index
0 commit comments