<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>machine Issue Tracker Rss Feed</title><link>http://machine.codeplex.com/WorkItem/List.aspx</link><description>machine Issue Tracker Rss Description</description><item><title>Commented Issue: Implement SEARN functionality [9629]</title><link>http://machine.codeplex.com/workitem/9629</link><description>You said&amp;#58; &amp;#34;Although, my adviser did write a paper describing how to learn structure from a set of independent classifiers with a system he developed called SEARN. Maybe I should implement it&amp;#34;. After reading the whole paper, I agree with that, and think it would be very benificial to many, please implement SEARN&amp;#33;&lt;br /&gt;Comments: Cool. I will add it to my list.</description><author>SethJuarez</author><pubDate>Wed, 10 Nov 2010 22:31:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: Implement SEARN functionality [9629] 20101110103148P</guid></item><item><title>Created Issue: Implement SEARN functionality [9629]</title><link>http://machine.codeplex.com/workitem/9629</link><description>You said&amp;#58; &amp;#34;Although, my adviser did write a paper describing how to learn structure from a set of independent classifiers with a system he developed called SEARN. Maybe I should implement it&amp;#34;. After reading the whole paper, I agree with that, and think it would be very benificial to many, please implement SEARN&amp;#33;&lt;br /&gt;</description><author>rickrat</author><pubDate>Wed, 13 Oct 2010 21:17:08 GMT</pubDate><guid isPermaLink="false">Created Issue: Implement SEARN functionality [9629] 20101013091708P</guid></item><item><title>Commented Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235]</title><link>http://machine.codeplex.com/workitem/9235</link><description>I expected the following instructions to either fail silently, or throw an argument exception.&lt;br /&gt;&amp;#9;var model &amp;#61; new PerceptronModel&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;var predictor &amp;#61; model.Generate&amp;#40;new List&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#41;&amp;#59;  &amp;#47;&amp;#47; notice empty set&lt;br /&gt;&lt;br /&gt;Instead, an index out of range exception is thrown from inside the Matrix class.  Consider adding guard clause or Code Contracts.  For example&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;using System.Diagnostics.Contracts&amp;#59;&lt;br /&gt;&amp;#9;using System.Linq&amp;#59;&lt;br /&gt;&amp;#9;...&lt;br /&gt;&amp;#9;public IPredict&amp;#60;T&amp;#62; Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples &amp;#33;&amp;#61; null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples.Count&amp;#40;&amp;#41; &amp;#62; 0&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: spivey ** &lt;p&gt;Contracts have a number of advantages that make them worth considering.  The most notable advantage is that they enable the use of Microsoft&amp;#39;s static checker, which identifies any potential violations at compile time.  Using the static checker, callers of the Generate function would receive a warning if it was possible that they could pass a null or empty set.&lt;/p&gt;&lt;p&gt;Advantages&lt;br /&gt;&amp;#42; Contracts can be applied to the IModel interface, so exceptional behavior would be standard across all implementations of the interface.&lt;br /&gt;&amp;#42; Contracts provide explicit documentation for users of the library.&lt;br /&gt;&amp;#42; Contracts can be stated once, and then verified at runtime, verified by the static checker, read by humans, and parsed by documentation generators like SandCastle.&lt;/p&gt;&lt;p&gt;Contracts are cumbersome to add, so the benefits come at a cost.  The QuickGraph &amp;#40;http&amp;#58;&amp;#47;&amp;#47;quickgraph.codeplex.com&amp;#41; library has been using them for some time.  I wonder if they&amp;#39;ve benefited from them.&lt;/p&gt;</description><author>spivey</author><pubDate>Fri, 20 Aug 2010 19:49:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235] 20100820074929P</guid></item><item><title>Commented Issue: Perceptron and LinearRegression should directly usable [9236]</title><link>http://machine.codeplex.com/workitem/9236</link><description>The IModel and IPredict interfaces provide useful abstractions, however they hide interesting information on the supervised classes.  For example, the PerceptronPredictor.W and PerceptronPredictor.Features properties help explain the predictions.&lt;br /&gt;&lt;br /&gt;Recommendations&lt;br /&gt;&lt;br /&gt;1. Expose this information by making the properties more visibile&lt;br /&gt;&lt;br /&gt;from&lt;br /&gt;    public class PerceptronPredictor&amp;#60;T&amp;#62; &amp;#58; IPredict&amp;#60;T&amp;#62;, IXmlSerializable&lt;br /&gt;    &amp;#123;&lt;br /&gt;        internal Vector W &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal Property&amp;#91;&amp;#93; Features &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal Property Target &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal double B &amp;#123; get&amp;#59; set&amp;#59; &amp;#125; &lt;br /&gt;&lt;br /&gt; to &lt;br /&gt;    public class PerceptronPredictor&amp;#60;T&amp;#62; &amp;#58; IPredict&amp;#60;T&amp;#62;, IXmlSerializable&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Vector W &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public Property&amp;#91;&amp;#93; Features &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public Property Target &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public double B &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;2. Making the PerceptronModel.Generate method static to eliminate the need to instantiate the PerceptronModel.&lt;br /&gt;&lt;br /&gt;The current usage is&lt;br /&gt;&amp;#9;var model &amp;#61; new PerceptronModel&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;var predictor &amp;#61; model.Generate&amp;#40;students&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;If made static, this would be reduced to&lt;br /&gt;&amp;#9;var predictor &amp;#61; PerceptronModel&amp;#60;Student&amp;#62;.Generate&amp;#40;students&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;3. The PerceptronModel.Generate method should return a PerceptronPredictor, in addition to the IPredict.  This will allow it to be used directly, without casting.&lt;br /&gt;&lt;br /&gt;Existing usage&lt;br /&gt;&amp;#9;PerceptronPredictor&amp;#60;Student&amp;#62; predictor &amp;#61; &amp;#40;PerceptronPredictor&amp;#60;Student&amp;#62;&amp;#41;model.Generate&amp;#40;data&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Proposed usage&lt;br /&gt;&amp;#9;PerceptronPredictor&amp;#60;Student&amp;#62; predictor &amp;#61; PerceptronModel&amp;#60;Student&amp;#62;.Generate&amp;#40;data&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The code to make this work is&amp;#58;&lt;br /&gt;        IPredict&amp;#60;T&amp;#62; IModel&amp;#60;T&amp;#62;.Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return Generate&amp;#40;examples&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public PerceptronPredictor&amp;#60;T&amp;#62; Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: SethJuarez ** &lt;p&gt;Sounds good. I will add them sometime this week.&lt;/p&gt;</description><author>SethJuarez</author><pubDate>Fri, 20 Aug 2010 18:50:07 GMT</pubDate><guid isPermaLink="false">Commented Issue: Perceptron and LinearRegression should directly usable [9236] 20100820065007P</guid></item><item><title>Commented Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235]</title><link>http://machine.codeplex.com/workitem/9235</link><description>I expected the following instructions to either fail silently, or throw an argument exception.&lt;br /&gt;&amp;#9;var model &amp;#61; new PerceptronModel&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;var predictor &amp;#61; model.Generate&amp;#40;new List&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#41;&amp;#59;  &amp;#47;&amp;#47; notice empty set&lt;br /&gt;&lt;br /&gt;Instead, an index out of range exception is thrown from inside the Matrix class.  Consider adding guard clause or Code Contracts.  For example&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;using System.Diagnostics.Contracts&amp;#59;&lt;br /&gt;&amp;#9;using System.Linq&amp;#59;&lt;br /&gt;&amp;#9;...&lt;br /&gt;&amp;#9;public IPredict&amp;#60;T&amp;#62; Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples &amp;#33;&amp;#61; null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples.Count&amp;#40;&amp;#41; &amp;#62; 0&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: SethJuarez ** &lt;p&gt;Oops&amp;#33; Rookie mistake. I will fix that. It also looks like you are using code contracts. Would it be worth the time to look into those&amp;#63;&lt;br /&gt;&lt;/p&gt;</description><author>SethJuarez</author><pubDate>Fri, 20 Aug 2010 18:47:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235] 20100820064731P</guid></item><item><title>Created Issue: Perceptron and LinearRegression should directly usable [9236]</title><link>http://machine.codeplex.com/workitem/9236</link><description>The IModel and IPredict interfaces provide useful abstractions, however they hide interesting information on the supervised classes.  For example, the PerceptronPredictor.W and PerceptronPredictor.Features properties help explain the predictions.&lt;br /&gt;&lt;br /&gt;Recommendations&lt;br /&gt;&lt;br /&gt;1. Expose this information by making the properties more visibile&lt;br /&gt;&lt;br /&gt;from&lt;br /&gt;&amp;#60;code&amp;#62;&lt;br /&gt;    public class PerceptronPredictor&amp;#60;T&amp;#62; &amp;#58; IPredict&amp;#60;T&amp;#62;, IXmlSerializable&lt;br /&gt;    &amp;#123;&lt;br /&gt;        internal Vector W &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal Property&amp;#91;&amp;#93; Features &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal Property Target &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        internal double B &amp;#123; get&amp;#59; set&amp;#59; &amp;#125; &lt;br /&gt;&amp;#60;&amp;#47;code&amp;#62;&lt;br /&gt; to &lt;br /&gt;&amp;#60;pre&amp;#62;&lt;br /&gt;    public class PerceptronPredictor&amp;#60;T&amp;#62; &amp;#58; IPredict&amp;#60;T&amp;#62;, IXmlSerializable&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Vector W &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public Property&amp;#91;&amp;#93; Features &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public Property Target &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;        public double B &amp;#123; get&amp;#59; internal set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#60;&amp;#47;pre&amp;#62;&lt;br /&gt;&lt;br /&gt;2. Making the PerceptronModel.Generate method static to eliminate the need to instantiate the PerceptronModel.&lt;br /&gt;&lt;br /&gt;The current usage is&lt;br /&gt;&amp;#9;var model &amp;#61; new PerceptronModel&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;var predictor &amp;#61; model.Generate&amp;#40;students&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;If made static, this would be reduced to&lt;br /&gt;&amp;#9;var predictor &amp;#61; PerceptronModel&amp;#60;Student&amp;#62;.Generate&amp;#40;students&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;3. The PerceptronModel.Generate method should return a PerceptronPredictor, in addition to the IPredict.  This will allow it to be used directly, without casting.&lt;br /&gt;&lt;br /&gt;Existing usage&lt;br /&gt;&amp;#9;PerceptronPredictor&amp;#60;Student&amp;#62; predictor &amp;#61; &amp;#40;PerceptronPredictor&amp;#60;Student&amp;#62;&amp;#41;model.Generate&amp;#40;data&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Proposed usage&lt;br /&gt;&amp;#9;PerceptronPredictor&amp;#60;Student&amp;#62; predictor &amp;#61; PerceptronModel&amp;#60;Student&amp;#62;.Generate&amp;#40;data&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The code to make this work is&amp;#58;&lt;br /&gt;        IPredict&amp;#60;T&amp;#62; IModel&amp;#60;T&amp;#62;.Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return Generate&amp;#40;examples&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        public PerceptronPredictor&amp;#60;T&amp;#62; Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;</description><author>spivey</author><pubDate>Fri, 20 Aug 2010 17:10:09 GMT</pubDate><guid isPermaLink="false">Created Issue: Perceptron and LinearRegression should directly usable [9236] 20100820051009P</guid></item><item><title>Created Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235]</title><link>http://machine.codeplex.com/workitem/9235</link><description>I expected the following instructions to either fail silently, or throw an argument exception.&lt;br /&gt;&amp;#9;var model &amp;#61; new PerceptronModel&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;var predictor &amp;#61; model.Generate&amp;#40;new List&amp;#60;Student&amp;#62;&amp;#40;&amp;#41;&amp;#41;&amp;#59;  &amp;#47;&amp;#47; notice empty set&lt;br /&gt;&lt;br /&gt;Instead, an index out of range exception is thrown from inside the Matrix class.  Consider adding guard clause or Code Contracts.  For example&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;using System.Diagnostics.Contracts&amp;#59;&lt;br /&gt;&amp;#9;using System.Linq&amp;#59;&lt;br /&gt;&amp;#9;...&lt;br /&gt;&amp;#9;public IPredict&amp;#60;T&amp;#62; Generate&amp;#40;IEnumerable&amp;#60;T&amp;#62; examples&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples &amp;#33;&amp;#61; null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Contract.Requires&amp;#40;examples.Count&amp;#40;&amp;#41; &amp;#62; 0&amp;#41;&amp;#59;&lt;br /&gt;</description><author>spivey</author><pubDate>Fri, 20 Aug 2010 17:06:48 GMT</pubDate><guid isPermaLink="false">Created Issue: PerceptronModel.Generate fails in an unexpected way when given an empty collection. [9235] 20100820050648P</guid></item></channel></rss>