GithubHelp home page GithubHelp logo

better support minibatch sgd about dmlc-core HOT 5 CLOSED

dmlc avatar dmlc commented on August 29, 2024
better support minibatch sgd

from dmlc-core.

Comments (5)

tqchen avatar tqchen commented on August 29, 2024

I think we did not assume offset[0]==0.

I agree that parser can support IndexType, can you do the change?

from dmlc-core.

mli avatar mli commented on August 29, 2024

i can add the indextype.

can you add the interface RowBlock.Slice and RowblockContainer.GetBlock, i can do the implementation and testing. there are two choices, [start_row, end_row), vs (start_row, num_row). either is fine for me.

another issue, is it necessary to have multithread parser in libsvm? i didn't see the speedup from 1 thread to 16 threads in my machine.

from dmlc-core.

tqchen avatar tqchen commented on August 29, 2024

Seems that was due to your improvements in the parser. I do see speedup with 4 threads

from dmlc-core.

tqchen avatar tqchen commented on August 29, 2024

I think we can keep the multi-threading part, and fall back to less thread when necessary

from dmlc-core.

tqchen avatar tqchen commented on August 29, 2024

I have added the RowBlock.Slice, there is no need to add slice to RowBlockContainer, you can do

container.GetBlock().Slice(begin, end)

from dmlc-core.

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.