GithubHelp home page GithubHelp logo

sun-dawn / machine-learning-homework Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.76 MB

Prediction of player recharge amounts in massively multiplayer online role-playing games

Jupyter Notebook 86.79% Python 13.21%

machine-learning-homework's Introduction

README

利用训练集和验证集数据训练LightGBM模型使用的参数为: params = { 'objective': 'regression', 'metric': {'rmse'}, 'boosting_type' : 'gbdt', 'learning_rate': 0.05, 'max_depth' : 8, 'num_leaves' : 40, 'feature_fraction' : 0.8, 'subsample' : 0.8, 'min_child_samples': 25, 'seed' : 114, 'num_iterations' : 3000, 'nthread' : -1, 'verbose' : -1, 'reg_alpha': 0.1, 'reg_lambda': 0.1 }

之后利用上述训练过程中的最佳轮次对应的参数,只使用验证集数据进行模型重训练。

利用训练好的模型对用户第8天的充值金额进行预测。

machine-learning-homework's People

Contributors

sun-dawn avatar

Watchers

 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.