Multi-variable Math -- Array best choice?
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