|
16 | 16 | "metadata": { |
17 | 17 | "collapsed": false, |
18 | 18 | "ExecuteTime": { |
19 | | - "end_time": "2023-05-30T11:24:39.592676963Z", |
20 | | - "start_time": "2023-05-30T11:24:38.752344505Z" |
| 19 | + "end_time": "2023-05-30T11:29:12.673773560Z", |
| 20 | + "start_time": "2023-05-30T11:29:11.794598730Z" |
21 | 21 | } |
22 | 22 | } |
23 | 23 | }, |
|
77 | 77 | "metadata": { |
78 | 78 | "collapsed": false, |
79 | 79 | "ExecuteTime": { |
80 | | - "end_time": "2023-05-30T11:24:39.601388222Z", |
81 | | - "start_time": "2023-05-30T11:24:39.595220683Z" |
| 80 | + "end_time": "2023-05-30T11:29:12.674354346Z", |
| 81 | + "start_time": "2023-05-30T11:29:12.673181781Z" |
82 | 82 | } |
83 | 83 | } |
84 | 84 | }, |
|
127 | 127 | "metadata": { |
128 | 128 | "collapsed": false, |
129 | 129 | "ExecuteTime": { |
130 | | - "end_time": "2023-05-30T11:24:39.608594439Z", |
131 | | - "start_time": "2023-05-30T11:24:39.598362939Z" |
| 130 | + "end_time": "2023-05-30T11:29:12.674773130Z", |
| 131 | + "start_time": "2023-05-30T11:29:12.673886521Z" |
132 | 132 | } |
133 | 133 | } |
134 | 134 | }, |
|
143 | 143 | }, |
144 | 144 | { |
145 | 145 | "cell_type": "code", |
146 | | - "execution_count": 14, |
| 146 | + "execution_count": 4, |
147 | 147 | "outputs": [], |
148 | 148 | "source": [ |
149 | | - "np.random.seed(31)\n", |
| 149 | + "seed = 31\n", |
| 150 | + "np.random.seed(seed)\n", |
150 | 151 | "\n", |
151 | 152 | "num_samples = 200\n", |
152 | 153 | "\n", |
|
164 | 165 | "metadata": { |
165 | 166 | "collapsed": false, |
166 | 167 | "ExecuteTime": { |
167 | | - "end_time": "2023-05-30T11:26:41.690399408Z", |
168 | | - "start_time": "2023-05-30T11:26:41.679178223Z" |
| 168 | + "end_time": "2023-05-30T11:29:12.674967165Z", |
| 169 | + "start_time": "2023-05-30T11:29:12.674147545Z" |
169 | 170 | } |
170 | 171 | } |
171 | 172 | }, |
|
187 | 188 | }, |
188 | 189 | { |
189 | 190 | "cell_type": "code", |
190 | | - "execution_count": 15, |
| 191 | + "execution_count": 5, |
191 | 192 | "outputs": [], |
192 | 193 | "source": [ |
193 | 194 | "alpha = 0.01" |
194 | 195 | ], |
195 | 196 | "metadata": { |
196 | 197 | "collapsed": false, |
197 | 198 | "ExecuteTime": { |
198 | | - "end_time": "2023-05-30T11:26:42.204248073Z", |
199 | | - "start_time": "2023-05-30T11:26:42.198695509Z" |
| 199 | + "end_time": "2023-05-30T11:29:12.675098220Z", |
| 200 | + "start_time": "2023-05-30T11:29:12.674413383Z" |
200 | 201 | } |
201 | 202 | } |
202 | 203 | }, |
|
212 | 213 | }, |
213 | 214 | { |
214 | 215 | "cell_type": "code", |
215 | | - "execution_count": 16, |
| 216 | + "execution_count": 6, |
216 | 217 | "outputs": [ |
217 | 218 | { |
218 | 219 | "data": { |
219 | 220 | "text/plain": "1.2590251585463998" |
220 | 221 | }, |
221 | | - "execution_count": 16, |
| 222 | + "execution_count": 6, |
222 | 223 | "metadata": {}, |
223 | 224 | "output_type": "execute_result" |
224 | 225 | } |
|
234 | 235 | "metadata": { |
235 | 236 | "collapsed": false, |
236 | 237 | "ExecuteTime": { |
237 | | - "end_time": "2023-05-30T11:26:43.329019526Z", |
238 | | - "start_time": "2023-05-30T11:26:43.291981292Z" |
| 238 | + "end_time": "2023-05-30T11:29:12.675350616Z", |
| 239 | + "start_time": "2023-05-30T11:29:12.674591707Z" |
239 | 240 | } |
240 | 241 | } |
241 | 242 | }, |
|
250 | 251 | }, |
251 | 252 | { |
252 | 253 | "cell_type": "code", |
253 | | - "execution_count": 17, |
| 254 | + "execution_count": 7, |
254 | 255 | "outputs": [ |
255 | 256 | { |
256 | 257 | "name": "stderr", |
257 | 258 | "output_type": "stream", |
258 | 259 | "text": [ |
259 | | - "100%|██████████| 1000/1000 [00:00<00:00, 10268.30it/s]\n" |
| 260 | + "100%|██████████| 1000/1000 [00:00<00:00, 10565.58it/s]\n" |
260 | 261 | ] |
261 | 262 | } |
262 | 263 | ], |
|
265 | 266 | " callbacks=[\n", |
266 | 267 | " PermutationTestOnBatchData(\n", |
267 | 268 | " num_permutations=1000,\n", |
268 | | - " random_state=31,\n", |
| 269 | + " random_state=seed,\n", |
269 | 270 | " num_jobs=-1,\n", |
270 | 271 | " name=\"permutation_test\",\n", |
271 | 272 | " verbose=True,\n", |
|
279 | 280 | "metadata": { |
280 | 281 | "collapsed": false, |
281 | 282 | "ExecuteTime": { |
282 | | - "end_time": "2023-05-30T11:26:44.738156952Z", |
283 | | - "start_time": "2023-05-30T11:26:44.496905590Z" |
| 283 | + "end_time": "2023-05-30T11:29:12.965724338Z", |
| 284 | + "start_time": "2023-05-30T11:29:12.674831710Z" |
284 | 285 | } |
285 | 286 | } |
286 | 287 | }, |
287 | 288 | { |
288 | 289 | "cell_type": "code", |
289 | | - "execution_count": 18, |
| 290 | + "execution_count": 8, |
290 | 291 | "outputs": [ |
291 | 292 | { |
292 | 293 | "name": "stdout", |
|
307 | 308 | "metadata": { |
308 | 309 | "collapsed": false, |
309 | 310 | "ExecuteTime": { |
310 | | - "end_time": "2023-05-30T11:26:45.514588648Z", |
311 | | - "start_time": "2023-05-30T11:26:45.498548822Z" |
| 311 | + "end_time": "2023-05-30T11:29:12.968937738Z", |
| 312 | + "start_time": "2023-05-30T11:29:12.899234654Z" |
312 | 313 | } |
313 | 314 | } |
314 | 315 | }, |
|
323 | 324 | }, |
324 | 325 | { |
325 | 326 | "cell_type": "code", |
326 | | - "execution_count": 20, |
| 327 | + "execution_count": 9, |
327 | 328 | "outputs": [ |
328 | 329 | { |
329 | 330 | "data": { |
|
407 | 408 | "metadata": { |
408 | 409 | "collapsed": false, |
409 | 410 | "ExecuteTime": { |
410 | | - "end_time": "2023-05-30T11:27:16.444774590Z", |
411 | | - "start_time": "2023-05-30T11:27:07.831497265Z" |
| 411 | + "end_time": "2023-05-30T11:29:21.506878331Z", |
| 412 | + "start_time": "2023-05-30T11:29:12.911649556Z" |
412 | 413 | } |
413 | 414 | } |
414 | 415 | }, |
|
0 commit comments