Skip to content

Commit 5349e94

Browse files
committed
Updated notebook
1 parent 3e4610b commit 5349e94

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

examples/sparse_plus_low_rank.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# <center>Compressing Influence Matrix Using Sparse Plus Low Rank</center>\n",
99
"\n",
10-
"The dose influence matrix is a fundamental component in the optimization process, but its handling can introduce computational challenges. The original matrix, being dense, requires substantial computational resources to manage. Hence, PortPy, by default, loads a truncated version of the matrix. For more accurate dose calculations or customized sparsification, users have the option to load the dense influence matrix. This example will guide you through the following processes:\n",
10+
"The dose influence matrix is a fundamental component in the optimization process, but its handling can introduce computational challenges. The original matrix, being dense, requires substantial computational resources to manage. Hence, sparse influence matrix is being used in planning acorss various TPS to avoid computational issue. But it often leads to sub-optimal solutions, thus comprimising accuracy and plan quality. Hence we introduce novel technique of compressing original dense matrix using sparse plus low rank technique\n",
1111
"\n",
1212
"1. Generating a plan utilizing the sparse matrix with naive threshold of 1% of max(A)\n",
1313
"2. Compressed planning using Sparse plus low rank method\n",
@@ -25,7 +25,7 @@
2525
{
2626
"cell_type": "code",
2727
"execution_count": 1,
28-
"id": "9d19e81e",
28+
"id": "e22f040d",
2929
"metadata": {},
3030
"outputs": [],
3131
"source": [
@@ -136,7 +136,7 @@
136136
{
137137
"cell_type": "code",
138138
"execution_count": 6,
139-
"id": "2191b75f",
139+
"id": "76d3e070",
140140
"metadata": {
141141
"scrolled": false
142142
},
@@ -291,10 +291,10 @@
291291
},
292292
{
293293
"cell_type": "markdown",
294-
"id": "16277fc6",
294+
"id": "55164877",
295295
"metadata": {},
296296
"source": [
297-
"Instead of optimizing the plan using sparse influence matrix $ S $ we optimize it using sparse plus low rank of small values of influence matrix $L = A-S$, which is given by,\n",
297+
"Instead of optimizing the plan using sparse influence matrix $ S $ we optimize it using sparse plus low rank of small values of dense influence matrix $L = A-S$, which is given by,\n",
298298
"$\n",
299299
"\\mbox{Minimize}: f(S\\mathbf{x} + HW\\mathbf{x})\\\\\n",
300300
"\\mbox{s.t}\n",
@@ -327,7 +327,7 @@
327327
{
328328
"cell_type": "code",
329329
"execution_count": 8,
330-
"id": "702fdd4f",
330+
"id": "3192b1f6",
331331
"metadata": {
332332
"scrolled": false
333333
},
@@ -745,7 +745,7 @@
745745
{
746746
"cell_type": "code",
747747
"execution_count": null,
748-
"id": "2e3ad747",
748+
"id": "46a80e0a",
749749
"metadata": {},
750750
"outputs": [],
751751
"source": []

0 commit comments

Comments
 (0)