From 2fde7921d420744a1897e059e3db1b7435412248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Gonz=C3=A1lez?= <pglez82@gmail.com>
Date: Fri, 11 Feb 2022 14:33:00 +0100
Subject: [PATCH] updating comments

I think this comments are not correct. Changing them
---
 quapy/data/base.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/quapy/data/base.py b/quapy/data/base.py
index a59d8d2..bbf8a8d 100644
--- a/quapy/data/base.py
+++ b/quapy/data/base.py
@@ -103,8 +103,8 @@ class LabelledCollection:
         """
         Returns an index to be used to extract a random sample of desired size and desired prevalence values. If the
         prevalence values are not specified, then returns the index of a uniform sampling.
-        For each class, the sampling is drawn without replacement if the requested prevalence is larger than
-        the actual prevalence of the class, or with replacement otherwise.
+        For each class, the sampling is drawn with replacement if the requested prevalence is larger than
+        the actual prevalence of the class, or without replacement otherwise.
 
         :param size: integer, the requested size
         :param prevs: the prevalence for each class; the prevalence value for the last class can be lead empty since
@@ -146,7 +146,7 @@ class LabelledCollection:
     def uniform_sampling_index(self, size):
         """
         Returns an index to be used to extract a uniform sample of desired size. The sampling is drawn
-        without replacement if the requested size is greater than the number of instances, or with replacement
+        with replacement if the requested size is greater than the number of instances, or without replacement
         otherwise.
 
         :param size: integer, the size of the uniform sample
@@ -174,7 +174,7 @@ class LabelledCollection:
     def uniform_sampling(self, size):
         """
         Returns a uniform sample (an instance of :class:`LabelledCollection`) of desired size. The sampling is drawn
-        without replacement if the requested size is greater than the number of instances, or with replacement
+        with replacement if the requested size is greater than the number of instances, or without replacement
         otherwise.
 
         :param size: integer, the requested size