GithubHelp home page GithubHelp logo

longwind09 / feature_engineering Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 73 KB

feature engineering framework of machine learning process

License: Apache License 2.0

Python 0.73% Roff 17.52% Shell 0.41% Java 81.34%

feature_engineering's Introduction

feature_engineering

feature engineering framework of machine learning process

how to use ?

./start.sh ./feature_process_select.cfg ./sample_in ./sample_out

输出结果 sample_out 是离散化后的样本 result 是取第一行样本 进行离散化配置、实际取值、离散化后结果的比对

配置文件

  1. 连续特征离散化:

    • 等区间离散化 如:DSpic_num=cont_mp1:0,1,16:-1:20
    • 自定义区间离散化 如 DSprice=cont_mp2:-9999~0,0~220.0,220.0~1000:-1:1000
  2. 离散特征不做离散化 如:DSroom=cate_map:-1:16

  3. 个性化特征:

    • 用户对某特征最偏好的特征值 如 PLfdroom~1~n=pertop:-1:20
    • 用户对某特征最偏好特征值的偏好度 PLfdroom~1~v=pertop:-1:1000
    • 帖子某特征的特征值对应用户在该特征值上的偏好度 PLfdroom=permatch:-1:1000
    • 帖子的某特征值是否用户最偏好 PLfdroom~1~c=permatch:-1:3
    • 帖子某特征值对应用户偏好度与用户最偏好特征值对应偏好度的差距 PLfdroom~1~g=permatch:-1:1000

支持单机和分布式

feature_engineering's People

Contributors

longwind09 avatar

Watchers

James Cloos avatar  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.