http://sbp810050504.blog.51cto.com/2799422/1269572 最小二乘法! 特别重要! 这段时间学习《机器学习》,学到第5章的“Logistic回归”,感觉相当吃力。追本溯源,从“Logistic回归”到“线性回归”,再到“最小二乘法”。最终定格到了《高等数学》(第六版·下册)第九章第10节“最小二乘法”,这才了解到最小二乘法背后的数学原理出自哪里。 “最小二乘法”是最优化问题中建立经验公式的一种实现方法。了解它的原理,对于了解“Logistic回归”和“支持向量机的学习”都很有裨益。
注意:进行同步的学习!!Ajax:异步的从远端(服务器)提供需要的数据! .load(url,[data],[callback]) $.get(url,[data],[callback]) $.post(url,[data],[callback],[type]) $.getScript(url,[callback]) $.ajax 事件(有安全机制 所以xw推荐我们使用它!) $.ajax 事件 ```javascript // Using the core $.ajax() method $.ajax({ // the URL for the request url: “post.php”, // the data to send (will be converted to a query string) data: { id: 123 }, // whether this is a POST or GET request type: “GET”, // the type of data we expect back dataType : “json”, // code to run if the request succeeds; // the response is passed to the function success: function( json ) { $( “