Giter Site home page Giter Site logo

Comments (5)

rlnx avatar rlnx commented on June 15, 2024

Hi @vibhatha, present version of PCA algorithm doesn't contain functionality allows just to set number of principal components and apply transformation to the data. Instead PCA returns eigenvalues and eigenvectors of covariance matrix obtained from the data (have a look at the example). You can use them in order to reduce dimensionality of your data, i.e. apply PCA transformation on your side by picking required number of eigenvectors. We are planning to support PCA transformation in one of the future releases.

I want to learn how to add the number of iterations, ... step size

Internally DAAL relies on direct algorithms to solve a system of linear equations, an eigenvalues problem or finding inverse/pseudoinverse of a matrix (by calling LAPACK), so we can't provide parameters like number of iterations for PCA or linear regression, because we just don't have them in implementation and can't adjust in LAPACK.

from onedal.

vibhatha avatar vibhatha commented on June 15, 2024

Yes I understand, will it be available in future versions ?

from onedal.

rlnx avatar rlnx commented on June 15, 2024

We may consider adding iterative linear regression algorithm based on stochastic gradient descent (SGD). Are you interested in such algorithm?

from onedal.

vibhatha avatar vibhatha commented on June 15, 2024

Yes of course, I think it is easier when we have the ability to change the input parameters in all machine learning algorithms. When it comes to evaluating practical scenarios, tuning those values can bring more accurate results. That is why I am very much interested in such applications. And also the customized optimization methods, kernels like (RBF, Linear) or for instance stochastic or batch gradient descent selection as an input parameter would do a wide range of experiments. I think adding such algorithms with user customization would bring a broad crowd to use the tool. And thanks a lot for helping me out.

from onedal.

rlnx avatar rlnx commented on June 15, 2024

@vibhatha, currently DAAL allows to use SGD + LR (or another optimization method), but there is no single algorithm which encapsulates all the logic, please find the example here.

from onedal.

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.