Re: [scikit-learn] Changes in the classifier

2020-01-13 Thread aditya aggarwal
I just want to change the log function while calculating entropy, how can I do this in the scikit library? On Thu, Jan 9, 2020 at 2:41 PM Adrin wrote: > Outside GIL, you can't really work easily with Python objects. You should > instead stick to local C variables and routines. For instance, inst

Re: [scikit-learn] Changes in the classifier

2020-01-09 Thread Adrin
Outside GIL, you can't really work easily with Python objects. You should instead stick to local C variables and routines. For instance, instead of numpy routines, you can use cmath routines. The cython book ( https://www.amazon.com/Cython-Programmers-Kurt-W-Smith/dp/1491901551) and Nicolas's post