AutoViML 教程

自动化机器学习(AutoML)可以帮助机器学习管道中的某些关键组件实现自动化。其中机器学习管道包括数据理解、数据工程、特征工程、模型训练、超参数调整、模型监控等。

这篇文章主要介绍 Auto-ViML 的使用。

GitHub - AutoViML/Auto_ViML: Automatically Build Multiple ML Models with a Single Line of Code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.

目录

1. 安装

2. 参数调整​​​​​​​


1. 安装

Prerequsites:

pip install autoviml

2. 参数调整

2.1 调用

from autoviml.Auto_ViML import Auto_ViML
model, features, trainm, testm = Auto_ViML(
    train,
    target,
    test,
    sample_submission,
    hyper_param="GS",
    feature_reduction=True,
    scoring_parameter="weighted-f1",
    KMeans_Featurizer=False,
    Boosting_Flag=False,
    Binning_Flag=False,
    Add_Poly=False,
    Stacking_Flag=False,
    Imbalanced_Flag=False,
    verbose=0,
)

2.2 参数解释:

train: 训练集

target: 目标

test: 测试集

sample_submission: 附件,一般设为空. ‘ ’

hyper_param: 超参,使用哪种调参方式

feature_reduction: False or Ture 是否筛选 feature,是否减少 feature

scoring_parameter: 使用哪种判定方式

KMeans_Featurizer: False or Ture 是否类聚

Boosting_Flag:False or Ture

Binning_Flag:False or Ture

Add_Poly:False or Ture 是否自行添加(分类)特征

Stacking_Flag:False or Ture

Imbalanced_Flag: False or Ture 是否是平衡的

verbose: 0,1 是否显示

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值