自动化生成工业级机器学习分类算法代码、调用算法做预测、输出准确率对比和可视化结果,支持新手友好的结果解读。
data_path: str(必填)CSV 数据集路径target_col: str(必填)预测目标列名algorithms: list[str](可选)默认 [ "逻辑回归", "决策树", "随机森林", "XGBoost", "LightGBM" ]test_size: float(可选)默认 0.2random_state: int(可选)默认 42accuracy_results: dict[str, float|None]interpretation: strgenerated_codes: dict[str, str]visualization_data: dictcode-davinci-002,失败回退本地模板)StratifiedKFold/KFold/RepeatedStratifiedKFold)GridSearchCV/)RandomizedSearchCVgpt-3.5-turbo)cd /Users/bamboo/skills/advanced-ml-classification-skill/scripts
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python generate_complex_demo.py
python advanced_ml_skill.py --data-path ./demo_complex.csv --target-col target_label --enable-cv --enable-search
streamlit run app.py