Hi, I was wondering....
Why not go at it like this: let us select out ot of a list of a set of matching algorithms and provide a dataset, you guys run the dataset through all of these determining ftting scores and generate the graph using the best fitting one, and return some numeric data describing the best fittng algorithm? This way it would be much simpeler for the non-math geeks like me :) Theo NL Op dinsdag 28 oktober 2014 19:33:35 UTC+1 schreef Sergey: > > Dearest Google Charts users, > > > We have been working hard on improving charts, and now need your input. We > are considering adding a few methods to our corecharts to help you get data > about your trendlines, such as the r^2 value. However, we're not quite sure > how you’ll want to use them. We know that we want a method to get the > trendline r^2 value, and we think that getting an evaluator function for a > trendline would be useful as well; but we also want to give you the ability > to pull out the trendline expression. Here's where things get a bit blurry. > > > We could do the simple thing, and simply create a method that returns the > plaintext equation. This would allow you to show the equation elsewhere on > the page. You might also parse it, but parsing can be hard, so we’ll > provide some utilities to help with that. Some alternatives to mitigate > this issue would be: > > - > > to return a JSON form an abstract syntax tree > <http://en.wikipedia.org/wiki/Abstract_syntax_tree> of the equation, > an example might be: > - > > y = 2x + 1: {operation: '=', operands: ['y', {operation: '+', > operands: [{operation: '*', operands: [2, 'x']}, 1]}]} > - > > to return a Lisp/Scheme-like abstract syntax tree, using arrays and > prefix notation. An example of that might be: > - > > y = 2x + 1: ['=', 'y', ['+', [2, 'x'], 1]] > - > > to return an array of coefficients, possibly with the type of the > trendline: > - > > 2x + 1: {type: 'linear', coefficients: [2, 1]} > - > > exp(5x + 3): {type: 'exponential', coefficients: [5, 3]} > > > We can also return an abstract syntax tree as well as a plaintext form, > though that is getting a bit redundant. So, what are your thoughts here? > Your opinions are most welcome. > > > Happy Coding, > > Sergey and the rest of the Google Charts Team > > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
