Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

an easy one?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88886] an easy one?
  • From: Francisco Gutierrez <fgutiers2002 at yahoo.com>
  • Date: Tue, 20 May 2008 02:28:06 -0400 (EDT)

I have a code (for clustering) that works well with FixedPointList.
  It takes the following form:
  FixedPointList[veamos[dataset,#]&, prototipos,10]
   
  where veamos is a function that acts on the dataset and prototipos,
  and prototipos is also a list of lists (for example {{5,5},{10,10}} )
   
  But of course using FixedPointList is imperfect. I want to use NestWhileList instead, with a criterion of termination acting on prototipos (i.e., if the absolute value of the substraction of the penultimate prototipos and the last prototipos is less than a certain amount, say 0.01, then stop).
   
  But I haven´t been able.
  Can somebody help me?
  Thanks
  Francisco Gutiérrez


  • Prev by Date: Problems with ListPlot
  • Next by Date: Re: FindRoot with a parameter
  • Previous by thread: Re: Re: Problems with ListPlot
  • Next by thread: Re: an easy one?