Re: [jira] Updated: (MATH-384) DescriptiveStatistics based on double[]
Hi, Now MATH384 should soon be ready to be closed, too. I will commit in 2.2 and trunk when somebody (Phil?) has had the time to review the patch proposals. Cheers, Mikkel. 2010/12/27 Mikkel Meyer Andersen (JIRA) : > > [ > https://issues.apache.org/jira/browse/MATH-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Mikkel Meyer Andersen updated MATH-384: > --- > > Attachment: MATH384-3_0 > MATH384-2_2 > > Proposed patches with comments taken into account. The difference for 2.2 and > 3.0 is that in 3.0 the DoubleArray interface has been extended to include > addElements(double[]) > >> DescriptiveStatistics based on double[] >> --- >> >> Key: MATH-384 >> URL: https://issues.apache.org/jira/browse/MATH-384 >> Project: Commons Math >> Issue Type: New Feature >> Reporter: Mikkel Meyer Andersen >> Assignee: Mikkel Meyer Andersen >> Priority: Minor >> Fix For: 2.2 >> >> Attachments: MATH384-2_2, MATH384-3_0, patch-MATH-384-2, >> ResizableArrayInstantiatedByArray >> >> Original Estimate: 2h >> Remaining Estimate: 2h >> >> Right now the DescriptiveStatistics is for ResizableDoubleArray, but if the >> user has the double[] data she wishes to get DescriptiveStatistics for there >> is no way of doing this (besides the inefficient way of creating a >> ResizableDoubleArray from the double[]). >> It would be possible to use StatUtils, but it does not contain near as much >> functionality as DescriptiveStatistics. >> Idea: Create a DescriptiveStatistics for double[] also. I'm not sure which >> way of implementing it would be the best, but one way would be to make >> DescriptiveStatistics abstract with all but the apply-method implemented as >> now. The apply-method should be made as abstract which then has to >> implemented in the extensions together with a field containing the values. >> (addValue, windowSize etc. has to go in the ResizableDoubleArray-extension.) >> The double[]-extension should then have a constructor taking double[] as a >> parameter. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org
Contribute to the community
Hello guys and Merry Christmas! My name is Michail Giannakopoulos and i would like to contribute to the community in any means i can... I would appreciate it if i could find some guidance about current major issues that need to be fixed... Thank you all!
[GUMP@vmgump]: Project commons-math (in module apache-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-math has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 107 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-math : The Jakarta Mathematics Library Full details are available at: http://vmgump.apache.org/gump/public/apache-commons/commons-math/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole jar output [commons-math-28122010.jar] identifier set to project name -DEBUG- Dependency on junit exists, no need to add for property junit.jar. -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/apache-commons/commons-math/gump_work/build_apache-commons_commons-math.html Work Name: build_apache-commons_commons-math (Type: Build) Work ended in a state of : Failed Elapsed: 7 mins 7 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-28122010.jar -Dfinal.name=commons-math-28122010 jar [Working Directory: /srv/gump/public/workspace/apache-commons/math] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/apache-commons/math/target/classes:/srv/gump/public/workspace/apache-commons/math/target/test-classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/junit/dist/junit-28122010.jar:/srv/gump/public/workspace/junit/dist/junit-dep-28122010.jar - [junit] Testcase: testRemoveAbsent took 0.013 sec [junit] Testcase: testCopy took 0 sec [junit] Testcase: testContainsKey took 0.009 sec [junit] Testcase: testIterator took 0.018 sec [junit] Testcase: testConcurrentModification took 0 sec [junit] Testcase: testPutKeysWithCollisions took 0 sec [junit] Testcase: testPutKeysWithCollision2 took 0.001 sec [junit] Running org.apache.commons.math.util.PairTest [junit] Testsuite: org.apache.commons.math.util.PairTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.042 sec [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.042 sec [junit] [junit] Testcase: testAccessor took 0.006 sec [junit] Testcase: testEquals took 0.001 sec [junit] Running org.apache.commons.math.util.ResizableDoubleArrayTest [junit] Testsuite: org.apache.commons.math.util.ResizableDoubleArrayTest [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 2.017 sec [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 2.017 sec [junit] [junit] Testcase: testConstructors took 0.023 sec [junit] Testcase: testSetElementArbitraryExpansion took 0.173 sec [junit] Testcase: testAdd1000 took 0.001 sec [junit] Testcase: testAddElementRolling took 0.045 sec [junit] Testcase: testSetNumberOfElements took 0.001 sec [junit] Testcase: testWithInitialCapacity took 0.006 sec [junit] Testcase: testWithInitialCapacityAndExpansionFactor took 0.002 sec [junit] Testcase: testDiscard took 0 sec [junit] Testcase: testSubstitute took 0 sec [junit] Testcase: testMutators took 0 sec [junit] Testcase: testEqualsAndHashCode took 0.001 sec [junit] Testcase: testGetValues took 0 sec [junit] Testcase: testMinMax took 0.001 sec [junit] Running org.apache.commons.math.util.TransformerMapTest [junit] Testsuite: org.apache.commons.math.util.TransformerMapTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.18 sec [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.18 sec [junit] [junit] Testcase: testPutTransformer took 0.006 sec [junit] Testcase: testContainsClass took 0.001 sec [junit] Testcase: test
[g...@vmgump]: Project commons-collections4 (in module apache-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-collections4 has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 14 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-collections4 : Collections - commons-collections4-testframework : Apache Commons Full details are available at: http://vmgump.apache.org/gump/public/apache-commons/commons-collections4/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- (Apache Gump generated) Apache Maven Settings in: /srv/gump/public/workspace/apache-commons/collections/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/collections/pom.xml -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/apache-commons/commons-collections4/gump_work/build_apache-commons_commons-collections4.html Work Name: build_apache-commons_commons-collections4 (Type: Build) Work ended in a state of : Failed Elapsed: 34 secs Command Line: /opt/maven2/bin/mvn --batch-mode --settings /srv/gump/public/workspace/apache-commons/collections/gump_mvn_settings.xml package [Working Directory: /srv/gump/public/workspace/apache-commons/collections] M2_HOME: /opt/maven2 - required: org.apache.commons.collections.Closure[] found: org.apache.commons.collections.Closure[] [INFO] 8 errors [INFO] - [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/SwitchTransformer.java:[68,38] invalid inferred types for T; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Predicate[] found: org.apache.commons.collections.Predicate[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/SwitchTransformer.java:[69,40] invalid inferred types for I; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Transformer[] found: org.apache.commons.collections.Transformer[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/OnePredicate.java:[66,38] invalid inferred types for T; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Predicate[] found: org.apache.commons.collections.Predicate[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/SwitchClosure.java:[66,38] invalid inferred types for T; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Predicate[] found: org.apache.commons.collections.Predicate[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/SwitchClosure.java:[67,36] invalid inferred types for E; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Closure[] found: org.apache.commons.collections.Closure[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/ChainedTransformer.java:[56,40] invalid inferred types for I; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Transformer[] found: org.apache.commons.collections.Transformer[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/NonePredicate.java:[61,38] invalid inferred types for T; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Predicate[] found: org.apache.commons.collections.Predicate[] /srv/gump/public/workspace/apache-commons/collections/src/java/org/apache/commons/collections/functors/ChainedClosure.java:[53,36] invalid inferred types for E; actual arguments do not conforms to inferred formal arguments required: org.apache.commons.collections.Closure[] found: org.apache.commons.collections.Closure[] [INFO] [INFO] For more information, run Maven with the -e switch [INFO] -
Re: Contribute to the community
Hi Michael, you can start reading the following articles to get familiar with commons components: http://commons.apache.org/volunteering.html http://commons.apache.org/patches.html Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Dec 27, 2010 at 11:28 AM, Michael Giannakopoulos wrote: > Hello guys and Merry Christmas! My name is Michail Giannakopoulos and i > would like to contribute to the community in any means i can... I would > appreciate it if i could find some guidance about current major issues that > need to be fixed... Thank you all! > - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org