{"id":20838082,"url":"https://github.com/timcsy/dsai-hw2","last_synced_at":"2026-04-19T21:03:33.381Z","repository":{"id":187409651,"uuid":"485852646","full_name":"timcsy/DSAI-HW2","owner":"timcsy","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-16T03:42:23.000Z","size":3751,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T07:22:54.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timcsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-26T15:51:19.000Z","updated_at":"2022-05-16T03:42:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b0203ee-7ae5-4709-809a-932c4d0bb991","html_url":"https://github.com/timcsy/DSAI-HW2","commit_stats":null,"previous_names":["timcsy/dsai-hw2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timcsy/DSAI-HW2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timcsy%2FDSAI-HW2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timcsy%2FDSAI-HW2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timcsy%2FDSAI-HW2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timcsy%2FDSAI-HW2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timcsy","download_url":"https://codeload.github.com/timcsy/DSAI-HW2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timcsy%2FDSAI-HW2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32022561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T01:09:20.435Z","updated_at":"2026-04-19T21:03:33.328Z","avatar_url":"https://github.com/timcsy.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSAI-HW2\n\n安裝\n---\n```\npip install -r requirements.txt\n```\n\n執行\n---\n```\npython trader.py --training training_data.csv --testing testing_data.csv --output output.csv\n```\n\n心得\n---\n- 參考：[Stock predictions with state-of-the-art Transformer and Time Embeddings](https://towardsdatascience.com/stock-predictions-with-state-of-the-art-transformer-and-time-embeddings-3a4485237de6)\n- 使用 Transformer 來預測收益率曲線\n- 在訓練的時候常受到初始 weight 的影響，在一些時候訓練不太起來，但是在可以訓練起來的狀況下要到大約 30 epochs 才會開始收斂\n- Better use GPU to run the model","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimcsy%2Fdsai-hw2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimcsy%2Fdsai-hw2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimcsy%2Fdsai-hw2/lists"}