You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed print statements to be compatible with python 3 and run it on Windows computer
but simulation got stack, pls help
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\kNN.py:79: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
counts[self.data[indices[i],class_idx]] += 1
0.0 1.0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\kNN.py:28: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
counts[data[indices[i],class_idx]] += 1
0.0 1.0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:42: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:39: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
Best Parallel Split: 0 1.55
R 0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:93: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:90: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
[ 1. 0. -1.55] [ 1.09204545 0. -1.55 ]
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:115: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:112: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:130: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:127: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
H 0.428571, H1 0.428571
[ 1. 0. -1.55] [ 1. 0.17125 -1.55 ]
H 0.428571, H1 0.300000
R 1
[ 0.83089482 0.92116927 0.83181946] [-1.53025312 0.92116927 0.83181946]
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:118: RuntimeWarning: invalid value encountered in double_scalars
GiniR = 1 - sum([(r/float(Tr))**2 for r in Lr])
H nan, H1 0.516667
R 2
[ 0.90009466 0.61285603 0.08294005] [-0.68661247 0.61285603 0.08294005]
H nan, H1 0.516667
R 3
[ 0.17561136 0.55443074 0.6042893 ] [-0.99404078 0.55443074 0.6042893 ]
H nan, H1 0.516667
R 4
[ 0.32534219 0.7367024 0.28565869] [-0.95637949 0.7367024 0.28565869]
H 0.577778, H1 0.516667
[-0.95637949 0.7367024 0.28565869] [-0.95637949 0.73574972 0.28565869]
H 0.516667, H1 0.516667
(0.42857142857142855, array([ 1. , 0.17125, -1.55 ]))
The text was updated successfully, but these errors were encountered:
I changed print statements to be compatible with python 3 and run it on Windows computer
but simulation got stack, pls help
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\kNN.py:79: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
counts[self.data[indices[i],class_idx]] += 1
0.0 1.0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\kNN.py:28: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
counts[data[indices[i],class_idx]] += 1
0.0 1.0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:42: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:39: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
Best Parallel Split: 0 1.55
R 0
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:93: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:90: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
[ 1. 0. -1.55] [ 1.09204545 0. -1.55 ]
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:115: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:112: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:130: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lr[cat[index]] += 1
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:127: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Ll[cat[index]] += 1
H 0.428571, H1 0.428571
[ 1. 0. -1.55] [ 1. 0.17125 -1.55 ]
H 0.428571, H1 0.300000
R 1
[ 0.83089482 0.92116927 0.83181946] [-1.53025312 0.92116927 0.83181946]
e:\Trees_multiway_split\code\OC1-CUDA-master\OC1-CUDA-master\serialOC1_changed_python3.py:118: RuntimeWarning: invalid value encountered in double_scalars
GiniR = 1 - sum([(r/float(Tr))**2 for r in Lr])
H nan, H1 0.516667
R 2
[ 0.90009466 0.61285603 0.08294005] [-0.68661247 0.61285603 0.08294005]
H nan, H1 0.516667
R 3
[ 0.17561136 0.55443074 0.6042893 ] [-0.99404078 0.55443074 0.6042893 ]
H nan, H1 0.516667
R 4
[ 0.32534219 0.7367024 0.28565869] [-0.95637949 0.7367024 0.28565869]
H 0.577778, H1 0.516667
[-0.95637949 0.7367024 0.28565869] [-0.95637949 0.73574972 0.28565869]
H 0.516667, H1 0.516667
(0.42857142857142855, array([ 1. , 0.17125, -1.55 ]))
The text was updated successfully, but these errors were encountered: