--- title: Axiom Autoencoder UNSW sdk: docker app_port: 7860 --- # Axiom Autoencoder UNSW-NB15 - 高維 log、行為壓縮與偵測 49 維特徵,使用 Autoencoder 壓縮與異常偵測。資料集 UNSW-NB15(HF datasets)。 ## API | 方法 | 路徑 | 說明 | |------|------|------| | GET | `/` | 根路徑 | | GET | `/health` | 健康檢查 | | POST | `/score` | 異常分數 | | POST | `/reload` | 重新下載模型 | | POST | `/train` | 觸發訓練 | | GET | `/train/status` | 訓練狀態 | ## curl ```bash BASE=https://dennislee928tw-axiom-autoencoder-unsw.hf.space curl $BASE/health curl -X POST $BASE/score -H "Content-Type: application/json" -d '{"tenant_id":"t1","device_id":"d1","features":[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]}' curl -X POST $BASE/train ```