Coder Social home page Coder Social logo

mnist_logistic_regression's Introduction

基于logistic regression的手写字符分类实现

没有用到任何机器学习和深度学习框架,纯手写。

  • 使用方法:先运行logistic_regression.py训练10个逻辑回归分类器,然后会将得到的参数保存在theta文件中,再运行evaluate.py可以演示结果,并查看精度,visualize_weight.py可以将10个类别的权重的图片保存在img文件夹中。
  • 总结:锻炼自己的写代码能力,还有就是对numpy熟悉了不少。现成的代码用着挺舒服,自己写就会遇到各种问题,才能体会到其中的精髓。

mnist_logistic_regression's People

Contributors

zqpei avatar

Stargazers

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