Config¶
-
class
config.config[source]¶ Class that defines the experiment configuration.
-
poi_fpath¶ Path to csv file containing train pois
- Type
str
-
experiments_path¶ Path to folder that stores the experiments
- Type
str
-
supported_adjacency_features¶ List of the supported adjacency features to choose from
- Type
list
-
supported_textual_features¶ List of the supported textual features to choose from
- Type
list
-
included_adjacency_features¶ List of the adjacency features to be included in the experiment
- Type
list
-
included_textual_features¶ List of the textual features to be included in the experiment
- Type
list
-
normalized_features¶ List of features to be normalized
- Type
list
-
classes_in_radius_thr¶ Parameter space for ‘classes_in_radius_bln’ and ‘classes_in_radius_cnt’ features
- Type
list
-
classes_in_street_and_radius_thr¶ Parameter space for ‘classes_in_street_and_radius_bln’ and ‘classes_in_street_and_radius_cnt’ features
- Type
list
-
classes_in_neighbors_thr¶ Parameter space for ‘classes_in_neighbors_bln’ and ‘classes_in_neighbors_cnt’ features
- Type
list
-
top_k_terms_pct¶ Parameter space for ‘top_k_terms’ feature
- Type
list
-
top_k_trigrams_pct¶ Parameter space for ‘top_k_trigrams’ feature
- Type
list
-
top_k_fourgrams_pct¶ Parameter space for ‘top_k_fourgrams’ feature
- Type
list
-
n_folds¶ The number of folds in the experiment
- Type
int
-
supported_classifiers¶ List of the supported classifiers to choose from
- Type
list
-
included_classifiers¶ List of the classifiers to be included in the experiment
- Type
list
-
NaiveBayes_hyperparameters¶ Parameters search space for Naive Bayes classifier
- Type
dict
-
kNN_hyperparameters¶ Parameters search space for Nearest Neighbors classifier
- Type
dict
-
LogisticRegression_hyperparameters¶ Parameters search space for Logistic Regression classifier
- Type
dict
-
SVM_hyperparameters¶ Parameters search space for SVM classifier
- Type
list
-
MLP_hyperparameters¶ Parameters search space for MLP classifier
- Type
dict
-
DecisionTree_hyperparameters¶ Parameters search space for Decision Tree classifier
- Type
dict
-
RandomForest_hyperparameters¶ Parameters search space for Random Forest classifier
- Type
dict
-
top_k¶ List of different k, in order to measure top-k-accuracy
- Type
list
-
k_preds¶ Number of top predictions to take into consideration
- Type
int
-
osm_crs¶ The EPSG crs code that OSM uses
- Type
int
-
id_col¶ Column name referring to poi’s id
- Type
str
-
name_col¶ Column name referring to poi’s name
- Type
str
-
label_col¶ Column name referring to poi’s label
- Type
str
-
lon_col¶ Column name referring to poi’s longitude
- Type
str
-
lat_col¶ Column name referring to poi’s latitude
- Type
str
-
poi_crs¶ The EPSG crs code used in the pois csv file
- Type
int
-