Giter VIP home page Giter VIP logo

Comments (5)

JohnLangford avatar JohnLangford commented on May 10, 2024

These aren't defined, because it's very unclear how they should be
defined. What do you intuitively expect?

-John

On 05/07/2014 04:33 PM, sergeyf wrote:

Looks like --raw_predictions works with binary classification and
multi-class with --oaa, but not with --ect (and contextual bandit
raw_predictions is also broken).

Here are the details:

train.dat:

2 | a c
1 | b d
3 | a b c
1 | b c
3 | a d

test.dat:

2 | a c d
1 | c d

Commands that produce a non-empty raw.txt:

vw -d train.dat --oaa 3 -f cb.model
vw -t -d test.dat -i cb.model --raw_predictions raw.txt

Commands that produce an empty raw.txt:

vw -d train.dat --ect 3 -f cb.model
vw -t -d test.dat -i cb.model --raw_predictions raw.txt


Reply to this email directly or view it on GitHub
#297.

from vowpal_wabbit.

sergeyf avatar sergeyf commented on May 10, 2024

Ah, good to hear that it's not a bug!

Intuitively, I would expect some kind of discriminant for each arm (for the --cb mode) or class (for the --ect mode). I assume that not all of these are even computed or exist? Is --cb using ect-like machinery under the hood?

from vowpal_wabbit.

JohnLangford avatar JohnLangford commented on May 10, 2024

It doesn't exist at all for ECT. For --cb, it sometimes exist,
depending on exactly how the cost sensitive classification is implemented.

-John

On 05/07/2014 05:04 PM, sergeyf wrote:

Ah, good to hear that it's not a bug!

Intuitively, I would expect some kind of discriminant for each arm
(for the --cb mode) or class (for the --ect mode). I assume that not
all of these are even computed or exist? Is --cb using ect-like
machinery under the hood?


Reply to this email directly or view it on GitHub
#297 (comment).

from vowpal_wabbit.

sergeyf avatar sergeyf commented on May 10, 2024

I see. That makes sense for ECT. It would be good to have for --cb when available. Mostly for the purpose of developing exploration/exploitation algorithms that are discriminant dependent.

from vowpal_wabbit.

JohnLangford avatar JohnLangford commented on May 10, 2024

Go ahead and make a patch if you want this.

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.