<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clarans(cls, number_clusters, num_local, max_neighbour):
 """ Constructor of the CLARANS clustering.rst algorithm :param number_clusters: the number of clusters to be allocated :param num_local: the number of local minima obtained (amount of iterations for solving the problem). :param max_neighbour: the number of local minima obtained (amount of iterations for solving the problem). :return: the resulting clustering.rst object """

        model = clarans(None, number_clusters, num_local, max_neighbour)
        return cls(model)