forked from uxlfoundation/scikit-learn-intelex
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test3 #2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* run legacy tests with pytest * add back pyargs to pytest call * more pyargs * try changing order of PYTHONPATH * try changing to relative imports instead of adding PYTHONPATH * missing delete * try executing non-mpi tests first to see if they also fail * try deleting __init__.py in test folder * try removing relative import * move patching test also to pytest, restore MPI on windows * fix unexecuted parametrization * remove unused import * better naming * add name of estimator being patched * account for platforms using non-standard process codes * correct fixture names * use yield instead of finalize * try removing pyargs to see what happens * add separate tests for global and module-specific * remove unused argument * remove global patching test * fixes for windows * try changing fixtures back to manual finalizers * add comment about the yield fixtures * Update .ci/scripts/test_global_patch.py Co-authored-by: Ian Faust <icfaust@gmail.com> --------- Co-authored-by: Ian Faust <icfaust@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…nvention at class definition-level (uxlfoundation#2101) * Update test_common.py * formatting * re-orient to new ban * add hasattr * fixes for properties * Update test_common.py * Update _common.py * Update _common.py * fix IncrementalLinearRegression properties * fix mistake * formatting * copy over of change from uxlfoundation#2102 * Update logistic_regression.py * Update sklearnex/tests/test_common.py Co-authored-by: Samir Nasibli <samir.nasibli@intel.com> --------- Co-authored-by: Samir Nasibli <samir.nasibli@intel.com>
…fitted]``` conformance for gpu support (uxlfoundation#2109) * Update logistic_regression.py * Update logistic_regression.py
- Add 'Non-Scikit algorithms' part to the docs - Add info about IncrementalPCA - Add sphinx.napoleon extension to generate docs from docstrings. - Update docstrings for non-scikit algorithms
…g.yaml and CI check (uxlfoundation#2115) * Update .pre-commit-config.yaml * Update ci.yml * Update CONTRIBUTING.md * Update ci.yml * Update ci.yml * test failure in pipelines * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml
…L#2938 (uxlfoundation#2093) * Update ci.yml * Update activate_components.bat * Update ci.yml * Update ci.yml
* Delete .circleci/compare_runs.py * Delete .circleci/run_and_compare.sh * Update algorithms.rst
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…tion#2118) * [refactor] sort tests and fix typo in print statement * increase timeout of gradient_boosted_classification to 240
* increase memory threshold for tests to 25% * increase only for pandas * linter * fix comparison for values passed to parameter
* Conda recipe update * Remove compiler_c and icx-cl * Add numpy matrix for conda-recipe CI * Remove python req from build env for conda-recipe CI * Reorder and extend testing deps * Change numpy testing matrix * Remove daal4py/sklearn from test files * Update DPC compiler details for conda-build in INSTALL * Update CI matrix and add comments * Remove catboost; corrections for run_test.bat * Add git tag as package version * Add note about VS versions * Change variable in run_test.bat * Add recipe versioning comment * Reorder MPI test command * Remove extra dpcpp installation in CI
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* produce JSON logs from pytest runs * make json reports triggerable with cli argument * Update ci.yml * Update ci.yml * fix repeated argument on windows * avoid adding json-related arguments when not needed * generate json reports during CI runs * remove accidental spaces * fix incorrect file name checking * remove json report from non-nightly job --------- Co-authored-by: Ian Faust <icfaust@gmail.com>
* DOC: Array API suport * Example for DBSCAN array API
…one place (uxlfoundation#1936) * MAINT: do DPEP libs imports check in one place
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…hecking oneDAL support (uxlfoundation#2110) * Update test_common.py * formatting * change to fstrings * fix all but SVM algos * add SVM fixes * Update test_common.py * forgotten index switch after merge
…y inputs (uxlfoundation#2113) * FIX: update functional support fallback logic a little bit * host numpy copies of the inputs data will be used for the fallback cases, since stock scikit-learn doesn't support DPCTL usm_ndarray and DPNP ndarray * Added a clarifying comment * Enhanced patch message for data transfer
uxlfoundation#2121) * Update test_patching.py * formatting * path to sep * Update _launch_algorithms.py * Update _launch_algorithms.py * Update _launch_algorithms.py
…supported in fit_check_before_support_check (uxlfoundation#2124) * Update test_common.py * Update incremental_linear.py * Update incremental_covariance.py * Update k_means.py * Update linear.py * Update incremental_linear.py
…ations (uxlfoundation#1867) * TEST: moved checks for banned primitives into certain folder, out of pkgs * Generalized for further use of checker for banned primitives * some fixes * refactoring
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ion#1751) * expand forest classes with hyperparams * fix build errors * add some version checks * black format * version check for hyperparameters backend * fixup * fixup * fixup * fixup * add version check for hyperparams * Add daal_require_version_wrapper * simplify obtaining hparams * fix version checks * Fix ONEDAL_VERSION in comment Co-authored-by: Victoriya Fedotova <viktoria.nn@gmail.com> * Add version comment to endif Co-authored-by: Victoriya Fedotova <viktoria.nn@gmail.com> * add block_size_multiplier hyperparam * fix argument name * add hyperparameter tests * review comments * fixup for registe_hyperparameters * simplify get_hyperparamters() definition * rename set_block_size * remove block size multiplier from testing * modify hyperparameters getattr/setattr for better debug output * instantiate hyperparams for entire task_list * rename df_infer_hp * instantiate hp only for classification * Retrieve hparams only for classification * change hyperparam values to %8 values * [workaround] use older artifacts to avoid pipeline error - revert before merge * Revert "[workaround] use older artifacts to avoid pipeline error - revert before merge" This reverts commit 294396c. * improve comment on hyperparameters __getattr__ * simplify hyperparameters retrieval * Revert adding of daal_require_version_wrapper * clean up imports * clean up unused type * fixup after renaming predict->infer * move get_hyperparameters API to sklearnex * move tests to sklearnex * fix test --------- Co-authored-by: Victoriya Fedotova <viktoria.nn@gmail.com>
…thm='brute'``` and fit with GPU (uxlfoundation#2056) * Update test_neighbors.py * Update neighbors.py * Update neighbors.py * Update neighbors.py * Update neighbors.py * Update neighbors.py * formatting * isort * Update onedal/neighbors/neighbors.py Co-authored-by: Samir Nasibli <samir.nasibli@intel.com> --------- Co-authored-by: Samir Nasibli <samir.nasibli@intel.com>
…dation#2127) * Provide additional explanation for checkboxes in PR template * Rephrasing
* Update dependency pandas to v2.2.3 * Pin compatible pandas version for py<3.11 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexander Andreev <alexander.andreev@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add a comprehensive description of proposed changes
List associated issue number(s) if exist(s): #6 (for example)
Documentation PR (if needed): uxlfoundation#1340 (for example)
Benchmarks PR (if needed): IntelPython/scikit-learn_bench#155 (for example)
PR should start as a draft, then move to ready for review state after CI is passed and all applicable checkboxes are closed.
This approach ensures that reviewers don't spend extra time asking for regular requirements.
You can remove a checkbox as not applicable only if it doesn't relate to this PR in any way.
For example, PR with docs update doesn't require checkboxes for performance while PR with any change in actual code should have checkboxes and justify how this code change is expected to affect performance (or justification should be self-evident).
Checklist to comply with before moving PR from draft:
PR completeness and readability
Testing
Performance