Blogs
Matching:
python
X
Display: 
A Speed Comparison Of C, Julia, Python, Numba, and Cython on LU Factorization
How fast can compiled Python be compared to, say C? You'd be surprised by the answer. The study below contradicts common wisdom that you cannot get close to C for matrix oriented computation. A good example of a study supporting the...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Installing PyCUDA On Anaconda For Windows
PyCUDA is a great library if you want to use gpu computing with NVIDIA chips. If you want a more portable approach or if you have ATI chips instead of NVIDIA, then you might consider PyOpenCl instead of PyCUDA. I provided instructions on how...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Top Posts For 2015
JeanFrancoisPuget
Tags:
anaytics
docker
data_science
optimization
python
cloud
big_data
machine_learning
5,196 Views
I wish all my readers, their families, and their friends, all the best for 2016. May your dreams come true. I also want to warmly thank you, my readers, for your continued interest. This led me write more entries than ever, with 54 entries in...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


How To Quickly Compute The Mandelbrot Set In Python
JeanFrancoisPuget
Tags:
python
pycuda
pyopencl
math
fractals
gpu
dataviz
opencl
mandelbrot
28,878 Views
Introduction My Christmas Gift was about creating nice images of the Mandelbrot set. A comment on reddit make me write this sequel. The comment is suggesting that I should use a vectorized version of the code rather than the...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


DataPower Latency Log Analytics Community Blog
I believe DataPower latency logs are a rich untapped source of information for organizations to uncover all kinds of information about their web services. Since DataPower is often deployed as a web service gateway, it has the potential to yield many...
from Blog: IBM DataPower Gateways
Modified on by PaulGlezen


Elementary Matrix Operations In Python
Octave and Matlab are high level languages that support vectors and matrices with a very simple syntax. Python support for matrices is not as nice, but few little tricks should do the job. Let me first briefly introduce how Octave and Matlab...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Python Is Not C: Take Two
JeanFrancoisPuget
Tags:
numba
python
numpy
nearest_neighbors
scipy
sklearn
4 Comments
51,026 Views
When I wrote Python Is Not C 6 months ago I did not imagine that it would be my most popular post ever, with more than 67k views. The conclusion of that post reads: The lesson is clear: do not write Python code as you would do in C. Use...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


How To Make Python Run As Fast As Julia
Julia vs Python Should we ditch Python and other languages in favor of Julia for technical computing? That's certainly a thought that comes to mind when one looks at the benchmarks on http://julialang.org/. Python and other high level languages...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Installing Cython For Anaconda On Windows
Update on December 28, 2015. I just installed Anaconda 2.4.1. Cython is now pre installed with it, making this blog entry obsolete,. See the list of pre installed packages for Anaconda 2.4.1 . Cython is a...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Installing Docker Toolbox On Windows
Docker is a great solution to the portability of software. It alleviates the "it worked on my machine, don't understand why it does not run on yours" nightmare. It does so via packaging your software and its execution environment in...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Solving Sudoku In Python With DOcplex On DOcloud
We just announced a major update of our CPLEX cloud service. Part of it is the availability of a Python modeling API called DOcplex. It is open sourced under the Apache 2.0 license. Here are useful links: Landing page on pypi:...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Analyze notes with the AlchemyAPI service on IBM Bluemix (and without installing anything)
I’ve spent the last week messing around in Eclipse, downloading stuff, installing plugins, and adding servers, etc. I hate to think about how many hours I spent without making any forward progress on my application, and without learning anything I...
Modified on by rewillen


Predicting Cyclist Speed
I have been the 'data scientist' on the IBM team that helped Dave Haase run the Race Across America (RAAM) this year. This project exemplified quite a few of the classical tips of data science documents in The Inconvenient Truth&n...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Modeling Cyclist Power
With the Tour de France nearing its end, and with some controversy about the power developed by some racers, I thought it would be timely to share some work I did in a recent project called Analytics For The Perfect Race . Part...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Python Is Not C
Update on December 8, 2015. An updated version of this post is available at Python Is Not C: Take Two . I have been using Python a lot lately, for various data science projects. Python is known for its ease of use. Someone with coding...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Content Delivery Network in Bluemix Community Blog
Recently, I found an interesting question on developerWorks forum itself that whether we can use a CDN in our bluemix application. One of the answers said that Bluemix does not give you infrastructural layer access in your application. I completely agree...
from Blog: developerWorks India
Modified on by BrindaKrishnan


Deploy IPython Notebooks With Docker On Bluemix In Minutes
Are you interested in deploying Docker containers in IBM Bluemix ? Are you developing these containers on a Windows workstation with Boot2Docker? If you answered yes to both then this post is of interest. Furthermore, if you are using IPython...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Using IPython Notebooks In Docker Containers On Windows
JeanFrancoisPuget
Tags:
docloud
jupyter
python
docker
boot2docker
ipython
2 Comments
5,465 Views
You want to deploy Python code with Docker and you have a Windows workstation for development? This post will save you time. My next post describe how to run the same container on IBM Bluemix cloud. Running IPython Notebooks In A...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


A Sudoku Web App Based On DOcloud And Python
In our previous posts ( here and here ) we have shown how to use Python and the DOcloud service for solving any Sudoku puzzle. This was nice but we had to manually modify our Python code each to time we wanted to solve a new grid. We present today...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget


Solving The Hardest Sudoku In Python With DOcloud
The more I use Python, the more I like it. Here is yet another example of why. I looked for Sudoku solvers written in Python and found quite a few. I particularly like the one Peter Norvig describes in Solving Every Sudoku Puzz...
from Blog: IT Best Kept Secret Is Optimization
Modified on by JeanFrancoisPuget
