We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecd47e9 commit 2804c3aCopy full SHA for 2804c3a
1 file changed
cebra/data/single_session.py
@@ -281,10 +281,22 @@ class MixedDataLoader(cebra_data.Loader):
281
positive_sampling: str = dataclasses.field(default="discrete_variable")
282
discrete_sampling_prior: str = dataclasses.field(default="uniform")
283
284
+ @property
285
+ def dindex(self):
286
+ warnings.warn("dindex is deprecated. Use discrete_index instead.",
287
+ DeprecationWarning)
288
+ return self.dataset.discrete_index
289
+
290
@property
291
def discrete_index(self):
292
return self.dataset.discrete_index
293
294
295
+ def cindex(self):
296
+ warnings.warn("cindex is deprecated. Use continuous_index instead.",
297
298
+ return self.dataset.continuous_index
299
300
301
def continuous_index(self):
302
return self.dataset.continuous_index
0 commit comments