{
  "id": 28855,
  "title": "Keras/TensorFlow's Underlying Algorithim",
  "url": "/competitions/dogs-vs-cats-redux-kernels-edition/discussion/28855",
  "author_name": "",
  "post_date": "2017-02-15T22:53:11.684610400Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>New to Keras/TensorFlow(and NN in general) and ask a basic question here</p>\n\n<p>Are all the algorithms(SGD, Adam, Adagrad, etc.) to solve the parameter values used by Keras/TensorFlow just variants of Stochastic Gradient Descent? <a href=\"https://keras.io/optimizers/\">https://keras.io/optimizers/</a></p>\n\n<p>Look like scklearn uses algorithms(such as Newton) other than SGD to solve Logistic Regression. <a href=\"http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html\">http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html</a></p>\n\n<p>So wonder if NN in real practice/implementation also can use other algo to solve the parameter values.</p>",
  "messages": [
    {
      "id": "161807",
      "postDate": "02/15/2017 22:53:11",
      "content": "<p>New to Keras/TensorFlow(and NN in general) and ask a basic question here</p>\n\n<p>Are all the algorithms(SGD, Adam, Adagrad, etc.) to solve the parameter values used by Keras/TensorFlow just variants of Stochastic Gradient Descent? <a href=\"https://keras.io/optimizers/\">https://keras.io/optimizers/</a></p>\n\n<p>Look like scklearn uses algorithms(such as Newton) other than SGD to solve Logistic Regression. <a href=\"http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html\">http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html</a></p>\n\n<p>So wonder if NN in real practice/implementation also can use other algo to solve the parameter values.</p>",
      "rawMarkdown": "New to Keras/TensorFlow(and NN in general) and ask a basic question here\n\nAre all the algorithms(SGD, Adam, Adagrad, etc.) to solve the parameter values used by Keras/TensorFlow just variants of Stochastic Gradient Descent? https://keras.io/optimizers/\n\nLook like scklearn uses algorithms(such as Newton) other than SGD to solve Logistic Regression. http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html\n\nSo wonder if NN in real practice/implementation also can use other algo to solve the parameter values.",
      "votes": null
    },
    {
      "id": "161812",
      "postDate": "02/15/2017 23:31:58",
      "content": "<p>Yes, they are variations of gradient descent. People have experimented with other techniques (eg gradient free and second order methods) but they aren't used nearly as much.</p>",
      "rawMarkdown": "Yes, they are variations of gradient descent. People have experimented with other techniques (eg gradient free and second order methods) but they aren't used nearly as much.",
      "votes": null
    },
    {
      "id": "162243",
      "postDate": "02/17/2017 20:24:48",
      "content": "<p>I often refer to the following site, it shows how these different algorithms work:\n<a href=\"http://sebastianruder.com/optimizing-gradient-descent/\">http://sebastianruder.com/optimizing-gradient-descent/</a></p>",
      "rawMarkdown": "I often refer to the following site, it shows how these different algorithms work:\nhttp://sebastianruder.com/optimizing-gradient-descent/",
      "votes": null
    },
    {
      "id": "162699",
      "postDate": "02/20/2017 19:03:58",
      "content": "<p>It is possible to use higher order methods, see <a href=\"http://www.deeplearningbook.org/contents/optimization.html\">http://www.deeplearningbook.org/contents/optimization.html</a>  specifically section 8.6 (for the actual implementation of the methods) and section 8.2 also has some discussion on the theory behind these methods.</p>",
      "rawMarkdown": "It is possible to use higher order methods, see [http://www.deeplearningbook.org/contents/optimization.html][1]  specifically section 8.6 (for the actual implementation of the methods) and section 8.2 also has some discussion on the theory behind these methods.\n\n\n  [1]: http://www.deeplearningbook.org/contents/optimization.html",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 161812,
      "author_name": "tylerwilson1123",
      "author_url": "",
      "post_date": "02/15/2017 23:31:58",
      "content": "<p>Yes, they are variations of gradient descent. People have experimented with other techniques (eg gradient free and second order methods) but they aren't used nearly as much.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 162243,
      "author_name": "stmaxx",
      "author_url": "",
      "post_date": "02/17/2017 20:24:48",
      "content": "<p>I often refer to the following site, it shows how these different algorithms work:\n<a href=\"http://sebastianruder.com/optimizing-gradient-descent/\">http://sebastianruder.com/optimizing-gradient-descent/</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 162699,
      "author_name": "meissnereffect",
      "author_url": "",
      "post_date": "02/20/2017 19:03:58",
      "content": "<p>It is possible to use higher order methods, see <a href=\"http://www.deeplearningbook.org/contents/optimization.html\">http://www.deeplearningbook.org/contents/optimization.html</a>  specifically section 8.6 (for the actual implementation of the methods) and section 8.2 also has some discussion on the theory behind these methods.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "161807": "New to Keras/TensorFlow(and NN in general) and ask a basic question here\n\nAre all the algorithms(SGD, Adam, Adagrad, etc.) to solve the parameter values used by Keras/TensorFlow just variants of Stochastic Gradient Descent? https://keras.io/optimizers/\n\nLook like scklearn uses algorithms(such as Newton) other than SGD to solve Logistic Regression. http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html\n\nSo wonder if NN in real practice/implementation also can use other algo to solve the parameter values.",
    "161812": "Yes, they are variations of gradient descent. People have experimented with other techniques (eg gradient free and second order methods) but they aren't used nearly as much.",
    "162243": "I often refer to the following site, it shows how these different algorithms work:\nhttp://sebastianruder.com/optimizing-gradient-descent/",
    "162699": "It is possible to use higher order methods, see [http://www.deeplearningbook.org/contents/optimization.html][1]  specifically section 8.6 (for the actual implementation of the methods) and section 8.2 also has some discussion on the theory behind these methods.\n\n\n  [1]: http://www.deeplearningbook.org/contents/optimization.html"
  },
  "source": "meta"
}