Skip to content

Commit

Permalink
Checkpoint before changing the organization
Browse files Browse the repository at this point in the history
Tereso del Rio committed Sep 18, 2023
1 parent ecbc7e6 commit b1a0475
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main_heuristics.py
Original file line number Diff line number Diff line change
@@ -98,7 +98,8 @@ def choose_gmods(features):
# metrics = compute_metrics(chosen_indices,
# testing_dataset['labels'],
# testing_dataset['timings'],
# testing_dataset['cells'])
# testing_dataset['cells'],
# heuristic)
# if len(sum_metrics) == 0:
# sum_metrics = metrics
# else:
2 changes: 1 addition & 1 deletion train_models.py
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ def train_reinforcement_model(ml_model, method='Normal'):
model = current_model()
first_polys = train_dataset['projections'][0][0][0]
first_features = get_vars_features(first_polys)
first_labels = [random.random() for _ in range([len(first_features)])]
first_labels = [random.random() for _ in range(len(first_features))]
model.fit(first_features, first_labels)
training_features, training_labels = [], []
for i in range(30):

0 comments on commit b1a0475

Please sign in to comment.