Browse tags

From the archive

2020

Everything published in 2020.

DATA ENGINEERING

Spark SQL

Spark submit options and tuning notes covering executors, memory, parallelism, and resource allocation on YARN.

DATA ENGINEERING

Spark Optimization

Data locality is how close data is to the code processing it. There are several levels of locality based on the data’s current location. In order from closest to farthest:

DATA ENGINEERING

Airflow

Airflow DAG examples for scheduling Python tasks, configuring retries and queues, and separating task implementations.

DATA ENGINEERING

Spark Structured Streaming

Recently reading a blog Structured Streaming in PySpark It's implemented in Databricks platform. Then I try to implement in my local Spark. Some tricky issue happened during my...

MACHINE LEARNING

Gradient Descent

Vanilla gradient descent, aka batch gradient descent, computes the gradient of the cost function w.r.t. to the parameters θ