Coder Social home page Coder Social logo

Comments (5)

 avatar commented on June 19, 2024

Merged in LingfeiH/lenskit (pull request #89, closes #33)

Add method and class to support the retain-N protocol

→ <<cset 86d5dbf711fa>>

Note: This comment has been automatically migrated from Bitbucket
Created by @elehack on 2013-03-05T18:29:43.398723+00:00, last updated: None

from lenskit.

 avatar commented on June 19, 2024

There are two pieces to this:

  • add a setRetain(int) method to CrossfoldCommand that sets up a retain-N partition
  • create a new partition class, or extend CountPartition, to support the retain-N protocol

I think it is probably best to rename CountPartition to LastNPartition, and create a FirstNPartition to implement the new logic. These classes are not part of the public interface, so it is fine to reimplement them.

We should probably also improve the JavaDoc for setHoldout and setRetain to be clear, and create a new setHoldoutFraction method (and deprecate setHoldout(double)) to make things all clear.

Note: This comment has been automatically migrated from Bitbucket
Created by @elehack on 2013-02-28T20:44:39.674033+00:00, last updated: None

from lenskit.

 avatar commented on June 19, 2024

Reducing scope to remove overlap with #205.

Note: This comment has been automatically migrated from Bitbucket
Created by @elehack on 2013-02-05T23:06:38.018883+00:00, last updated: None

from lenskit.

 avatar commented on June 19, 2024

Michael Ekstrand [email protected] on 2011-10-18 13:55:03 said:

In [29e4320947109e148b63e35624964c80254f5179]:

Support fractional holdouts (refs #33).

* Re-implement holdout system in terms of orders and partition methods
* Add fractional holdout & parse percentages in config file

Note: This comment has been automatically migrated from Bitbucket
Created by grouplens on 2013-02-01T21:55:29.835406+00:00, last updated: None

from lenskit.

 avatar commented on June 19, 2024

ekstrand on 2011-05-24 18:10:18 said:

We now do leave-N-out. We still need more flexibility, but it's a start.

Note: This comment has been automatically migrated from Bitbucket
Created by grouplens on 2013-02-01T21:55:29.462014+00:00, last updated: None

from lenskit.

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.