From solr-user-return-139342-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Feb 23 21:10:51 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B986B180652 for ; Fri, 23 Feb 2018 21:10:50 +0100 (CET) Received: (qmail 85211 invoked by uid 500); 23 Feb 2018 20:10:48 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 85194 invoked by uid 99); 23 Feb 2018 20:10:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2018 20:10:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A42531A08FA for ; Fri, 23 Feb 2018 20:10:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id rLD8KPAG_AzX for ; Fri, 23 Feb 2018 20:10:46 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 383635F3CD for ; Fri, 23 Feb 2018 20:10:46 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id 188so6149128wme.1 for ; Fri, 23 Feb 2018 12:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8E0ae8/Xppv7Abp+q2RkjuDkX94jhzopJeFJpNaPeqA=; b=uLeY87Pj2Vdgsvqoj23SgcjQyOllADni/HmrK1ZCfkEFNGLznnOLH/yQE/yLAiKrVC EK+AThTsJBLprw+KukLczJ7IwC6Twq8iz83r/qnCUJEKJoC4QpNmoMYkKlEPNRwD/9li Lj6XUMxsjrQMNzItf2a01JCRLMyJujpTOVkQLbdjbzeQIuep3uMRuDkQeFK7LAZhrkl8 inFHzYpWe0+/DWUdBFVRvJXI8W2LIdzwYY8HArLsTTq7Hgt1fo0FmU9Et2YzRjE6vQyx DqBGyDuq4uURxZunAy9CRLL4fw6v3XY8/1sBmVLqQHY6FnyTHfvxkHg18jwzu/8wGBfu iCrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8E0ae8/Xppv7Abp+q2RkjuDkX94jhzopJeFJpNaPeqA=; b=UEb99vnBjI/9w8kYEQD4vqTZYXo9VbRR7b55WzVbiH0vd8R+ZDehgF2YaO3nAGdJCx QmFzd6l5DGNWnYxxC9xGZ/0m64GJIYv3QKcWw0HYQhNAi7A7ptsUPWgUxRbXp76ZLi6T SnnzUDkf4R8GUvZZefPOypj0GFYGvf1d8U7xV4FttyZ6EdgKHv/JPwJXso1x4GF1Oo3A naCdmwFBWV7gUV3oy9zgsO4eL8Kg45dvNfTLFYF5O0kRVXD2pgpQxOPBCrVjNI+H1bJ1 iiJAtO+c4qq2rw7xTOe+HejoFfObZXal7s0s1kagaZWVIS/2iXobB+J2ZKT7AXXA9hYm yfSw== X-Gm-Message-State: APf1xPC7vWi9nffy0nkoGZXo3TgZotHfilsDT0yvJObdjm+WJGKD9YRH UH4/pbbfUkyTNlwzvSzJJw8oADCpvNTZosHFYaQ= X-Google-Smtp-Source: AG47ELvGxQ+TUtJFdTNcb8di45KpeAoxs4mEksbT9bHohMnxZVPUZB+XTAenNVcgvNt+oPqBZvRN9EMbVmIBAJdZG/E= X-Received: by 10.28.158.197 with SMTP id h188mr2832769wme.72.1519416645692; Fri, 23 Feb 2018 12:10:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.197.78 with HTTP; Fri, 23 Feb 2018 12:10:45 -0800 (PST) In-Reply-To: References: From: John Smith Date: Fri, 23 Feb 2018 15:10:45 -0500 Message-ID: Subject: Re: statistics in hitlist To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="001a114b2d826eb0f40565e6c1fc" --001a114b2d826eb0f40565e6c1fc Content-Type: text/plain; charset="UTF-8" Hi Joel, thanks for the answer. I'm not really a stats guy, but the end result of all this is supposed to be obtaining R^2. Is there no way of obtaining this value, then (short of iterating over all the results in the hitlist and calculating it myself)? On Fri, Feb 23, 2018 at 12:26 PM, Joel Bernstein wrote: > Typically SSE is the sum of the squared errors of the prediction in a > regression analysis. The stats component doesn't perform regression, > although it might be a nice feature. > > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Fri, Feb 23, 2018 at 12:17 PM, John Smith wrote: > > > I'm using solr, and enabling stats as per this page: > > https://lucene.apache.org/solr/guide/6_6/the-stats-component.html > > > > I want to get more stat values though. Specifically I'm looking for > > r-squared (coefficient of determination). This value is not present in > > solr, however some of the pieces used to calculate r^2 are in the stats > > element, for example: > > > > 0.0 > > 10.0 > > 15 > > 17 > > 85.0 > > 603.0 > > 5.666666666666667 > > 2.943920288775949 > > > > > > So I have the sumOfSquares available (SST), and using this calculation, I > > can get R^2: > > > > R^2 = 1 - SSE/SST > > > > All I need then is SSE. Is there anyway I can get SSE from those other > > stats in solr? > > > > Thanks in advance! > > > --001a114b2d826eb0f40565e6c1fc--