dvc.org icon indicating copy to clipboard operation
dvc.org copied to clipboard

`exp`: baseline -> parent [term]

Open dberenbaum opened this issue 3 years ago • 7 comments

The docs in pages like https://dvc.org/doc/command-reference/exp/list and https://dvc.org/doc/command-reference/exp/show seem to use both parent and baseline to describe the commit from which an experiment derives. We should decide on a single term and use it consistently.

dberenbaum avatar Apr 08 '22 13:04 dberenbaum

Yes. "Parent" is more implementation-based (used by tech team in cmd refs). We introduced "baseline" more recently in the User Guide + a few option descriptions in the Cmd Ref, and now we have both terms.

Q. Are they always interchangeable? I vote for "baseline", but we should keep "parent" if it makes more sense in specific contexts (as long as "baseline" is also used nearby, ideally).

Cc @iesahin thouoghts?

jorgeorpinel avatar Apr 12 '22 00:04 jorgeorpinel

"Parent" is more implementation-based (used by tech team in cmd refs).

If we go for "baseline" we probably want to update the tool's help outputs as well? I think that phrases like "parent commit" are used in a few places.

jorgeorpinel avatar Apr 12 '22 00:04 jorgeorpinel

The issue I see is that in data science "baseline" has an established meaning and I think it doesn't match the meaning in DVC context.

daavoo avatar Apr 12 '22 07:04 daavoo

in data science "baseline" has an established meaning

What's that? From what I can see here it's pretty close to the base use case of dvc exp:

A baseline is the result of a very basic model/solution. You generally create a baseline and then try to make more complex solutions in order to get a better result.

jorgeorpinel avatar Apr 19 '22 06:04 jorgeorpinel

What's that? From what I can see here it's pretty close to the base use case of dvc exp

Let's say you are in a DVC project where the current status is an already complex model (let's say it has conv_units=128).

If you run dvc exp run --set-param conv_units=64, we would be using basline to refer to an experiment that, IMO, doesn't fit the description:

A baseline is the result of a very basic model/solution. You generally create a baseline and then try to make more complex solutions in order to get a better result.

daavoo avatar Apr 19 '22 08:04 daavoo

OK if "baseline" implies very basic (even when that's subjective), then let's go with "parent". Agree @dberenbaum @iesahin ?

jorgeorpinel avatar Apr 30 '22 17:04 jorgeorpinel

Yup, sounds good. Thanks @jorgeorpinel @daavoo!

dberenbaum avatar May 02 '22 12:05 dberenbaum

This hasn't seemed like it's caused much confusion. Closing.

dberenbaum avatar Nov 18 '22 17:11 dberenbaum