Appendix A
■
pedAl to the MetAl: AccelerAting python
256
numeric computations without compiling any custom extensions. As a supplement to NumPy,
Theano can optimize
mathematical expressions on numeric arrays. SciPy and Sage are much more ambitious projects (although with
NumPy as one of their building blocks), collecting several tools for scientific,
mathematical, and high-performance
computing (including some of the ones mentioned later in this appendix). Pandas
is more geared toward data
analysis, but if its data model fits your problem instances, it is both powerful and fast.
A related toolkit is Blaze,
which can help if you’re working with large amounts of semistructured data.
Do'stlaringiz bilan baham: