Hi Mark, did you already had a look at http://wiki.apache.org/solr/FunctionQuery ?
Regards, Em Am 14.02.2012 20:09, schrieb Mark: > Or better yet an example in solr would be best :) > > Thanks! > > On 2/14/12 11:05 AM, Mark wrote: >> Would you mind throwing out an example of these types of functions. >> Looking at Wikipedia (http://en.wikipedia.org/wiki/Probit) its seems >> like the Probit function is very similar to what I want. >> >> Thanks >> >> On 2/14/12 10:56 AM, Ted Dunning wrote: >>> In general this kind of function is very easy to construct using sums >>> of basic sigmoidal functions. The logistic and probit functions are >>> commonly used for this. >>> >>> Sent from my iPhone >>> >>> On Feb 14, 2012, at 10:05, Mark<static.void....@gmail.com> wrote: >>> >>>> Thanks I'll have a look at this. I should have mentioned that the >>>> actual values on the graph aren't important rather I was showing an >>>> example of how the function should behave. >>>> >>>> On 2/13/12 6:25 PM, Kent Fitch wrote: >>>>> Hi, assuming you have x and want to generate y, then maybe >>>>> >>>>> - if x< 50, y = 150 >>>>> >>>>> - if x> 175, y = 60 >>>>> >>>>> - otherwise : >>>>> >>>>> either y = (100/(e^((x -50)/75)^2)) + 50 >>>>> http://www.wolframalpha.com/input/?i=plot++%28100%2F%28e^%28%28x+-50%29%2F75%29^2%29%29+%2B+50%2C+x%3D50..175 >>>>> >>>>> >>>>> >>>>> - or maybe y =sin((x+5)/38)*42+105 >>>>> >>>>> http://www.wolframalpha.com/input/?i=plot++sin%28%28x%2B5%29%2F38%29*42%2B105%2C+x%3D50..175 >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Kent Fitch >>>>> >>>>> On Tue, Feb 14, 2012 at 12:29 PM, >>>>> Mark<static.void....@gmail.com<mailto:static.void....@gmail.com>> >>>>> wrote: >>>>> >>>>> I need some help with one of my boost functions. I would like the >>>>> function to look something like the following mockup below. Starts >>>>> off flat then there is a gradual decline, steep decline then >>>>> gradual decline and then back to flat. >>>>> >>>>> Can some of you math guys please help :) >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> >>>>> >