def stump_train(self, optional):
        X = self.X
        Y = self.Y
        w = self.weights

        # train the decision stump 
        feature_index, stump, best_threshold  = train_decision_stump(X, Y, w)
    
        # print optional for the homework
        if optional:
           print('Best Feature: ', feature_index)
	   print('Threshold: ', best_threshold )
 
        self.feature_index = feature_index
        self.stump = stump
Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
dataset/ETHPy150Open bt3gl/Advanced-Machine-Learning/adaboost/decision_stump.py/DecisionStump.stump_train--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/internal/clients/bigquery/bigquery_v2_client.py/BigqueryV2.JobsService.List