GithubHelp home page GithubHelp logo

omnitransfer's Introduction

0.Installation

  • Python == 3.7.13
  • pip install -r requirements.txt
  • Notices: when testing GDN, the environment configuration is as flowing
    • Python ==3.6.13
    • pip install -r requirements_gdn.txt

1.MTS clustering

python code/cluster/cluster.py --data_type=[model_name(data1 or data2)]

eg:python code/cluster/cluster.py --data_type=data1

2.Anomaly Detection

./run.sh [model_name] [data_type] [out_dir]
# eg: ./run.sh TranAD data2 1224

3.adaptive transfer

Modify the parameters passed in by the adaptive transfer script (data_type, use_center_dir_path, finetunue_all_path, freeze_rnn_path) to get the final results.

python code/transfer_eval.py --data_type=[data_type] --model_name=[model_name] --use_center_dir_path=[use_center_file_dir_path] --finetunue_all_path=[finetune_all_csv_path] --freeze_init_path=[freeze_init_csv_path]

#eg:  code/python transfer_eval.py --data_type=data2 --use_center_dir_path=1011/TranAD/data2/use_center_20nodes_1iwi_0.01clip_1l_8dim_1daytrain_0.0005lr_100epoch_256bs_60ws_0.95eps --finetunue_all_path=1011/TranAD/data2/finetune_all_20nodes_1iwi_0.01clip_1l_8dim_1daytrain_0.0001lr_10epoch_256bs_60ws_0.95eps/evaluation_result/bf_machine_best_f1_g.csv --freeze_init_path=1011/TranAD/data2/freeze_att_init_last_2step_20nodes_1iwi_0.01clip_1l_8dim_1daytrain_0.0001lr_20epoch_256bs_60ws_0.95eps/evaluation_result/bf_machine_best_f1_g.csv --model_name=TranAD

omnitransfer's People

Contributors

liangminghan0228 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.