{
  "id": 290372,
  "title": "My Learning Curse make me confused!",
  "url": "/competitions/digit-recognizer/discussion/290372",
  "author_name": "Tan Phan",
  "post_date": "2021-11-24T10:09:48.933000",
  "votes": 4,
  "comment_count": 5,
  "views": null,
  "content": "<p>When training model, your model is good if Loss in training/validation is decreasing and Accuracy in training/validation is increasing.</p>\n<p>I was training my model in twice. <br>\nThe firstly, the Learning Curse look like good. <br>\nSo, I found out the epoch with the best Validation value. <br>\nAnd finally, training again with the best epoch I have found. <br>\nBut the second Learning Curse is so zigzag. <br>\nIs is normal? </p>\n<p>P/S: my kernel in <a href=\"https://www.kaggle.com/phanttan/cnn-keras-99-accuracy/\" target=\"_blank\">here</a></p>",
  "messages": [
    {
      "id": 1593839,
      "postDate": "2021-11-24T10:09:48.933Z",
      "content": "<p>When training model, your model is good if Loss in training/validation is decreasing and Accuracy in training/validation is increasing.</p>\n<p>I was training my model in twice. <br>\nThe firstly, the Learning Curse look like good. <br>\nSo, I found out the epoch with the best Validation value. <br>\nAnd finally, training again with the best epoch I have found. <br>\nBut the second Learning Curse is so zigzag. <br>\nIs is normal? </p>\n<p>P/S: my kernel in <a href=\"https://www.kaggle.com/phanttan/cnn-keras-99-accuracy/\" target=\"_blank\">here</a></p>",
      "rawMarkdown": "When training model, your model is good if Loss in training/validation is decreasing and Accuracy in training/validation is increasing.\n\nI was training my model in twice. \nThe firstly, the Learning Curse look like good. \nSo, I found out the epoch with the best Validation value. \nAnd finally, training again with the best epoch I have found. \nBut the second Learning Curse is so zigzag. \nIs is normal? \n\nP/S: my kernel in [here](https://www.kaggle.com/phanttan/cnn-keras-99-accuracy/)",
      "votes": 4
    },
    {
      "id": 1611598,
      "postDate": "2021-12-08T05:05:29.990Z",
      "content": "<p>I find out my errors, thank you <a href=\"https://www.kaggle.com/meowmeowmeowmeowmeow\" target=\"_blank\">@meowmeowmeowmeowmeow</a> , <a href=\"https://www.kaggle.com/haphuongdo\" target=\"_blank\">@haphuongdo</a> </p>",
      "rawMarkdown": "I find out my errors, thank you @meowmeowmeowmeowmeow , @haphuongdo ",
      "votes": 1
    },
    {
      "id": 1593847,
      "postDate": "2021-11-24T10:19:09.657Z",
      "content": "<p>Did you fix a random seed? Your weights are initialized randomly. That's why training results may differ from run to run. Other think to pay attention - data shuffling. It also depends on random.<br>\nIn general, it is a red flag, that your model is not stable in traning.</p>",
      "rawMarkdown": "Did you fix a random seed? Your weights are initialized randomly. That's why training results may differ from run to run. Other think to pay attention - data shuffling. It also depends on random.\nIn general, it is a red flag, that your model is not stable in traning.",
      "votes": 1,
      "replies": [
        {
          "id": 1593855,
          "postDate": "2021-11-24T10:31:03.787Z",
          "content": "<p>Is \"red flag\"  mean the curse will go up and down, up and down?</p>",
          "rawMarkdown": "Is \"red flag\"  mean the curse will go up and down, up and down?",
          "votes": 1
        },
        {
          "id": 1593922,
          "postDate": "2021-11-24T11:52:35.507Z",
          "content": "<p>I mean that your training process is not stable and depends on random. Sometimes it way finishes successfully, sometimes - not.  And even extreme case - imagine you have trained model successfully. And next 100 run training may be failed.</p>",
          "rawMarkdown": "I mean that your training process is not stable and depends on random. Sometimes it way finishes successfully, sometimes - not.  And even extreme case - imagine you have trained model successfully. And next 100 run training may be failed.",
          "votes": 1
        },
        {
          "id": 1596228,
          "postDate": "2021-11-26T09:34:19.403Z",
          "content": "<p>Thank for your suggestion <a href=\"https://www.kaggle.com/meowmeowmeowmeowmeow\" target=\"_blank\">@meowmeowmeowmeowmeow</a> I am feel not good in \"reproduction\". I created a small model and ask in <a href=\"https://www.kaggle.com/c/digit-recognizer/discussion/290502\" target=\"_blank\">here</a>.<br>\nI appreciate your time to visit in.</p>",
          "rawMarkdown": "Thank for your suggestion @meowmeowmeowmeowmeow I am feel not good in \"reproduction\". I created a small model and ask in [here](https://www.kaggle.com/c/digit-recognizer/discussion/290502).\nI appreciate your time to visit in.",
          "votes": 2
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1611598,
      "author_name": "Tan Phan",
      "author_url": "",
      "post_date": "2021-12-08T05:05:29.990000",
      "content": "<p>I find out my errors, thank you <a href=\"https://www.kaggle.com/meowmeowmeowmeowmeow\" target=\"_blank\">@meowmeowmeowmeowmeow</a> , <a href=\"https://www.kaggle.com/haphuongdo\" target=\"_blank\">@haphuongdo</a> </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1593847,
      "author_name": "Mykola",
      "author_url": "",
      "post_date": "2021-11-24T10:19:09.657000",
      "content": "<p>Did you fix a random seed? Your weights are initialized randomly. That's why training results may differ from run to run. Other think to pay attention - data shuffling. It also depends on random.<br>\nIn general, it is a red flag, that your model is not stable in traning.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1593855,
          "author_name": "haphuongdo",
          "author_url": "",
          "post_date": "2021-11-24T10:31:03.787000",
          "content": "<p>Is \"red flag\"  mean the curse will go up and down, up and down?</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1593922,
          "author_name": "Mykola",
          "author_url": "",
          "post_date": "2021-11-24T11:52:35.507000",
          "content": "<p>I mean that your training process is not stable and depends on random. Sometimes it way finishes successfully, sometimes - not.  And even extreme case - imagine you have trained model successfully. And next 100 run training may be failed.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1596228,
          "author_name": "Tan Phan",
          "author_url": "",
          "post_date": "2021-11-26T09:34:19.403000",
          "content": "<p>Thank for your suggestion <a href=\"https://www.kaggle.com/meowmeowmeowmeowmeow\" target=\"_blank\">@meowmeowmeowmeowmeow</a> I am feel not good in \"reproduction\". I created a small model and ask in <a href=\"https://www.kaggle.com/c/digit-recognizer/discussion/290502\" target=\"_blank\">here</a>.<br>\nI appreciate your time to visit in.</p>",
          "votes": 2,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1593839": "When training model, your model is good if Loss in training/validation is decreasing and Accuracy in training/validation is increasing.\n\nI was training my model in twice. \nThe firstly, the Learning Curse look like good. \nSo, I found out the epoch with the best Validation value. \nAnd finally, training again with the best epoch I have found. \nBut the second Learning Curse is so zigzag. \nIs is normal? \n\nP/S: my kernel in [here](https://www.kaggle.com/phanttan/cnn-keras-99-accuracy/)",
    "1611598": "I find out my errors, thank you @meowmeowmeowmeowmeow , @haphuongdo ",
    "1593847": "Did you fix a random seed? Your weights are initialized randomly. That's why training results may differ from run to run. Other think to pay attention - data shuffling. It also depends on random.\nIn general, it is a red flag, that your model is not stable in traning."
  }
}