Skip to content

Commit cc9021b

Browse files
committed
First public release for NExOS
1 parent 8bd7200 commit cc9021b

File tree

2 files changed

+24
-26
lines changed

2 files changed

+24
-26
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In `Julia REPL`, type
2020

2121
## Usage
2222

23-
Below is a short usage example on using `NExOS.jl` for sparse regression problem (for other examples, please see [Tutorials](#Tutorials)).
23+
Below is a short usage example on using `NExOS.jl` for [sparse regression problem](https://nbviewer.jupyter.org/github/Shuvomoy/NExOS.jl/blob/master/tutorials/sparse_regression_using_NExOS.ipynb) (for other examples, please see [Tutorials](#Tutorials)).
2424

2525
```julia
2626
# Load the packages
@@ -30,7 +30,6 @@ using Random, NExOS, ProximalOperators
3030
m = 25
3131
n = 50
3232
A = randn(m,n)
33-
A = randn(m,n)
3433
b = randn(m)
3534
M = 100
3635
k = convert(Int64, round(m/3))

tutorials/sparse_regression_using_NExOS.ipynb

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"execution_count": 1,
3232
"metadata": {
3333
"execution": {
34-
"iopub.status.busy": "2020-11-11T15:30:42.494Z",
35-
"iopub.execute_input": "2020-11-11T15:30:43.056Z",
36-
"iopub.status.idle": "2020-11-11T15:30:55.423Z"
34+
"iopub.status.busy": "2020-11-11T18:35:58.213Z",
35+
"iopub.execute_input": "2020-11-11T18:35:58.684Z",
36+
"iopub.status.idle": "2020-11-11T18:36:09.892Z"
3737
}
3838
}
3939
},
@@ -50,7 +50,6 @@
5050
"m = 25\n",
5151
"n = 50\n",
5252
"A = randn(m,n)\n",
53-
"A = randn(m,n)\n",
5453
"b = randn(m)\n",
5554
"M = 100\n",
5655
"k = convert(Int64, round(m/3))\n",
@@ -69,9 +68,9 @@
6968
"execution_count": 2,
7069
"metadata": {
7170
"execution": {
72-
"iopub.status.busy": "2020-11-11T15:30:55.432Z",
73-
"iopub.execute_input": "2020-11-11T15:30:55.824Z",
74-
"iopub.status.idle": "2020-11-11T15:30:57.511Z"
71+
"iopub.status.busy": "2020-11-11T18:36:09.902Z",
72+
"iopub.execute_input": "2020-11-11T18:36:10.269Z",
73+
"iopub.status.idle": "2020-11-11T18:36:11.502Z"
7574
}
7675
}
7776
},
@@ -104,9 +103,9 @@
104103
"execution_count": 3,
105104
"metadata": {
106105
"execution": {
107-
"iopub.status.busy": "2020-11-11T15:30:57.527Z",
108-
"iopub.execute_input": "2020-11-11T15:30:57.545Z",
109-
"iopub.status.idle": "2020-11-11T15:30:59.721Z"
106+
"iopub.status.busy": "2020-11-11T18:36:11.512Z",
107+
"iopub.execute_input": "2020-11-11T18:36:11.519Z",
108+
"iopub.status.idle": "2020-11-11T18:36:13.171Z"
110109
}
111110
}
112111
},
@@ -127,17 +126,17 @@
127126
"output_type": "execute_result",
128127
"execution_count": 4,
129128
"data": {
130-
"text/plain": "State{Array{Float64,1},Int64,Float64}([-1.2524621301508779e-8, -3.6751270002122006e-9, -0.39320187373700755, 9.22653516573817e-9, 1.5129706915674935e-8, 0.4357960444260704, -2.259401393269908e-8, 1.3889241406124104e-9, 2.9730535810395402e-9, 3.06400647086749e-9 … -3.2479118083545196e-8, 4.836971965759645e-9, 9.191892814264385e-9, 6.675726671290362e-9, -5.168506057262721e-9, -2.2741186563059717e-8, -0.33056126538230574, 2.2996069601239075e-8, -1.5840142859842104e-8, 0.29452540272689054], [-1.3281798144261228e-8, -3.897335289126129e-9, -0.39320187480552615, 9.784345340772926e-9, 1.604439773046142e-8, 0.4357960434548361, -2.3960007157182014e-8, 1.4729021137531158e-9, 3.1527745420703963e-9, 3.2492558819354536e-9 … -3.4442740642721185e-8, 5.129401262652161e-9, 9.747596517998287e-9, 7.079381206637663e-9, -5.480975565878605e-9, -2.411606745594044e-8, -0.33056126444915457, 2.4386342208835653e-8, -1.6797792548192827e-8, 0.2945254029210682], [1.2457152923814998e-7, 3.655358749296986e-8, -0.39320187373700755, -9.176853095414572e-8, -1.5048229401086435e-7, 0.4357960444260703, 2.2472375979597544e-7, -1.3814530069729425e-8, -2.9570224711745333e-8, -3.0475162600465546e-8 … 3.2304255939302337e-7, -4.8109260166726333e-8, -9.14238480000739e-8, -6.639840840372462e-8, 5.140671388828033e-8, 2.2618745837292143e-7, -0.3305612653823056, -2.28722380435492e-7, 1.5754848049580197e-7, 0.29452540272689054], 2, 1.963622559175989e-9, 3.4442740642721185e-8, 9.385625688121253e-9, 9.68794389337658e-8)"
129+
"text/plain": "State{Array{Float64,1},Int64,Float64}([0.24701000766550982, -0.24356676418901654, 5.398080115334404e-8, -3.4929684602205246e-9, 2.6065156412524142e-8, 1.5946069144306067e-8, -7.630900321164644e-9, 3.907322609359914e-9, -3.972535918634318e-8, -2.317536490058187e-9 … -3.069384498367188e-9, 9.744408143847951e-9, -1.2217929273801725e-8, -2.9938485516205667e-8, 1.2370000675166513e-9, -0.2324999125397446, -5.372515086168684e-9, 0.5657579002049802, -3.4057851523858884e-8, 2.9848750351434576e-8], [0.24701000772586093, -0.24356676425942392, 5.7244326295707174e-8, -3.7041633897196132e-9, 2.7640953104422848e-8, 1.691009427084463e-8, -8.092314755556757e-9, 4.1435552164323004e-9, -4.2127065930870655e-8, -2.4576877899582207e-9 … -3.2550197141275017e-9, 1.0333505843181107e-8, -1.2956586048500635e-8, -3.1748567496928025e-8, 1.3116831310921374e-9, -0.23249991218033036, -5.697292475655342e-9, 0.5657579004409481, -3.611700315797661e-8, 3.165346638765637e-8], [0.24701000766550976, -0.2435667641890165, -5.3690129855456e-7, 3.474180488783803e-8, -2.592477377230451e-7, -1.586017446844432e-7, 7.589884391165743e-8, -3.886290048478037e-8, 3.9511475131091067e-7, 2.305098150516354e-8 … 3.052927946946281e-8, -9.691915181179844e-8, 1.2152134699676747e-7, 2.977736466590621e-7, -1.2302334444824045e-8, -0.2324999125397446, 5.3435551293638174e-8, 0.5657579002049802, 3.3874574390849054e-7, -2.9688173793408416e-7], 2, 3.9235795081516326e-9, 6.882125117023454e-8, 9.385625688121253e-9, 9.68794389337658e-8)"
131130
},
132131
"metadata": {}
133132
}
134133
],
135134
"execution_count": 4,
136135
"metadata": {
137136
"execution": {
138-
"iopub.status.busy": "2020-11-11T15:30:59.733Z",
139-
"iopub.execute_input": "2020-11-11T15:30:59.740Z",
140-
"iopub.status.idle": "2020-11-11T15:31:04.435Z"
137+
"iopub.status.busy": "2020-11-11T18:36:13.180Z",
138+
"iopub.execute_input": "2020-11-11T18:36:13.186Z",
139+
"iopub.status.idle": "2020-11-11T18:36:17.403Z"
141140
}
142141
}
143142
},
@@ -166,9 +165,9 @@
166165
"execution_count": 5,
167166
"metadata": {
168167
"execution": {
169-
"iopub.status.busy": "2020-11-11T15:31:04.443Z",
170-
"iopub.execute_input": "2020-11-11T15:31:04.449Z",
171-
"iopub.status.idle": "2020-11-11T15:31:04.698Z"
168+
"iopub.status.busy": "2020-11-11T18:36:17.427Z",
169+
"iopub.execute_input": "2020-11-11T18:36:17.438Z",
170+
"iopub.status.idle": "2020-11-11T18:36:17.675Z"
172171
}
173172
}
174173
},
@@ -190,9 +189,9 @@
190189
"execution_count": 6,
191190
"metadata": {
192191
"execution": {
193-
"iopub.status.busy": "2020-11-11T15:31:04.705Z",
194-
"iopub.execute_input": "2020-11-11T15:31:04.711Z",
195-
"iopub.status.idle": "2020-11-11T15:31:04.724Z"
192+
"iopub.status.busy": "2020-11-11T18:36:17.686Z",
193+
"iopub.execute_input": "2020-11-11T18:36:17.691Z",
194+
"iopub.status.idle": "2020-11-11T18:36:17.706Z"
196195
}
197196
}
198197
},
@@ -206,17 +205,17 @@
206205
"output_type": "execute_result",
207206
"execution_count": 7,
208207
"data": {
209-
"text/plain": "1.5220193349339144"
208+
"text/plain": "3.510658260563844"
210209
},
211210
"metadata": {}
212211
}
213212
],
214213
"execution_count": 7,
215214
"metadata": {
216215
"execution": {
217-
"iopub.status.busy": "2020-11-11T15:31:04.732Z",
218-
"iopub.execute_input": "2020-11-11T15:31:04.738Z",
219-
"iopub.status.idle": "2020-11-11T15:31:04.758Z"
216+
"iopub.status.busy": "2020-11-11T18:36:17.717Z",
217+
"iopub.execute_input": "2020-11-11T18:36:17.724Z",
218+
"iopub.status.idle": "2020-11-11T18:36:17.753Z"
220219
}
221220
}
222221
}

0 commit comments

Comments
 (0)