Skip to content

Commit

Permalink
undo some unnessesary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Razdoburdin committed Aug 2, 2023
1 parent 34e606c commit 7e5284d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions examples/daal4py/decision_forest_classification_traverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

import daal4py as d4p

import daal4py as d4p


def printTree(nodes, values):
def printNodes(node_id, nodes, values, level):
Expand Down
2 changes: 0 additions & 2 deletions examples/daal4py/decision_forest_regression_traverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

import daal4py as d4p

import daal4py as d4p


def printTree(nodes, values):
def printNodes(node_id, nodes, values, level):
Expand Down
2 changes: 0 additions & 2 deletions examples/daal4py/gradient_boosted_classification_traverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

import daal4py as d4p

import daal4py as d4p


def printTree(nodes, values):
def printNodes(node_id, nodes, values, level):
Expand Down
2 changes: 0 additions & 2 deletions examples/daal4py/gradient_boosted_regression_traverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

import daal4py as d4p

import daal4py as d4p


def printTree(nodes, values):
def printNodes(node_id, nodes, values, level):
Expand Down
1 change: 0 additions & 1 deletion examples/sklearnex/n_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
# scikit-learn n_jobs yet. Thus it's requered to use daal4py package to set this.
# nthreads parameter define number of threads used by sklearnex.
# Without this code sklearnex would be using all system cores

import daal4py

daal4py.daalinit(nthreads=2)
Expand Down
1 change: 0 additions & 1 deletion examples/sklearnex/patch_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# Calling scikit-learn patch - this would enable acceleration on all
# enabled algorithms. This is most straight forward way of patching

from sklearnex import patch_sklearn

patch_sklearn()
Expand Down
1 change: 0 additions & 1 deletion examples/sklearnex/verbose_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# sklearnex can help you debug your aplications by printing messages on it's invocation
# to allow you to see if stock of accelerated version was used.
# By setting sklearnex logger level to "INFO" you would enable this verbose mode

import logging

logging.getLogger("sklearnex").setLevel(logging.INFO)
Expand Down

0 comments on commit 7e5284d

Please sign in to comment.