generated from drkostas/template_python_project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
quakers.yml
79 lines (79 loc) · 2.21 KB
/
quakers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
tag: dev # Required
#datastore: # All properties required
# - config:
# hostname: !ENV ${MYSQL_HOST}
# username: !ENV ${MYSQL_USERNAME}
# password: !ENV ${MYSQL_PASSWORD}
# db_name: !ENV ${MYSQL_DB_NAME}
# port: 3306
# type: mysql
spark:
- config:
spark.master: local[*] # Required
spark.submit.deployMode: client # Required
spark_warehouse_folder: data/spark-warehouse # Required
spark.ui.port: 4040
spark.driver.cores: 5
spark.driver.memory: 8g
spark.driver.memoryOverhead: 4096
spark.driver.maxResultSize: 0
spark.executor.instances: 2
spark.executor.cores: 3
spark.executor.memory: 4g
spark.executor.memoryOverhead: 4096
spark.sql.broadcastTimeout: 3600
spark.sql.autoBroadcastJoinThreshold: -1
spark.sql.shuffle.partitions: 4
spark.default.parallelism: 4
spark.network.timeout: 3600s
dirs:
df_data_folder: data/dataframes
spark_warehouse_folder: data/spark-warehouse
checkpoints_folder: data/checkpoints
communities_csv_folder: data/csv_data
input:
- config: # All properties required
name: Quakers
nodes:
path: data/input_graphs/Quakers/quakers_nodelist.csv2
has_header: true
delimiter: ','
encoding: ISO-8859-1
feature_names:
- id
- Historical_Significance
- Gender
- Birthdate
- Deathdate
- internal_id
edges:
path: data/input_graphs/Quakers/quakers_edgelist.csv2
has_header: true
has_weights: false
delimiter: ','
type: local
run_options: # All properties required
- config:
cached_init_step: false
feature_min_avg: 0.33
r_lvl1_thres: 0.50
r_lvl2_thres: 0.85
max_edge_weight: 0.50
betweenness_thres: 10
max_sp_length: 2
min_comp_size: 2
max_steps: 30
features_to_check:
- id
- Gender
output: # All properties required
- config:
logs_folder: data/logs
save_communities_to_csvs: false
visualizer:
dimensions: 3
save_img: true
folder: data/plots
steps:
# - 0
- -1 # The Last step