def __check_parameters(self):
if (self.__amount <= <NUM_LIT:0>) or (self.__amount > len(self.__data)):<EOL><INDENT>raise AttributeError("<STR_LIT>" + str(self.__amount) + "<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>if self.__candidates != kmeans_plusplus_initializer.FARTHEST_CENTER_CANDIDATE:<EOL><INDENT>if (self.__candidates <= <NUM_LIT:0>) or (self.__candidates > len(self.__data)):<EOL><INDENT>raise AttributeError("<STR_LIT>" + str(self.__candidates) + "<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT><DEDENT>if len(self.__data) == <NUM_LIT:0>:<EOL><INDENT>raise AttributeError("<STR_LIT>")<EOL><DEDENT>
!
        @brief Checks input parameters of the algorithm and if something wrong then corresponding exception is thrown.