Hi there, I'm Renny Harlin
Welcome to my corner of the internet. I write about Artificial Intelligence, Computer Science, and Robotics. Occasionally I also philosophize about my life.
Recent posts
The Art of an Effective Prompt
LLMs just predict the next token, so your prompt decides the answer. Practical ways to prompt better: be specific, give examples and provide context.
Ax=b: The Jack of all Trades
Why x = A⁻¹b doesn't always work: vector spaces, subspaces, rank and the cases of Ax=b that lead to the Moore-Penrose pseudoinverse.
Probability Distributions
Random variables and the common discrete and continuous probability distributions, explained so they finally stick.
Principal Component Analysis (PCA)
An intuitive look at Principal Component Analysis: why eigenvectors of the covariance matrix point toward maximum variance, and how PCA reduces dimensions.
Linear Regression
Linear regression from the ground up: deriving the best fit line from squared error, then LASSO, Ridge and Elastic Net regularization.
HDFS and MapReduce: Revolutionizing Big Data Processing
A step-by-step walkthrough of HDFS and MapReduce, from uploading a CSV into HDFS to computing the average movie rating per genre with Hadoop.
Regular Expressions
A quick reference to regular expressions: literals, character classes, quantifiers, anchors, grouping and more, with examples in Python's re module.
Forward and inverse kinematics of a 2-link manipulator
Deriving the forward and inverse kinematics of a 2-link planar manipulator using geometry and Atan2.