Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9B38F8CA for ; Wed, 8 May 2013 18:55:26 +0000 (UTC) Received: (qmail 93954 invoked by uid 500); 8 May 2013 18:55:25 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 93849 invoked by uid 500); 8 May 2013 18:55:24 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 93832 invoked by uid 99); 8 May 2013 18:55:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 18:55:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thomas.neidhart@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-wg0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 18:55:18 +0000 Received: by mail-wg0-f42.google.com with SMTP id j13so5471735wgh.1 for ; Wed, 08 May 2013 11:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=BaOyYn6kweuHVKIIzxDuX58gqtxXaHNSdIWQnHYaF2U=; b=jtxWpA9+qQdRFaXvGHmWInv/w4TJF9oMgSYFZfh1LnPI99QkP0HHNY8O+LuyfJYWu5 BY0unuWfQB67LLQKAGsG3lRhhLou2oMI3kTpm5mnb6RrThOqbmZnj8/P3DJ/2og1Ca4s ylWPvyjCu/EsAA91C7nQfFbJ8wr8bSN4S0zhpgEepIZCF5zet+Dms+ilmR1EQr+V0wDl o++4Z9KrKdREZVyTY4ey/64gbGWEhOZRiijTqXKCizbOWp3Q2U8N5EAL0c+X7AXBEUZj /W7LkGScCU9PlDaZMn1atHxbfmixs48GR0gI1kQR/2Pi0AT3wcJIB7KhFPh3u4eWJcYO 3D+w== X-Received: by 10.180.198.49 with SMTP id iz17mr23990880wic.19.1368039298112; Wed, 08 May 2013 11:54:58 -0700 (PDT) Received: from [192.168.1.2] (ip-83-134-96-45.dsl.scarlet.be. [83.134.96.45]) by mx.google.com with ESMTPSA id ek7sm11094639wic.4.2013.05.08.11.54.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 11:54:57 -0700 (PDT) Message-ID: <518A9F7F.3090109@gmail.com> Date: Wed, 08 May 2013 20:54:55 +0200 From: Thomas Neidhart User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Commons Users List Subject: Re: [math] smoothing techniques References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 05/08/2013 07:54 PM, luca.marchetti@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 series of experimental data. Before applying my algorithms, I would like to apply a suitable smoothing technique for reducing the noise in the data. > Usually, when I work with Matlab, I solve the problem by means of the fitting toolbox and, more specifically, by substituting the noisy time series with those obtained by applying the Smoothing spline fitting algorithm (which is, more or less, the same of the smooth.spline algorithm implemented in R). > Is there something similar implemented in math commons? Hi Luca, to smooth the output of a stochastic linear process, you can use the KalmanFilter implementation (see http://commons.apache.org/proper/commons-math/userguide/filter.html). You may need to setup your process model and define the estimated (gaussian) noise to get good results, just ask if you need help. There are also several (polynomial) fitters in the fitter package, which may do what you have in mind. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org