Skip to content

Update to v11 #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 88 commits into from
Closed

Update to v11 #366

wants to merge 88 commits into from

Conversation

popescu-v
Copy link
Collaborator

@popescu-v popescu-v commented Mar 7, 2025

Closes #325


TODO Before Asking for a Review

  • Rebase your branch to the latest version of dev (or main for release PRs)
  • Make sure all CI workflows are green
    • Note: API Docs workflow isn't green because the khiops-python-tutorial repo notebooks need to be updated with the v11 changes (to be done after the current beta release)
  • [ ] When adding a public feature/fix: Update the Unreleased section of CHANGELOG.md (no date) To be done in a distinct PR, in a subsequent RC pre-release
  • Self-Review: Review "Files Changed" tab and fix any problems you find
  • API Docs (only if there are changes in docstrings, rst files or samples):
    • [ ] Check the docs build without warning: see the log of the API Docs workflow
    • [ ] Check that your changes render well in HTML: download the API Docs artifact and open index.html
    • If there are any problems it is faster to iterate by building locally the API Docs Cannot be done: the Python tutorials need to be updated first.

popescu-v added 30 commits March 7, 2025 17:41
TODO:
- update samples.py accordingly (work around the absence of results_dir)
- update sklearn/{estimators,dataset}.py
- update samples_sklearn.py
- for most functions, the results_dir positional parameter is replaced
  with specific parameters requiring full file paths; if directories are
  specified instead, then deprecation warning is issued and default file
  name as used in the GUI is concatenated to this dir.

- for simplify_coclustering, the simplified_coclustering_file_path
  positional parameter was already present, along with results_dir,
  which is now deprecated. Hence, special treatment is required when
  both parameters are present *and* simplified_coclustering_file_path is
  relative: it is concatenated to results_dir. If
  simplified_coclustering_file_path is absolute, then results_dir is
  ignored.
Also update scenario template to v11.
These are not specific to the v11 migration, but had been missed in v10.
@popescu-v popescu-v self-assigned this Mar 7, 2025
@popescu-v popescu-v force-pushed the update-to-v11 branch 2 times, most recently from 24edd79 to 6533214 Compare March 7, 2025 17:08
popescu-v added 10 commits March 7, 2025 18:21
However, what is deprecated, is the Sequence specification. Only
sequences of data elements are kept, which should be directly convertible to
NumPy arrays; if they are not, then the code fails.
…hers

The regression model .kdic now always includes the baseline model. The
other estimators' models now never include the baseline model.

For this "MVP" beta, we keep track of the baseline model if present, but
we currently ignore it, even for regression; thus, as before, only the
SNB model is used in the estimators.
@popescu-v popescu-v force-pushed the update-to-v11 branch 3 times, most recently from 3a93696 to 9e56562 Compare March 7, 2025 17:58
Indeed, as the file-based datasets have been dropped, there is no
support for remote access in sklearn-based Khiops estimators.
Copy link
Member

@folmos-at-orange folmos-at-orange left a comment

Choose a reason for hiding this comment

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

Last commit reviewed Set KHIOPS_API_MODE to "true"...

@popescu-v popescu-v mentioned this pull request Mar 11, 2025
6 tasks
@popescu-v
Copy link
Collaborator Author

Superseded by #367: commit restructuring, squashing, re-ordering, for a cleaner history.

@popescu-v popescu-v closed this Mar 11, 2025
@popescu-v popescu-v deleted the update-to-v11 branch March 19, 2025 16:25
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.

Prepare v11 Support
2 participants