Giter Club home page Giter Club logo

zhihu_kanshan_cup_2017's Introduction

zhihu_kanshan_cup_2017

2017知乎看山杯比赛,我的部分代码。仅提供了单模型最高分的RCNN+ATTENTION模型。

详情请移步至我的博文:大规模文本分类实践-知乎看山杯总结

数据下载与说明

数据存在百度云: http://pan.baidu.com/s/1bpnNRQJ 数据说明:移步至此

运行环境:

  • python版本:py3
  • keras版本:Keras (2.0.6) 其中prozhuchen修改了keras的training.py 文件,使得其能够处理稀疏的label,具体修改:training.py 第375~455行。 具体原理是在每一个batch时把稀疏的label转化为dense的,省空间。您也可以使用keras的fit_on_batch函数,但是如果您使用fit函数的话,必须使用我们修改后的源代码文件。
  • 本代码提供了修改后的training.py文件,在modified_keras_files中 请将其替换您keras目录下的:keras/engine/training.py文件

执行方法

训练:

python3 main.py train

预测:

python3 main.py pred

zhihu_kanshan_cup_2017's People

Contributors

coderskychen 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zhihu_kanshan_cup_2017's Issues

loss

请问一下,这个模型loss能降到多少?

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.