Skip to content

Commit 1ea17b9

Browse files
committed
edits to results
1 parent 55cac81 commit 1ea17b9

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

docs/notebooks/momentum.ipynb

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
},
123123
{
124124
"cell_type": "code",
125-
"execution_count": null,
125+
"execution_count": 7,
126126
"id": "794004c5-588c-4590-ae96-c6d9e52109ff",
127127
"metadata": {},
128128
"outputs": [],
@@ -295,8 +295,7 @@
295295
"GPU available: True (mps), used: True\n",
296296
"TPU available: False, using: 0 TPU cores\n",
297297
"IPU available: False, using: 0 IPUs\n",
298-
"HPU available: False, using: 0 HPUs\n",
299-
"Running in `fast_dev_run` mode: will run the requested loop using 10 batch(es). Logging and checkpointing is suppressed.\n"
298+
"HPU available: False, using: 0 HPUs\n"
300299
]
301300
}
302301
],
@@ -338,21 +337,21 @@
338337
"name": "stdout",
339338
"output_type": "stream",
340339
"text": [
341-
"Epoch 0: 100%|██████████| 10/10 [06:00<00:00, 0.03it/s, loss_step=242.0, val_loss_step=260.0, cindex_step=0.585, val_loss_epoch=260.0, cindex_epoch=0.579, loss_epoch=265.0]"
340+
"Epoch 1: 100%|██████████| 11/11 [02:19<00:00, 0.08it/s, loss_step=226.0, val_loss_step=257.0, cindex_step=0.672, val_loss_epoch=256.0, cindex_epoch=0.676, loss_epoch=234.0]"
342341
]
343342
},
344343
{
345344
"name": "stderr",
346345
"output_type": "stream",
347346
"text": [
348-
"`Trainer.fit` stopped: `max_steps=10` reached.\n"
347+
"`Trainer.fit` stopped: `max_epochs=2` reached.\n"
349348
]
350349
},
351350
{
352351
"name": "stdout",
353352
"output_type": "stream",
354353
"text": [
355-
"Epoch 0: 100%|██████████| 10/10 [06:00<00:00, 0.03it/s, loss_step=242.0, val_loss_step=260.0, cindex_step=0.585, val_loss_epoch=260.0, cindex_epoch=0.579, loss_epoch=265.0]\n"
354+
"Epoch 1: 100%|██████████| 11/11 [02:19<00:00, 0.08it/s, loss_step=226.0, val_loss_step=257.0, cindex_step=0.672, val_loss_epoch=256.0, cindex_epoch=0.676, loss_epoch=234.0]\n"
356355
]
357356
}
358357
],
@@ -371,19 +370,19 @@
371370
"name": "stdout",
372371
"output_type": "stream",
373372
"text": [
374-
"Testing DataLoader 0: 100%|██████████| 10/10 [03:09<00:00, 0.05it/s]\n",
373+
"Testing DataLoader 0: 100%|██████████| 20/20 [02:14<00:00, 0.15it/s]\n",
375374
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n",
376375
" Test metric DataLoader 0\n",
377376
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n",
378-
" cindex_epoch 0.5841928124427795\n",
379-
" val_loss_epoch -90.17676544189453\n",
377+
" cindex_epoch 0.6842407584190369\n",
378+
" val_loss_epoch -70.17123413085938\n",
380379
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n"
381380
]
382381
},
383382
{
384383
"data": {
385384
"text/plain": [
386-
"[{'val_loss_epoch': -90.17676544189453, 'cindex_epoch': 0.5841928124427795}]"
385+
"[{'val_loss_epoch': -70.17123413085938, 'cindex_epoch': 0.6842407584190369}]"
387386
]
388387
},
389388
"execution_count": 15,
@@ -439,7 +438,6 @@
439438
"TPU available: False, using: 0 TPU cores\n",
440439
"IPU available: False, using: 0 IPUs\n",
441440
"HPU available: False, using: 0 HPUs\n",
442-
"Running in `fast_dev_run` mode: will run the requested loop using 10 batch(es). Logging and checkpointing is suppressed.\n",
443441
"\n",
444442
" | Name | Type | Params\n",
445443
"-----------------------------------\n",
@@ -455,21 +453,21 @@
455453
"name": "stdout",
456454
"output_type": "stream",
457455
"text": [
458-
"Epoch 0: 100%|██████████| 10/10 [01:27<00:00, 0.11it/s, loss_step=65.60, val_loss_step=67.00, cindex_step=0.524, val_loss_epoch=66.40, cindex_epoch=0.519, loss_epoch=52.70]"
456+
"Epoch 1: 100%|██████████| 110/110 [04:34<00:00, 0.40it/s, loss_step=60.70, val_loss_step=60.50, cindex_step=0.736, val_loss_epoch=59.90, cindex_epoch=0.805, loss_epoch=62.30]"
459457
]
460458
},
461459
{
462460
"name": "stderr",
463461
"output_type": "stream",
464462
"text": [
465-
"`Trainer.fit` stopped: `max_steps=10` reached.\n"
463+
"`Trainer.fit` stopped: `max_epochs=2` reached.\n"
466464
]
467465
},
468466
{
469467
"name": "stdout",
470468
"output_type": "stream",
471469
"text": [
472-
"Epoch 0: 100%|██████████| 10/10 [01:27<00:00, 0.11it/s, loss_step=65.60, val_loss_step=67.00, cindex_step=0.524, val_loss_epoch=66.40, cindex_epoch=0.519, loss_epoch=52.70]\n"
470+
"Epoch 1: 100%|██████████| 110/110 [04:34<00:00, 0.40it/s, loss_step=60.70, val_loss_step=60.50, cindex_step=0.736, val_loss_epoch=59.90, cindex_epoch=0.805, loss_epoch=62.30]\n"
473471
]
474472
}
475473
],
@@ -498,19 +496,19 @@
498496
"name": "stdout",
499497
"output_type": "stream",
500498
"text": [
501-
"Testing DataLoader 0: 100%|██████████| 10/10 [00:29<00:00, 0.34it/s]\n",
499+
"Testing DataLoader 0: 100%|██████████| 200/200 [04:26<00:00, 0.75it/s]\n",
502500
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n",
503501
" Test metric DataLoader 0\n",
504502
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n",
505-
" cindex_epoch 0.521008312702179\n",
506-
" val_loss_epoch 66.2925796508789\n",
503+
" cindex_epoch 0.8023210763931274\n",
504+
" val_loss_epoch 91.81409454345703\n",
507505
"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n"
508506
]
509507
},
510508
{
511509
"data": {
512510
"text/plain": [
513-
"[{'val_loss_epoch': 66.2925796508789, 'cindex_epoch': 0.521008312702179}]"
511+
"[{'val_loss_epoch': 91.81409454345703, 'cindex_epoch': 0.8023210763931274}]"
514512
]
515513
},
516514
"execution_count": 18,
@@ -581,9 +579,9 @@
581579
"name": "stdout",
582580
"output_type": "stream",
583581
"text": [
584-
"Cindex (regular) = 0.5925866365432739\n",
585-
"Cindex (momentum) = 0.5304314494132996\n",
586-
"Compare (p-value) = 0.9395550489425659\n"
582+
"Cindex (regular) = 0.7037245035171509\n",
583+
"Cindex (momentum) = 0.7813159823417664\n",
584+
"Compare (p-value) = 0.0004994003102183342\n"
587585
]
588586
}
589587
],

0 commit comments

Comments
 (0)