GithubHelp home page GithubHelp logo

NonLinear SMV about tensorflow_cookbook HOT 2 CLOSED

nfmcclure avatar nfmcclure commented on May 3, 2024
NonLinear SMV

from tensorflow_cookbook.

Comments (2)

ozgurgundogan avatar ozgurgundogan commented on May 3, 2024 1

Thanks for your response. Actually I got my answer from your notebook. Thanks a lot again :) You can close the issue.

from tensorflow_cookbook.

nfmcclure avatar nfmcclure commented on May 3, 2024

Hi @ozgurgundogan, thanks for bringing this to my attention. There was some extra code lines in there from when I was exploring how to write this code. I cleaned up the code a bit. But I also added my best quick explanation in an Jupyter notebook here: https://github.com/nfmcclure/tensorflow_cookbook/blob/master/04_Support_Vector_Machines/05_Implementing_Nonlinear_SVMs/05_nonlinear_svm.ipynb

For better explanations, I would recommend reading these links:
http://cs229.stanford.edu/notes/cs229-notes3.pdf
http://www.robots.ox.ac.uk/~az/lectures/ml/lect3.pdf

As a note, there needs to be the x and y points in any prediction you do because it's the x and y points that create the SVM margins. If you do some exploring with pred_kernel and my_kernel variable outputs, you'll see which non-zero values in the arrays indicate which data points are the support vectors.

I'll leave this issue open for a while if you want more clarification, otherwise I'll close it in about 48 hours. Thanks!

from tensorflow_cookbook.

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.