<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 17:07:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ian Barber's Blog: Linear Regression in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16991</guid>
      <link>http://www.phpdeveloper.org/news/16991</link>
      <description><![CDATA[<p>
<i>Ian Barber</i> has a new post about an interesting method for determining the "line" that results follow in your statistics - <a href="http://phpir.com/linear-regression-in-php">linear regression in PHP</a> (complete with code samples).
</p>
<blockquote>
There are a lot of problems that fall under predicting these types of continuous values based on limited inputs - for example: given the air pressure, how much rain will there be, given the qualifying times, how quick will the fastest lap be in the race. By taking a bunch of existing data and fitting a line, we will be able to make a prediction easily - and often reasonably correctly.
</blockquote>
<p>
He defines two pieces of information, the intercept and the gradient, and how they relate to minimize the "square error" that can come from getting the square root of your values based on the difference between an actual and predicted value. Based on a sample data set, he comes up with <a href="http://phpir.com/user/files/postim1/Screen%20shot%202011-10-12%20at%2011.12.06.png">these results</a>, showing the trend line for the points given. He points out a few issues with the method and corrects them with a few tweaks to his original algorithm.
</p>]]></description>
      <pubDate>Thu, 13 Oct 2011 12:57:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Inside Open Source: Possible addition to array syntax in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7216</guid>
      <link>http://www.phpdeveloper.org/news/7216</link>
      <description><![CDATA[<p>
According to <a href="http://opensource.apress.com/article/232/possible-addition-to-array-syntax-in-php">this new post</a> on the Inside Open Source blog from APress, <i>Andi Gutmas</i> has made a <a href="http://marc.theaimsgroup.com/?l=php-dev&m=117057393530217&w=2"suggestion</a> for a new syntax to be added to the existing array functionality in PHP.
</p>
<p>
The suggestion involves the use of brackets ([ and ]) to declare the initial array, similar to the way other languages (even Javascript) work.
</p>
<blockquote>
The current split among the big players in PHP development looks to be about 50/50. The general thought of the opposition is that it is an unnecessary change that will only lead to confusion in the future. Why create two ways of doing the same thing?
</blockquote>]]></description>
      <pubDate>Mon, 05 Feb 2007 07:34:00 -0600</pubDate>
    </item>
  </channel>
</rss>
