2020

Spark SQL

spark

```txt master MASTERURL --> 运行模式 例:spark://host:port, mesos://host:port, yarn, or local.

Spark Optimization

spark

PROCESSLOCAL data is in the same JVM as the running code. This is the best locality possible NODELOCAL data is on the same node. Examples might be in...

Airflow

airflow

import airflow from airflow.models import DAG from airflow.operators.pythonoperator import PythonOperator

Gradient Descent

ML

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

Light