This commit is contained in:
sit002 2026-01-09 15:44:03 +08:00
parent 82368fb12f
commit bc37bbcdff

View File

@ -366,17 +366,6 @@ __pycache__/
*.pyo
.pytest_cache/
# ===== 大数据文件 =====
data/*.csv
data/*.parquet
data/*.xlsx
*.zip
# ===== 模型文件(通常很大)=====
models/*.pkl
models/*.joblib
*.h5
# ===== IDE 配置 =====
.vscode/
.idea/
@ -387,8 +376,17 @@ models/*.joblib
# ===== Jupyter =====
.ipynb_checkpoints/
# ===== 超大文件(超过 10MB 需手动添加)=====
# 如果你的数据或模型文件超过 10MB请在下面添加
# data/large_dataset.csv
# models/large_model.pkl
```
> 💡 **关于 data/ 和 models/ 文件**
> - **默认应该提交**,方便教师机直接运行
> - 如果单个文件 **超过 10MB**,请添加到 `.gitignore` 并在 `data/README.md` 中说明下载方式
### 检查 .gitignore 是否生效
```bash
@ -405,17 +403,25 @@ git commit -m "chore: 移除不应提交的文件"
## 作业提交流程
### 1. 注册账号
### 1. 账号信息
访问 [hblu.top:3000](http://hblu.top:3000/Python2025-CourseDesign),使用**真实姓名**或**学号**注册。
账号已统一创建,请登录 [hblu.top:3000/MachineLearning2025](http://hblu.top:3000/MachineLearning2025)
| 项目 | 说明 |
|------|------|
| **用户名** | `st` + 学号(如 `st2024001` |
| **初始密码** | `12345678`(请登录后修改) |
| **组织** | MachineLearning2025 |
> ⚠️ **首次登录后请立即修改密码**
### 2. 组长创建仓库
命名格式:`组号-项目名称`(如 `G01-ChurnPredictor`
在 [MachineLearning2025](http://hblu.top:3000/MachineLearning2025) 组织下创建新仓库,命名格式:`组号-项目名称`(如 `G01-ChurnPredictor`
### 3. 添加组员
Settings → Collaborators → 添加其他组员
Settings → Collaborators → 添加其他组员(使用 `st+学号` 搜索)
### 4. 提交检查清单
@ -448,7 +454,7 @@ Settings → Collaborators → 添加其他组员
1. **教师机克隆你的仓库**
```bash
git clone http://hblu.top:3000/<你的用户名>/<项目名>.git
git clone http://hblu.top:3000/MachineLearning2025/<项目名>.git
cd <项目名>
```