[SciPy-user] optimization question

Robert Kern robert.kern@gmail....
Wed Jul 4 01:58:22 CDT 2007


Volker Lorrmann wrote:
>> Yes, you can define a cost function and use it fmin, ... or the generic
>> optimizers (although such helper functions will be made in the near future)
>>
>> Then it's a vector of parameters you have to fit ? Create your own cost
>> function, it's probably the easiest.
> 
>> Matthieu
> 
> Hi Matthieu,
> 
> thanks for your answer, but can u be little bit more exactly please. What do you mean by a costfunction?
> Maybe you can give a short example, if its not to much work.


  ---
  \                                          2
   |  {T_meas(x_i) - T(a,b,c(x_i),d(x_i),x_i)}
  /
  ---
   i

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the SciPy-user mailing list