-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from mkyl/experiment-cleanup
Experiment cleanup
- Loading branch information
Showing
16 changed files
with
103 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
run-cycle-experiments.jl → Experiments/Scripts/run-cycle-experiments.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Plots.PlotMeasures | ||
include("../Experiments.jl") | ||
|
||
datasets::Vector{DATASET} = [aids, human, yeast, wordnet, youtube, dblp, patents] | ||
max_paths = 60 | ||
experiment_params_list::Vector{ExperimentParams} = [ExperimentParams(dataset=current_dataset, partitioner=QuasiStable, inference_max_paths=current_paths) for current_dataset in datasets for current_paths in 2:10:max_paths] | ||
|
||
println("started building") | ||
build_experiments(experiment_params_list) | ||
println("started estimating") | ||
run_estimation_experiments(experiment_params_list) | ||
println("started graphing") | ||
graph_grouped_box_plot(experiment_params_list, x_type=dataset, y_type=estimate_error, grouping=inference_paths, filename="inferencesampling") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Plots.PlotMeasures | ||
include("../Experiments.jl") | ||
|
||
|
||
datasets::Vector{DATASET} = [aids, wordnet, lubm80, human] | ||
max_paths = 1000 | ||
experiment_params_list::Vector{ExperimentParams} = [ExperimentParams(dataset=current_dataset, partitioner=QuasiStable, summary_max_paths=current_paths) for current_dataset in datasets for current_paths in 0:200:max_paths] | ||
|
||
println("started building") | ||
build_experiments(experiment_params_list) | ||
println("started estimating") | ||
run_estimation_experiments(experiment_params_list) | ||
println("started graphing") | ||
graph_grouped_box_plot(experiment_params_list, x_type=dataset, y_type=error, grouping=summary_paths, filename="summarysamples") |
13 changes: 13 additions & 0 deletions
13
Experiments/Scripts/run-summary-sampling-with-query-type.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Plots.PlotMeasures | ||
include("../Experiments.jl") | ||
|
||
current_dataset = yeast | ||
max_paths = 300 | ||
|
||
experiment_params_list::Vector{ExperimentParams} = [ExperimentParams(dataset=current_dataset, partitioner=QuasiStable, summary_max_paths=current_paths) for current_paths in 10:30:max_paths] | ||
println("started building") | ||
build_experiments(experiment_params_list) | ||
println("started estimating") | ||
run_estimation_experiments(experiment_params_list) | ||
println("started graphing") | ||
graph_grouped_box_plot(experiment_params_list, x_type=query_type, y_type=estimate_error, grouping=summary_paths, filename="summarysamplesquerytypesyeast") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using Plots.PlotMeasures | ||
using Graphs | ||
include("../Experiments.jl") | ||
|
||
datasets::Vector{DATASET} = [wordnet] | ||
# datasets::Vector{DATASET} = [aids, human, yeast, wordnet, youtube, dblp, patents] | ||
# datasets::Vector{DATASET} = [aids, human, lubm80, yeast, hprd, wordnet, dblp, youtube, eu2005, patents] | ||
max_cycles = 6 | ||
proportions_not_updated = [0, 0.2, 0.4, 0.6, 0.8, 1] | ||
|
||
experiment_params_list::Vector{ExperimentParams} = [ExperimentParams(dataset=current_dataset, partitioner=QuasiStable, max_cycle_size=current_cycle, proportion_not_updated=current_proportion) | ||
for current_dataset in datasets for current_cycle in 2:max_cycles for current_proportion in proportions_not_updated] | ||
println("started building") | ||
build_experiments(experiment_params_list) | ||
println("started estimating") | ||
run_estimation_experiments(experiment_params_list) | ||
println("started graphing") | ||
# compare how overall accuracy is affected by summary updates | ||
# graph_grouped_box_plot(experiment_params_list, x_type=dataset, y_type=estimate_error, grouping=proportion_not_updated, filename="overall-accuracy-and-updates") | ||
# compare how cycle stat accuracies are affected by summary updates | ||
graph_grouped_box_plot(experiment_params_list, x_type=proportion_not_updated, y_type=estimate_error, grouping=cycle_size, filename="cycle-stats-and-updates") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.