def create_base_config(log_dir,	seed=123456789):
	"""
	Create the base configuration for the experiments.
	
	@param log_dir: The directory where this run should be created.
	
	@param seed: The random seed to use.
	
	@return: A dictionary containing the base configuration for the SP.
	"""
	
	return {
		'ninputs': 100,
		'trim': 1e-4,
		'disable_boost': True,
		'seed': seed,
		'pct_active': None,
		'random_permanence': True,
		'pwindow': 0.5,		
		'global_inhibition': True,		
		'ncolumns': 200,
		'nactive': 50,
		'nsynapses': 75,
		'seg_th': 15,
		'syn_th': 0.5,
		'pinc': 0.001,
		'pdec': 0.001,
		'nepochs': 10,
		'log_dir': log_dir
	}