Giter VIP home page Giter VIP logo

mkl_tools's Introduction

mkl_tools

多核学习工具箱

主要是使用合成核方法进行多核学习

使用说明

该软件包依赖 python2.7,sklearn,numpy,cvxopt

将特征文件放入feature文件夹(没有数量限制)

填写gamma.csv配置文件

gamma.csv**两行,第一行填写特征文件的文件名,第二行填写相应特征对应的rbf核的gamma参数

运行:

平均权重合成核

python averageMKL_svm.py [-cv] [-l]

两个参数都是可选参数

-cv 交叉验证的折数,默认为5

-l 如果为平衡数据集,且前一半为正例,后一半为反例,不需要此参数。

非平衡数据集需要自己准备一个一维的标签文件

EasyMKL权重合成核:

python easyMKL_svm.py [-cv] [-l]

用法同上

程序运行完会生成一个csv的结果文件,第一列为参数c的值,第二列为acc 第三列为auc_roc

mkl_tools's People

Contributors

liuyuan-cisd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.