Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _cmake/externals/FindLocalPyBind11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# pybind11
#

set(pybind11_TAG "v2.13.5")
set(pybind11_TAG "v3.0.0")

include(FetchContent)
FetchContent_Declare(
Expand Down
8 changes: 3 additions & 5 deletions _doc/examples/plot_logistic_regression_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def draw_border(
# -------------------


clr = LogisticRegression(solver="lbfgs", multi_class="multinomial")
clr = LogisticRegression(solver="lbfgs")
clr.fit(X, Y)

########################################
Expand All @@ -133,7 +133,7 @@ def draw_border(
# -------------------------------


clk = ClassifierAfterKMeans(e_solver="lbfgs", e_multi_class="multinomial")
clk = ClassifierAfterKMeans(e_solver="lbfgs")
clk.fit(X, Y)


Expand Down Expand Up @@ -165,9 +165,7 @@ def draw_border(

dt = []
for cl in range(1, 6):
clk = ClassifierAfterKMeans(
c_n_clusters=cl, e_solver="lbfgs", e_multi_class="multinomial", e_max_iter=700
)
clk = ClassifierAfterKMeans(c_n_clusters=cl, e_solver="lbfgs", e_max_iter=700)
clk.fit(X, Y)
sc = clk.score(X, Y)
dt.append(dict(score=sc, nb_clusters=cl))
Expand Down
18 changes: 18 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
export USE_CUDA=0
python -m pip install -e . --config-settings="--use_cuda=0" -v
displayName: 'pip install -e . --config-settings="--use_cuda=0" -v'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- script: |
python -m pytest _unittests --durations=10
displayName: 'Runs Unit Tests'
Expand Down Expand Up @@ -114,6 +117,9 @@ jobs:
export USE_CUDA=0
python -m pip install -e . --config-settings="--use_cuda=0" -v
displayName: 'pip install -e . --config-settings="--use_cuda=0" -v'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- script: |
python -m pytest _unittests --durations=10
displayName: 'Runs Unit Tests'
Expand All @@ -123,6 +129,9 @@ jobs:
export USE_CUDA=0
python -m pip wheel . --config-settings="--use_cuda=0" -v
displayName: 'build wheel'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- script: |
mkdir dist
cp mlinsights*.whl dist
Expand Down Expand Up @@ -185,6 +194,9 @@ jobs:
# python -m pip install -e .
python setup.py build_ext --inplace
displayName: 'build inplace'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- bash: |
contents=$(cat .build_path.txt)
export BUILD_PATH="$contents"
Expand Down Expand Up @@ -258,6 +270,9 @@ jobs:
- script: |
python setup.py install
displayName: 'build wheel'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- powershell: |
$contents = Get-Content -Path ".build_path.txt"
cd $contents
Expand Down Expand Up @@ -321,6 +336,9 @@ jobs:
- script: |
python setup.py build_ext --inplace
displayName: 'build'
- script: |
python -m pip freeze
displayName: 'pip freeze'
- script: |
python setup.py bdist_wheel
displayName: 'build wheel'
Expand Down
Loading