jingconan / GAD

General Anomaly Detector
GNU General Public License v3.0
8 stars 2 forks source link

Separate the configuration of experiment and detector #9

Open jingconan opened 9 years ago

jingconan commented 9 years ago

Right now the config file (both json and python version) has the following format.

it contains a DETECTOR_DESC that contains all the configs. The config of experiment is also specified in DETECTOR_DESC, which doesn't sounds reasonable.

I need to refactor the config to separate the config for experiment and the config for detector.

jingconan commented 9 years ago

The desc for experiment is loaded in Detect.init. The desc for detector is loaded in Detect.detect() the desc is passed to detector directly.