Skip to content

Commit fab0fed

Browse files
authored
Fix: Set notebook version of library to latest (#57)
* fix: set version of notebooks automatically to latest * chore: added linear_regression tutorial notebook * chore: added linear_regression to README.md
1 parent c0aad32 commit fab0fed

File tree

6 files changed

+548
-3
lines changed

6 files changed

+548
-3
lines changed

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ The following are the currently available examples:
66
- **Matrix Multiplication** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NillionNetwork/nada-numpy/blob/main/examples/matrix_multiplication/matrix_multiplication.ipynb)
77
- **Broadcasting** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NillionNetwork/nada-numpy/blob/main/examples/broadcasting/broadcasting.ipynb)
88
- **Rational Numbers** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NillionNetwork/nada-numpy/blob/main/examples/rational_numbers/rational_numbers.ipynb)
9+
- **[Advanced] Linear Regression Closed-Form Training** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NillionNetwork/nada-numpy/blob/main/examples/linear_regression/linear_regression.ipynb)

examples/broadcasting/broadcasting.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"outputs": [],
6262
"source": [
63-
"%pip install nada-numpy~=0.3.0 --quiet"
63+
"%pip install nada-numpy --quiet"
6464
]
6565
},
6666
{

examples/dot_product/dot_product.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
}
8282
],
8383
"source": [
84-
"%pip install nada-numpy~=0.3.0 --quiet"
84+
"%pip install nada-numpy --quiet"
8585
]
8686
},
8787
{

examples/linear_regression/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Linear Regression Closed-Form Solution Tutorial
2+
3+
[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NillionNetwork/nada-numpy/blob/main/examples/linear_regression/linear_regression.ipynb)
4+
5+
This tutorial shows how to train a linear regression privately based on the closed-form solution to linear regression.
6+
7+
This is an implementation on the [paper by Blom et al.](https://eprint.iacr.org/2019/773.pdf)
8+
9+
## 🚨 Limitations
10+
The choice for blind computing implies certain trade-offs in comparison to conventional computing. What you gain in privacy, you pay in extra computational overhead & capacity constraints.
11+
12+
Therefore, you will notice that large-scale computational workloads may lead to long compilation and/or execution times or hitting network capacity guardrails.
13+
14+
That said, the Nillion team is working around the clock to push the boundaries of this technology and bring the potential of blind computing to reality 🚀
15+
16+
👉 This example has been tested on local devnet with the current given dimension of 3 x 3.
17+
18+
## ➡️ Stay in touch
19+
If you want to get involved in the blind computing community and be the first to know all big updates, join our Discord
20+
21+
[![Discord](https://img.shields.io/badge/Discord-nillionnetwork-%235865F2?logo=discord)](https://discord.gg/nillionnetwork)
22+
23+
And if you want to contribute to the blind computing revolution, we welcome open-source contributors!
24+
25+
[![GitHub Discussions](https://img.shields.io/badge/GitHub_Discussions-NillionNetwork-%23181717?logo=github)](https://github.com/orgs/NillionNetwork/discussions)

0 commit comments

Comments
 (0)