You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jb...@apache.org on 2019/10/16 12:51:55 UTC

[lucene-solr] branch SOLR-13105-visual updated: SOLR-13105: Improve curve fitting docs 2

This is an automated email from the ASF dual-hosted git repository.

jbernste pushed a commit to branch SOLR-13105-visual
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/SOLR-13105-visual by this push:
     new 623a026  SOLR-13105: Improve curve fitting docs 2
623a026 is described below

commit 623a026321ad8746265e8c4526423ec29e321c7f
Author: Joel Bernstein <jb...@apache.org>
AuthorDate: Wed Oct 16 08:51:48 2019 -0400

    SOLR-13105: Improve curve fitting docs 2
---
 solr/solr-ref-guide/src/curve-fitting.adoc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/solr/solr-ref-guide/src/curve-fitting.adoc b/solr/solr-ref-guide/src/curve-fitting.adoc
index c111acf..ed5a212 100644
--- a/solr/solr-ref-guide/src/curve-fitting.adoc
+++ b/solr/solr-ref-guide/src/curve-fitting.adoc
@@ -28,11 +28,10 @@ These functions support constructing a curve through bivariate non-linear data.
 The `polyfit` function is a general purpose curve fitter used to model
 the non-linear relationship between two random variables.
 
-The `polyfit` function is passed x- and y-axes and fits a smooth curve to the data.
+The `polyfit` function is passed *x* and *y* axes and fits a smooth curve to the data.
 If only a single array is provided it is treated as the y-axis and a sequence is generated
-for the x-axis.
-
-The `polyfit` function also has a parameter that specifies the degree of the polynomial. The higher
+for the x-axis. A third parameter can be added that specifies the degree of the polynomial. If the degree is
+not provided a 3 degree polynomial is used by default. The higher
 the degree the more curves that can be modeled.
 
 The `polyfit` function can be visualized in a similar manner to linear regression with the