Giter Site home page Giter Site logo

jdata_2018's Introduction

概述

代码说明文档

编程环境

  • 语言:python 3.6.5
  • 硬件配置:(python的lightgbm库会因cpu的不同,训练结果出现微小误差,不过我们没遇到,为以防万一还是说一下)
  1. 型号:thinkpad x270 cpu:Inter(R) Core(TM) i7-6500 2.5GHz 内存:8GB 操作系统:Win7
  2. 型号:MacBook Pro (Retina, 13-inch, Early 2015) cpu:i5-5257U System:mac OS 10.13.5
    注:程序在以上两个系统均可正常运行,且结果完全一致。

第三方库的版本

  • pandas:0.22.0 (这个注意一下,如果版本升级到0.23.0的话无法复现,结果会有微小差异)
  • numpy:1.14.3
  • lightgbm:2.1.2
  • datetime:python3.6.5原生库
  • math:python3.6.5原生库
  • time:python3.6.5原生库

代码使用说明

  • 文件夹说明:
    data:原始数据
    feature:生成的特征矩阵
    fea_imp_sub:提交时特征重要性排行 fea_imp_train:训练时特征重要性排行
    submit:提交文件
  • 相关参数:main_final.py中tran = 0 sub = 1 fea_exist = 0时为生成提交文件
  • 程序入口:main_final.py (直接运行该文件即可)

jdata_2018's People

Contributors

francis1986 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jdata_2018's Issues

不太懂feat_gen.py这个文件的特征工程。

3、特征工程

3.1 总体示意

假设:用户是否购买以及购买日期只和近期的行为习惯有关
训练集构建思路:尽可能多的利用数据
时间窗口的选择思路:离标签月越近分的越详细
image

这张图 没看太懂啊

数据集

官网的链接已经打不开了,下载不了数据集了,请问博主能分享一下数据集文件吗?

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.