Skip to content

Commit 34a5621

Browse files
committed
Add cyton headers
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 7e38502 commit 34a5621

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

sklearn/tree/_criterion.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cython: language_level=3
2+
# cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True
3+
14
# Authors: Gilles Louppe <g.louppe@gmail.com>
25
# Peter Prettenhofer <peter.prettenhofer@gmail.com>
36
# Brian Holt <bdholt1@gmail.com>

sklearn/tree/_splitter.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cython: language_level=3
2+
# cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True
3+
14
# Authors: Gilles Louppe <g.louppe@gmail.com>
25
# Peter Prettenhofer <peter.prettenhofer@gmail.com>
36
# Brian Holt <bdholt1@gmail.com>

sklearn/tree/_tree.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cython: language_level=3
2+
# cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True
3+
14
# Authors: Gilles Louppe <g.louppe@gmail.com>
25
# Peter Prettenhofer <peter.prettenhofer@gmail.com>
36
# Brian Holt <bdholt1@gmail.com>

sklearn/tree/_utils.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cython: language_level=3
2+
# cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True
3+
14
# Authors: Gilles Louppe <g.louppe@gmail.com>
25
# Peter Prettenhofer <peter.prettenhofer@gmail.com>
36
# Arnaud Joly <arnaud.v.joly@gmail.com>

0 commit comments

Comments
 (0)