Coder Social home page Coder Social logo

--interact is not working about vowpal_wabbit HOT 3 CLOSED

ataymano avatar ataymano commented on September 27, 2024
--interact is not working

from vowpal_wabbit.

Comments (3)

ataymano avatar ataymano commented on September 27, 2024
  1. It only works on dense namespaces with first feature has to be equal to 1 (from here)
  2. explicit 0 values are getting ignored by parser
    So, dataset should be changed to (in order to demonstrate happy path):
0.24 |a 0:1 1:0.88 |b 0:1 1:0.28
0.06 |a 0:1 1:0.46 |b 0:1 1:0.14
...

from vowpal_wabbit.

ataymano avatar ataymano commented on September 27, 2024

Tried to cleanup anchor features here but cancelled PR (#4646) after conversation with @jackgerrits: not having anchor features is breaking offsets calculations if first feature turned out to be 0.
Leaving unchanged for now but should be used very carefully.
Counter-intuitive effects with current implementation:

  1. Working on feature group level, so having a lot of unexpected behavior when more than one namespace with same first letter exists.
  2. Destination hash is calculated based on first namespace (from commandline) => non-commutative, "--interact ab" and "--interact ba" are producing different hashes
  3. Destination hashes non sensitive to hash shift of second argument:
    for "--interact ab" configuration:
    "|a 0:1 1:1 |b 0:1 1:1" is producing the same hashes as "|a 0:1 1:1 |b 3:1 4:1", but dufferent from "|a 3:1 4:1 |b 0:1 1:1

from vowpal_wabbit.

ataymano avatar ataymano commented on September 27, 2024

wiki page is created:
https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Element%E2%80%90wise-interaction

from vowpal_wabbit.

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.