• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multi-variable Math -- Array best choice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi-variable Math -- Array best choice?


  • Subject: Multi-variable Math -- Array best choice?
  • From: Drew Thoeni <email@hidden>
  • Date: Sun, 26 Aug 2007 15:48:41 -0400

I have to implement a regression formula that has about 200 coefficients, so for each incoming item to be scored, we get around 200 indicator (boolean) and continuous variables that have to be multiplied by each variable's coefficient then all summed together. I'm thinking of putting the incoming variables in an array, the coefficients in an array and then cycling through the two arrays multiplying each and summing them as I go.

A few questions:

Does WO implement something beyond Java for this?

Is this the best pattern to use, or does someone have a better pattern? If WO does not have a specific method for handling such situations, I will happily take your pointing me outward to the Java forums.

Thanks

Drew

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multi-variable Math -- Array best choice?
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: setting default order of entity fetches
  • Next by Date: Re: Multi-variable Math -- Array best choice?
  • Previous by thread: Re: Run Log Exception every 5 seconds
  • Next by thread: Re: Multi-variable Math -- Array best choice?
  • Index(es):
    • Date
    • Thread