# Chapter 1
curl -o chapter1/linear_regression.ipynb https://raw.githubusercontent.com/gavinkhung/gradient-descent/refs/heads/main/linear_regression.ipynb
curl -o chapter1/REGRESSION-gradientDescent-data.txt https://raw.githubusercontent.com/gavinkhung/gradient-descent/refs/heads/main/REGRESSION-gradientDescent-data.txt

# Chapter 2
curl -o chapter2/pca.ipynb https://raw.githubusercontent.com/gavinkhung/pca/refs/heads/main/pca.ipynb
curl -o chapter2/k_means.ipynb https://raw.githubusercontent.com/gavinkhung/k-means-clustering/refs/heads/main/k_means.ipynb

# Chapter 3
curl -o chapter3/logistic_regression.ipynb https://raw.githubusercontent.com/gavinkhung/logistic-regression/refs/heads/main/logistic-regression.ipynb
curl -o chapter3/perceptron.ipynb https://raw.githubusercontent.com/gavinkhung/perceptron/refs/heads/main/perceptron.ipynb

# Chapter 4
curl -o chapter4/neural_network.ipynb https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/neural_network.ipynb
curl -o chapter4/plot/nn.svg https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/plot/nn.svg
curl -o chapter4/plot/architecture/nn-1.png https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/plot/architecture/nn-1.png

curl -o chapter4/neural_network_weights.ipynb https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/neural_network_weights.ipynb