Skip to content
Permalink
b5d861f404
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
68 lines (51 sloc) 1.62 KB
from enum import Enum
import socket
class Method(Enum):
PERFECT = 8
TRIVIAL = 0
# ORIGINAL = 1 #full ipd
SM_GREEDY_TOPK = 2
SM_HET_GREEDY_TOPK = 3
SM_BEST_FIRST = 4
SM_BEAM_SEARCH = 5
SM_HET_BEAM_SEARCH = 6
# PREDEFINED = 7 #subspaces up to optimal
PREDEFINED_SUBSPACESETS = 9
PREDEFINED_OPTIMAL_SUBSPACESET = 10
PREDEFINED_OPTIMAL_SUBSPACESET_AND_IRRELEVANT = 11
FULL = 12
class CorrelationMeasure(Enum):
UDS = 1
CMI = 2
MAC = 3
class DistanceMeasure(Enum):
ID = 1
CJS = 2
ID_THRESHOLD_QUANTILE = 0.3
ID_SLIDING_WINDOW = 40
NORMALIZATION_RADIUS = 1
FILE_DATA_OUTPUT = "out.arff"
FILE_DATA_CUTS = 'cut.txt'
FILE_NAME_PATTERN = '(?:.*/)*(.*)$'
# subspace mining parameters
MAX_SUBSPACE_SIZE = 5
HETEROGENEOUS_THRESHOLD=0.8
BEAM_WIDTH=4
# cjs
CLUMP = 2
MAXMAX = 5
SUBSPACE_SET_STEP = 2
# todo change later
IRRELEVANT_FEATURES = 4
BASE = '/local/tmp/ipd_extended_experiments2/' if socket.gethostname() == 'push' \
else '/Users/tatyanadembelova/Documents/study/thesis/ipd_extended/'
DATA_DIR = BASE + 'new_cubes/'
PERFECT_DISCRETIZATIONS_DIR = BASE + 'ideal_disc/'
PERFECT_SUBSPACES_JSON = BASE + 'ideal_subspaces.json'
SLIM_BASE = ("/Users/tatyanadembelova/Documents/study/thesis/" if socket.gethostname() != 'push' else BASE) + "code-fic/"
SLIM_DATA_DIR = SLIM_BASE + "data/"
SLIM_BIN = SLIM_BASE + "branches/slim/trunk/fic"
SLIM_COMPRESS_CONF = SLIM_BASE + "branches/slim/trunk/compress.conf"
SLIM_CONVERT_CONF = SLIM_BASE + "branches/slim/trunk/convertdb.conf"
PRECISION_RECALL_FILENAME = "Precision_recall_runtime.csv"
COMPRESSION_FILENAME = "Compression.csv"