Hi Michael,
there are basically two different ways to use the ChiSquare test:
* compute the chi-square test of independence (use the
chiSquareTest(long[][]) method)
* compute the chi-square goodness of fit test (use the
chiSquareTest(double[], long[]) method)
In your example, you computed the
The Apache Commons team is pleased to announce the release of Apache
Commons Collections 4.1. The release is available for download at
http://commons.apache.org/proper/commons-collections/download_collections.cgi
Apache Commons Collections is a project to develop and maintain
collection classes
The Apache Commons team is pleased to announce the release of Apache
Commons Collections 3.2.2. The release is available for download at
http://commons.apache.org/proper/commons-collections/download_collections.cgi
Apache Commons Collections is a project to develop and maintain
collection
On 11/15/2015 11:23 PM, Thomas Neidhart wrote:
should have been an ANNOUNCEMENT, but it's late, sorry.
Thomas
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h
Forwarded to the user mailinglist
Forwarded Message
Subject:please help me
Date: Sun, 14 Jun 2015 06:36:41 + (UTC)
From: meli saraie melisar...@yahoo.com
Reply-To: meli saraie melisar...@yahoo.com
To: t...@apache.org t...@apache.org
Dear Tomas
On 06/09/2015 11:42 PM, Gilles wrote:
On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote:
On 06/01/2015 09:36 PM, Thomas Neidhart wrote:
On 06/01/2015 03:52 PM, luc wrote:
Le 2015-06-01 15:27, Gilles a écrit :
Hello.
On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote:
Le 2015-06-01 14:38
On 06/10/2015 01:44 PM, Gilles wrote:
On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote:
On 06/09/2015 11:42 PM, Gilles wrote:
On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote:
On 06/01/2015 09:36 PM, Thomas Neidhart wrote:
On 06/01/2015 03:52 PM, luc wrote:
Le 2015-06-01 15
On 06/01/2015 09:36 PM, Thomas Neidhart wrote:
On 06/01/2015 03:52 PM, luc wrote:
Le 2015-06-01 15:27, Gilles a écrit :
Hello.
On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote:
Le 2015-06-01 14:38, Gilles a écrit :
Hi.
Hi Gilles,
I have a question regarding
public RegionEuclidean2D
On 06/01/2015 03:52 PM, luc wrote:
Le 2015-06-01 15:27, Gilles a écrit :
Hello.
On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote:
Le 2015-06-01 14:38, Gilles a écrit :
Hi.
Hi Gilles,
I have a question regarding
public RegionEuclidean2D createRegion() throws
InsufficientDataException
in
Hello.
The Apache Commons team is pleased to announce the release of
commons-email-1.4.
Commons-Email aims to provide an API for sending email. It is built on
top of the JavaMail API, which it aims to simplify.
Commons Email can be downloaded from the following page:
email.setHtmlMsg(htmlThe apache logo - img
src=\+mailDetails.get(logoURL)+\/html);
Thomas
On Thu, Apr 23, 2015 at 10:34 AM, Thomas Neidhart thomas.neidh...@gmail.com
wrote:
Hi,
you need to specify a DataSourceUrlResolver for your HtmlEmail instance
when embedding images by URL.
See
Hi,
you need to specify a DataSourceUrlResolver for your HtmlEmail instance
when embedding images by URL.
See the example in ther userguide (
http://commons.apache.org/proper/commons-email/userguide.html).
I just realized that the example in the userguide is outdated, instead of
the
Hi Joakim,
it depends how you stored the matrix in the first place.
The MatrixUtils.deserializeRealMatrix() method will only work if you have
previously serialized the matrix using MatrixUtils.serializeRealMatrix()
and is mainly intended to be used for standard Java serialization.
In case you
On 02/20/2015 07:21 PM, Joakim Soderberg wrote:
Thanks Thomas,
That’s helpful, but I think you should add more easy-to-use functions for the
convenience of the research community who just want to implement some
algorithm and not spend time with coding IO.
if you come up with a use-case we
On 11/21/2014 04:16 PM, Kristian Rink wrote:
Folks;
trying to track down a strange error frequently occurring on our
infrastructure when users are, well, uploading files using a
multipart/form data upload form. Traces see below. Worth noting:
- The application runs in an embedded jetty
There are no compatibility issues between collections 3 and 4.
They reside in different packages, thus you can use them together in your
project.
Any project/developer having a dependency to collections 3 will have to do
at least some minimal effort to upgrade to collections 4.
In most cases it
On 08/04/2014 09:10 PM, Ted Dunning wrote:
Arne,
I think you are correct.
Afaik, it is possible for unscented Kalman filters to avoid the explicit
matrix inversion (see also
http://en.wikipedia.org/wiki/Cholesky_decomposition#Kalman_filters).
We have an open issue which was delayed for 4.0
On 08/05/2014 06:40 PM, Arne Schwarz wrote:
No, but I am developing one with an extended Kalman filter where i
will test various decompositions. I just stumbled over these lines
because I read somewhere that explicit calculation of the inverse is
not a thing one should do. And I suggested the
Hi,
I think this is not possible right now.
The MimeMessageParser does not take the Content-ID of any attachments into
account,
but should ideally provide a translation from cid to name (or the
attachment object itself) so that you can post-process the html content.
Could you create a feature
at 8:25 AM, Thomas Neidhart
thomas.neidh...@gmail.com wrote:
Hi,
I think this is not possible right now.
The MimeMessageParser does not take the Content-ID of any attachments
into
account,
but should ideally provide a translation from cid to name (or the
attachment object itself) so
The Apache Commons Team is pleased to announce the availability of
Apache Commons Email 1.3.3.
Commons-Email aims to provide an API for sending email.
It is built on top of the JavaMail API, which it aims to simplify.
Details of the changes and bug fixes in this release can be found
in the
On 07/09/2014 02:57 AM, Jason wrote:
Resurrecting this old post, I found that in order to Authenticate with SASL
using
https://code.google.com/p/google-mail-oauth2-tools/source/browse/#svn%2Ftrunk%2Fjava%2Fcom%2Fgoogle%2Fcode%2Fsamples%2Foauth2
it was necessary to invoke
On 06/27/2014 04:24 PM, Axel wrote:
Hello
Jira seems to be down?
So I'm trying here to post my request for an enhancement:
Could we have a roots() method in PolynomialFunction class?
For example I ported the code in this stackoverflow question to apache
commons math by using the
On 06/25/2014 03:18 AM, Haluk Dogan wrote:
Hi all,
Is there any hierarchical clustering implementation in commons-math? If
not, does somebody know that whether it is in TODO list or not?
Hi,
no, currently there is no hierarchical cluster implementation available
in Commons Math.
There was
On 05/27/2014 03:22 PM, Alex Chard wrote:
Hi all
I'm using the Apache Commons Email classes to send emails using SMTP. I'm
connecting via SMTP so I don't have to support multiple configurations for
different server providers (Outlook, Notes, ect).
As always, it's not that simple.
On 05/24/2014 07:40 AM, reginald.john...@gmail.com wrote:
Do you know of a library that does support ILP?
glpk supports integer and mixed linear programming problems.
I am not aware of a java based library though.
Thomas
-
To
On 05/23/2014 05:36 AM, Reginald Johnson wrote:
I agree, and in fact my original formulation used that same format
(A_ij=A_ji) for the constraint. However, I didn't (and still don't) see a
way to create a constraint in the optimization class that will let me use
anything other than a number
, not. IF there are non-linear
flow relations such as come into play in hydraulic systems, then simplex is
not practical.
On Thu, May 22, 2014 at 11:22 PM, Thomas Neidhart
thomas.neidh...@gmail.com
wrote:
On 05/23/2014 05:36 AM, Reginald Johnson wrote:
I agree, and in fact my original
On 03/27/2014 12:59 AM, Ryan Bennetts wrote:
Hello all
I am having trouble understanding how to use a custom value collection type
with a MultiValueMap. I want to use the new generics-supported version, but
can't see how to do this without excessive casting, which seems to defeat a
lot of
Hi Tomas,
can you add the code snippet to create the HtmlEmail instance?
Thanks,
Thomas
On Mon, Mar 24, 2014 at 12:43 PM, Tomás García Rodríguez
toma...@servicioexterno.inditex.com wrote:
Hi,
I am having trouble when creating emails from Java using HtmlEmail. I need
to send them to an
On 03/07/2014 10:39 PM, Matthew Hall wrote:
Hello,
I was trying to use some code from commons-collections:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/?pathrev=1469003
But it seems like this code disappeared in SVN
On 02/03/2014 05:48 PM, Alex O'Ree wrote:
I'm sending an email to a local mail server (hmail) using the standard
javax.mail api. Here's a snippit
MimeMessage message = new MimeMessage(session);
InternetAddress address = new InternetAddress(receiver@local.domain);
Address[] to = {address};
On 02/03/2014 07:16 PM, Alex O'Ree wrote:
Thanks for the quick reply.
I'm running into this now.
org.apache.commons.codec.DecoderException: Invalid URL encoding: not a
valid digit (radix 16): 117
from the following code:
BufferedReader reader = (BufferedReader)
On 01/20/2014 08:37 PM, Julio Enrique Santana Lora wrote:
Hi!!
I am facing this problem when trying to deploy an EAR file to websphere
8.5.0.1. The EAR only contains on its dependencies
commons-logging-1.1.3.jar
log4j-1.2.17.jar
and a single JSF page.
The problem ocurs when
Hi Shai,
this is probably related to EMAIL-120. It depends on how you attach the
file to the Email object, you may want to try the variant with a URL
instead of a File object.
Thomas
On Thu, Jan 9, 2014 at 3:15 PM, שי בנטין s...@cashboard.co.il wrote:
Using commons-email 1.3.2 we are sending
On 12/02/2013 06:17 PM, Maik Ebert wrote:
Hello,
I do not find that release on http://mvnrepository.com/ at
dependency
groupIdorg.apache.commons/groupId
artifactIdcommons-collections4/artifactId
version4.0/version
/dependency
Can you upload it there?
Its now there.
Hi Maik,
afaik mvnrepository syncs itself with maven central, and it takes a while
till releases show up.
You may want to send an email to i...@mvnrepository.com to get more
information.
Thomas
On Mon, Dec 2, 2013 at 6:17 PM, Maik Ebert m.eb...@paysafecard.com wrote:
Hello,
I do not find
Collections, including instructions
on how to submit bug reports, patches, or suggestions for improvement,
see the Apache Commons Collections website:
http://commons.apache.org/collections/
Thomas Neidhart, on behalf of the Apache Commons community
On 11/22/2013 07:00 PM, rambor wrote:
Hi,
I am having a horrible time trying to get the new interfaces to work. I
clearly don't understand the changes.
I'd like to do the NonLinearConjugateGradientOptimizer and I can't get the
constructor to work in the new implementation. So far, I
On 11/19/2013 06:11 PM, Thad Humphries wrote:
I've written a class called MultiThread which implements Daemon. However
when I try to run it with jsvc, it fails although the class is clearly
present in my classpath. What am I not seeing? The call and debug are below:
$ sudo ~/bin/jsvc -jvm
)
at java.lang.Class.newInstance(Class.java:310)
at
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:190)
Cannot load daemon
java_load failed
Service exit with a return value of 3
On Tue, Nov 19, 2013 at 12:53 PM, Thomas Neidhart thomas.neidh...@gmail.com
wrote:
On 11/19
Hi Thorsten,
this sounds like a very specific use-case of a hierarchical clustering.
I could imagine the following way to achieve it:
* first cluster all data points with kmeans, with a k=50 as you would like
to have 50 clusters on level 2
* take the 50 clusters and feed them into a HAC like
* v constraint and everything is alright.
I still have to figure out how to properly use the results to split
higher elevation parts from lower z parts in a x,y,z dataset, but the
eigenvectors and values are in the right place now.
Thanks,
Andrea
On Mon, Nov 11, 2013 at 1:21 PM, Thomas
.
I still have to figure out how to properly use the results to split
higher elevation parts from lower z parts in a x,y,z dataset, but the
eigenvectors and values are in the right place now.
Thanks,
Andrea
On Mon, Nov 11, 2013 at 1:21 PM, Thomas Neidhart
thomas.neidh
On 11/12/2013 06:31 PM, andrea antonello wrote:
Hi Thomas,
that's exactly what we are looking for, so do not hesitate to ask questions.
ok, I put together a small set of examples, which for now I put on a
wiki of the project I am doing this for (since I have access on that
one):
On 11/11/2013 11:40 AM, andrea antonello wrote:
Hi Thomas,
thanks for your reply.
the result of CM and jama are identical, the difference is just in the
way how the data is stored.
Afaik in jama calling getV() returns a vector in row format whereas in
CM the are stored in column format.
On 11/09/2013 10:38 AM, andrea antonello wrote:
Dear all,
I have a doubt about using the eigenvector part of the library.
I created a small dataset to represent 3d coordinates in a cartesian plane:
double[] x = {1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3};
double[] y = {0.5, 1,
Hello.
The Apache Commons team is pleased to announce the release of
commons-email-1.3.2.
Commons-Email aims to provide an API for sending email. It is built on
top of the JavaMail API, which it aims to simplify.
Commons Email can be downloaded from the following page:
This link may help you:
http://www.scalabiliti.com/blog/java_jvm_processor_affinity
On Wed, Oct 16, 2013 at 4:38 PM, Gary Gregory garydgreg...@gmail.comwrote:
Ping?
On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.com
wrote:
On Thu, Oct 10, 2013 at 10:11 PM, Martin
On 10/09/2013 12:26 PM, Carl Erberg wrote:
Hi,
in the user guide to commons email
http://commons.apache.org/proper/commons-email/userguide.html
I found the rather surprising statement:
When using a secured transport (STARTTLS or SSL) you can force validating
the server's certificate by
background, but I guess I'll spend some more time with it and
if I really got it, I'll write a patch for a binomial test.
Cheers,
Thorsten
Am 9/11/13 4:42 PM schrieb Thomas Neidhart unter
thomas.neidh...@gmail.com:
On 09/11/2013 08:37 PM, em...@thorstenschaefer.de wrote:
We have a sample
On 09/11/2013 08:37 PM, em...@thorstenschaefer.de wrote:
We have a sample which comes from a binomial process with unknown
probability. Is it possible to get the likelihood of the population is larger
than a user-specified value (with e.g. 95% certainty) in commons-math?
For example, given
On 08/31/2013 08:20 PM, em...@thorstenschaefer.de wrote:
I wrote a little documentation based on the other XML documents I found in
the sources. Before committing a patch, I'd like to see that the output is
fine and I didn't mess something up. How can I generate the user guide
from the
Dear Esther,
there is no good starting example in the user guide yet (we should add
that!) but you can find some examples in the unit tests.
In general, the OptimizationData interface is just a marker interface for
all kinds of parameters an optimizer may need or support.
It is a bit tricky to
On 07/26/2013 09:54 PM, arvind viswanathan wrote:
I am trying to use the class for clustering. However I am not sure about
the syntax of using this function.
Here is what I have,
ListDoublePoint data = new ArrayListDoublePoint();
DBSCANClusterer? extends Clusterable dbscan = new
The Apache Commons team is pleased to announce the release of
commons-collections4-4.0-alpha1!
Commons Collections is a project to develop and maintain collection
classes based on and inspired by the JDK collection framework.
Collections 4 uses the generics features of Java 5 and is not
On 05/24/2013 12:02 AM, Thomas Neidhart wrote:
On 05/23/2013 11:17 PM, Mister Mak wrote:
Thanks to Thomas and Gilles for their tips. The univariate solution
proposed works (for the record:
UnivariateFunction f = new UnivariateFunction() {public double
value(double x) {return -(x - 5.0
Hi Philippe,
fyi: the optimization package has been refactored from base-package
optimization to optim
both contain more or less the same functionality, but the interface is
slightly different.
Looking at your example, you seem to have a univariate case, so you could
use the BrentSolver like
On 05/23/2013 11:17 PM, Mister Mak wrote:
Thanks to Thomas and Gilles for their tips. The univariate solution
proposed works (for the record:
UnivariateFunction f = new UnivariateFunction() {public double
value(double x) {return -(x - 5.0) * (x - 5.0) + 2.25; }};
BrentOptimizer
Hi Franz,
you can take a look at the following class which is used for the unit tests:
public class QuinticFunction implements UnivariateDifferentiableFunction {
/* Evaluate quintic.
* @see org.apache.commons.math3.UnivariateFunction#value(double)
*/
public double value(double
Hello.
The Apache Commons team is pleased to announce the release of
commons-logging-1.1.3.
Commons Logging is a thin adapter allowing configurable bridging to
other, well known logging systems.
Source and binary distributions are available for download
from the Apache Commons download site:
On 05/08/2013 07:54 PM, luca.marche...@univr.it wrote:
Dear all,
I would like to know if in math commons is implemented an algorithm that can
be used for cleaning a noisy time series.
I have the following problem: in my Java application I need to run some
calculations on a set of time
at all. I suspect that the initial guess
does not have any impacts on the simplex solver, but it might make sense to
warn the user about it.
Cheers,
Thorsten
On Apr 30, 2013, at 2:43 AM, Thomas Neidhart thomas.neidh...@gmail.com
wrote:
On 04/28/2013 11:14 PM, Thorsten Schaefer wrote
On 04/30/2013 07:43 AM, Thomas Neidhart wrote:
On 04/28/2013 11:14 PM, Thorsten Schaefer wrote:
Hello,
I just started using common math and have a performance issue with the
optimization algorithm, hoping to be able to speed it up in some way, even
if this reduces the accuracy
On Fri, Mar 29, 2013 at 1:30 AM, David Hoffer dhoff...@gmail.com wrote:
I've got a strange one. I'm using commons-email to send some email, that
is being sent to two recipients so I call addTo() twice, once for each
recipients, then I call send() once. I can tell I'm calling send() once
per
Hello.
The Apache Commons team is pleased to announce the release of
commons-logging-1.1.2.
Commons Logging is a thin adapter allowing configurable bridging to
other, well known logging systems.
Source and binary distributions are available for download
from the Apache Commons download site:
On Thu, Mar 7, 2013 at 11:14 PM, Jaime Hablutzel Egoavil
hablutz...@gmail.com wrote:
I'm looking that commons fileupload uses a 'headerEncoding' variable which
Javadoc explanes:
Specifies the character encoding to be used when reading the headers of
individual part. When not specified, or
On Thu, Mar 7, 2013 at 5:13 PM, Alexander Sehlström
alexan...@sehlstrom.sewrote:
Hi,
I wish to solve the following problem:
/* Problem
* Starting from double[] s0, determine double[] s, the solution of:
*
* | min f' * s
*
On 03/07/2013 06:31 PM, Alexander Sehlström wrote:
Thomas,
Thanks for the suggested solution. Seams to do the job as it no longer throws
errors.
How do I retrieve my resulting double[] s from the PointValuePair r = new
SimplexSolver().optimize(...)?
r.getPoint() returns the found
Hello.
The Apache Commons team is pleased to announce the release of
Commons-Email 1.3.1.
Commons-Email aims to provide an API for sending email. It is built on
top of the JavaMail API, which it aims to simplify.
Commons Email can be downloaded from the following page:
On 02/28/2013 01:10 PM, walter.ea...@bet365.com wrote:
Hello,
I couldn't find a better place to post this. I'm trying to read documentation
but every link is broken.
On Wed, Feb 27, 2013 at 3:08 PM, Schuetz, Paul (EXTERN: DOS)
extern.paul.schu...@volkswagen.de wrote:
Hello,
I am trying to get up and running a simple application under an IBM WAS
8.0. My application consist of an simple jsf file and a bean used as an
actionlistener for a button inside the
On 02/27/2013 01:31 AM, Miraj Shah wrote:
To whom it may concern,
The link for the CLI Javadocs on the website
(http://commons.apache.org/proper/commons-cli//api-release/index.html) is
broken. Please fix.
We are currently working on these issues, to access it you can use this
link
On 02/24/2013 08:17 PM, Thufir wrote:
No matter how I try to parse NNTP headers into a MIME message I just get
a flurry of errors. Is there a a trick or technique? Also see:
http://stackoverflow.com/questions/15051188/
The example on this page is not related at all to any Apache Commons
On 02/15/2013 10:44 PM, Ricardo Bevilacqua wrote:
Hi to all!
I'm facing the following issue: my client has an SMTP server that
blocks incomming mails that have the from header for some reason. If
the mail doesn't have this header, it works.
So my question is if there is a chance to remove
On 02/05/2013 11:55 AM, Gilles wrote:
On Tue, 5 Feb 2013 11:33:45 +0100, Thomas Neidhart wrote:
On Tue, Feb 5, 2013 at 10:27 AM, Greg Thomas
greg.d.tho...@gmail.comwrote:
If you would specify hasArgs(3), you would indeed get the values
split into an array of 3 strings.
Though in my
On 02/03/2013 06:29 PM, Greg Thomas wrote:
I've had a look; I the only place that could do with clarification is
the javadoc for getOptionValues @
http://commons.apache.org/cli/api-release/org/apache/commons/cli/CommandLine.html#getOptionValues(java.lang.String)
/
On 01/28/2013 06:08 PM, Eric Liu wrote:
Hi,
I know the default 'Commons CLI' command style is like ' java -jar
***.jar [OPTIONS]'. Can anyone tell me how to make this kind of command
style using Commons CLI?
java -jar ***.jar [COMMAND] [OPTIONS]
Well, as you already pointed out,
On 09/04/2012 04:14 AM, Guha, Rajarshi (NIH/NCATS) [C] wrote:
Hi, I'm using commons math 2.2 and the values from the hypergeometric
distribution do not seem to match an alternative implementation (from R
2.15.1). The code I'm using is
HypergeometricDistributionImpl d =
On 07/26/2012 07:12 PM, Garrett Kane wrote:
The code I am using (copied from the apache commons page on the kalman
filter) is:
*public* *class* Kalman {
*void* main(){
[snip]
Hi Garrett,
whatever you see in your output, it is not related to the code you
posted. In fact the kalman filter
On 05/31/2012 06:12 PM, Gilles Sadowski wrote:
Hi.
[snip test case]
This looks like a bug. Could you please open a ticket on the bug tracking
system[1]? Once the issue is created, you should also upload a fully contained
unit test demonstrating the problem.
This is most likely related to
On 05/31/2012 06:12 PM, Gilles Sadowski wrote:
Hi.
Hi, in certain cases I ran into the problem that the PolynomialFitter.fit()
method stalls, meaning that it does not return, nor throw an Exception. Is
there a way to tell the PolynomialFitter to iterate only N-times to ensure
that my
On 05/01/2012 05:23 PM, David Smiley (@MITRE.org) wrote:
I am reviewing Apache Lucene's use of Commons-Codec phonetic Encoders for
thread-safety. Unfortunately, there is barely any mention about
thread-safety in the javadocs. I think that's a real problem. I noticed
this old JIRA issue
83 matches
Mail list logo