def __init__(self, session=None):
<EOL>self.verbose = True<EOL>self.task = "<STR_LIT>"<EOL>self.session = session<EOL>self.practice_repeats = <NUM_LIT:0><EOL>self.experiment_repeats = <NUM_LIT:0><EOL>self.quorum = <NUM_LIT:0><EOL>self.initial_recruitment_size = <NUM_LIT:1><EOL>self.known_classes = {<EOL>"<STR_LIT>": Agent,<EOL>"<STR_LIT>": Compression,<EOL>"<STR_LIT>": Environment,<EOL>"<STR_LIT>": Gene,<EOL>"<STR_LIT>": Info,<EOL>"<STR_LIT>": Meme,<EOL>"<STR_LIT>": Mutation,<EOL>"<STR_LIT>": Node,<EOL>"<STR_LIT>": Replication,<EOL>"<STR_LIT>": Response,<EOL>"<STR_LIT>": Source,<EOL>"<STR_LIT>": State,<EOL>"<STR_LIT>": Transformation,<EOL>}<EOL>if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>self.public_properties = {}<EOL><DEDENT>if session:<EOL><INDENT>self.configure()<EOL><DEDENT>try:<EOL><INDENT>location = type(self).__module__<EOL>parent, experiment_module = location.rsplit("<STR_LIT:.>", <NUM_LIT:1>)<EOL>module = import_module(parent + "<STR_LIT>")<EOL><DEDENT>except (ImportError, ValueError):<EOL><INDENT>try:<EOL><INDENT>from .jupyter import ExperimentWidget<EOL>self.widget = ExperimentWidget(self)<EOL><DEDENT>except ImportError:<EOL><INDENT>self.widget = None<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.widget = module.ExperimentWidget(self)<EOL><DEDENT>
Create the experiment class. Sets the default value of attributes.