コード例 #1
0
def load_and_run(regions=True, towns=True):
	if regions:
		load_regions()

	if towns:
		load_towns()

	data = get_relocation_information_as_ndarray()
	random_forests.run_and_validate(data=data, withhold=10000)
コード例 #2
0
    def OFFLINE_test_model_true_correct(self):
        """
		Incomplete
		:return:
		"""
        model, x_validate, y_validate, percent_incorrect_y = random_forests.run_and_validate(
            self.records)
コード例 #3
0
def run_model():
	data = get_relocation_information_as_ndarray()
	random_forests.run_and_validate(data=data, withhold=10000)
コード例 #4
0
	def OFFLINE_test_model_true_correct(self):
		"""
		Incomplete
		:return:
		"""
		model, x_validate, y_validate, percent_incorrect_y = random_forests.run_and_validate(self.records)