Skip to content

ZhangWan-byte/Internal_Solitary_Wave_Localization

Repository files navigation

Internal Solitary Wave Localization

Code Usage

Run experiments using codes below:

python data_process.py
python training_testing.py

Run pretraining experiments using codes below:

python data_process.py
python pretraining.py
python training_testing.py

There are demo codes in above scripts on how to conduct experiments with different settings. You can modify specific parameters such as oversampling techniques, learning rate, model type, pretraining model, etc. Parameters are as following:

data_process.py

  • data_shape: "1x96"/"16x16x1"
  • oversampling: ""/"oversample"/"SMOTE"/"BorderlineSMOTE"/"ADASYN"

pretraining.py

  • epochs
  • batch_size
  • lr
  • temperature
  • projection_dim
  • n_features

training_testing.py

  • model_name: "RF"/"LGB"/"MLP"/"ResNet"/"BoTNet"
  • data_shape: "1x96"/"16x16x1"
  • oversampling: ""/"oversample"/"SMOTE"/"BorderlineSMOTE"/"ADASYN"
  • loss_func: "CE"/"weightedLoss"/"FocalLoss"
  • lr
  • epoch
  • batch_size

Reference

About

Internal Solitary Wave Localization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published