def _get_algorithm(self, algorithm_name):
try:<EOL><INDENT>algorithm = anomaly_detector_algorithms[algorithm_name]<EOL>return algorithm<EOL><DEDENT>except KeyError:<EOL><INDENT>raise exceptions.AlgorithmNotFound('<STR_LIT>' + str(algorithm_name) + '<STR_LIT>')<EOL><DEDENT>
Get the specific algorithm.
:param str algorithm_name: name of the algorithm to use(file name).
:return: algorithm object.