def __init__(self, name, parameters, directory="<STR_LIT:.>", tag_prefix="<STR_LIT>", description=None):
<EOL>self.__experiment_name = name + "<STR_LIT:@>" + time.strftime("<STR_LIT>") + '<STR_LIT:.>' + str(random.randint(<NUM_LIT:0>, <NUM_LIT:100>))<EOL>self.__results_recorded = False<EOL>self.__repository_directory = directory<EOL>if tag_prefix[-<NUM_LIT:1>] != '<STR_LIT:/>':<EOL><INDENT>tag_prefix += '<STR_LIT:/>'<EOL><DEDENT>self.__tag_name = tag_prefix + self.__experiment_name<EOL>self.__parameters = parameters<EOL>self.__description = description<EOL>
Start logging a new experiment.
:param name: the name of the experiment
:type name: str
:param parameters: a dictionary with all the parameters of the experiment.
:type parameters: dict
:param directory: a string of the directory of the git repository, where the experiment will be logged.
:type directory: str
:param tag_prefix: the prefix of the "folder" where the experiment-related tags will be placed
:type tag_prefix: str