Skip to content

Conversation

@marcboulle
Copy link
Contributor

No description provided.

@marcboulle marcboulle requested a review from lucaurelien October 9, 2025 15:20
@marcboulle marcboulle linked an issue Oct 9, 2025 that may be closed by this pull request
@marcboulle marcboulle force-pushed the 140-decimalweekday-and-weekday-no-information branch from 22256e4 to 9b84c59 Compare October 10, 2025 07:24
@marcboulle marcboulle force-pushed the 140-decimalweekday-and-weekday-no-information branch from 9b84c59 to f295f3d Compare October 13, 2025 09:51
```

Day in a date value.
Day in a date value, ranging from 1 to 31.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the day in the date upper limit depend on the month and on the leap / non-leap year status (for February)?

```

Day in year in a date value.
Day in year in a date value, starting at 1 for January 1st and ending at 365 or 366 for December 31st, depending on whether it is a leap year.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the upper limit determined automatically, according to the leap / non-leap year status of the specified year?

```

Day in year in a date value.
Day in year in a date value, starting at 1 for January 1st and ending at 365 or 366 for December 31st, depending on whether it is a leap year.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/on whether it is a leap year/on whether it is a leap year or not/

Year in a date value, with decimal part for day in year.
Year in a date value, including a decimal part representing the day of the year.

Precisely, `DecimalYear = Year + (YearDay-1)/365` (or 366 for leap years).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the denominator determined automatically, depending on the leap / non-leap status of the specified Year?

- the label must appear on the same line immediately after the variable definition,
- the label is the first commented line before the dictionary definition,

- comments are the next commented lines before the dictionary definition; they can be interspersed with dictionary definition fragments (e.g. key, meta-data),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra space between "e.g." and "key".

Second in a time value.
Second in a time value, ranging from 0 to 59.999.

Note: seconds can be precise up to one thousandth of a second (i.e., milliseconds).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reformat to:

!!! note

    Seconds can be precise up to one thousandth of a second (i.e., milliseconds).

Thus, the note is rendered like in e.g.: https://khiops.org/11.0.0-b.0/tutorials/scenario/.

```

Decimal day in a time value, between 0.0 and 23.9999.
Decimal representation of the time within a day, ranging from 0.0 to just under 24.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "just under 24.0": up to which precision?

Year in a timestamp value, with decimal part for day in year, at a timestamp precision.
Year in a timestamp value, including a decimal part for the day of the year and the time of day.

Precisely, `DecimalYearTS = Year + (YearDay-1 + DecimalTime(time)/24)/365` (or 366 for leap years).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the denominator determined automatically according to the leap / non-leap status of the Year?


![](../assets/images-khiops-guides/khiops/VariableConstructionParameters.png)

For details on each construction rule, see the related derivation rule. For example, to learn about WeekDay, visit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would format WeekDay: `Weekday`

- tokens : text tokens whose interpretability and interest depend on the quality of the input text preprocessing.

The **words** automatic tokenization process uses separator or control characters as delimiters.
The **words** automatic tokenization process uses space or control characters as delimiters.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have the documented list (or regular expression, or code range) of these control characters?

Copy link
Contributor

@popescu-v popescu-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DecimalWeekDay and WeekDay no information

3 participants