Git Product home page Git Product logo

Comments (5)

anshver92 avatar anshver92 commented on July 24, 2024 1

This matter also troubles me.
no matter the lambda value and max iterators are, the accuracy is always around 66%
image

FYI, I changed the method used for the optimisation to 'BFGS' and I get the answer required. Maybe someone who is more an expert in numerical computing can answer this better as it seems the choice of optimisation method is what is causing the problem.

from ml-coursera-python-assignments.

xiaolin5167 avatar xiaolin5167 commented on July 24, 2024

This matter also troubles me.
no matter the lambda value and max iterators are, the accuracy is always around 66%
image

from ml-coursera-python-assignments.

anshver92 avatar anshver92 commented on July 24, 2024

This matter also troubles me.
no matter the lambda value and max iterators are, the accuracy is always around 66%
image

I am getting the exact same values as you, I don't entirely understand what is going on since I've submitted to the grader all of my previous functions and got all the expected values that were required. Did you find the solution this problem?

from ml-coursera-python-assignments.

xzx624 avatar xzx624 commented on July 24, 2024

I have the same problem using TNC method, but the code works if I change to CG method:

res = optimize.minimize(costFunctionReg,
initial_theta,
(X, y, lambda_),
jac=True,
method='CG',
options=options)

Anyone can please help explain?...

from ml-coursera-python-assignments.

ineedcokezero avatar ineedcokezero commented on July 24, 2024

I am getting 60.2% with TNC as well... Changed to CG and got Train Accuracy: 83.1 %..

Someone please help explain...
THX..

from ml-coursera-python-assignments.

Related Issues (20)

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.