Newton’s method with 10 lines of Python

danielhomola Blog 9 Comments

I’m starting a new series of blog posts, called “XY in less than 10 lines of Python“. This first one is about Newton’s method, which is an old numerical approximation technique that could be used to find the roots of complex polynomials and any differentiable function. Let’s say we have a complicated polynomial: and we want to find its roots. Unfortunately we know from the Galois …

danielhomolaNewton’s method with 10 lines of Python

Solving “real world” problems with SymPy

danielhomola Blog 3 Comments

SymPy is an amazing library for symbolic mathematics in Python. It’s like Mathematica, and its online shell version along with SymPy Gamma  is pretty much like Wolfram Alpha (WA). OK, I know you can ask WA some pretty cool questions, but let’s face it, most of use just want to find the derivative of a function, or simplify an expression, and not …

danielhomolaSolving “real world” problems with SymPy

MIFS – parallelized Mutual Information based Feature Selection module

danielhomola Blog 3 Comments

TL,DR: I wrapped up three mutual information based feature selection methods in a scikit-learn like module. You can find it on my GitHub. It is very easy to use, you can run the or import it into your project and apply it to your data like any other scikit-learn method.

Mutual information based filter methods The following bit is adopted …

danielhomolaMIFS – parallelized Mutual Information based Feature Selection module

Linear algebra notes and LaTeX

danielhomola Blog 2 Comments

TL;DR I wanted to take a linear algebra course. I also wanted to learn LaTeX. I did both, and wrote a 70-something page long document from my notes of the Linear Algebra Foundations and Frontiers MOOC by The University of Texas at Austin. It still isn’t completely finished and I’m sure there are tons of typos in it but here it is: LAFF notes. …

danielhomolaLinear algebra notes and LaTeX