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/01 21:05:53 UTC

[lucene-solr] branch SOLR-13105-visual updated: SOLR-13105: Update machine learning docs 7

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 b7d1841  SOLR-13105: Update machine learning docs 7
b7d1841 is described below

commit b7d1841682cfa24ae07892a6c26989bce437182f
Author: Joel Bernstein <jb...@apache.org>
AuthorDate: Tue Oct 1 17:05:44 2019 -0400

    SOLR-13105: Update machine learning docs 7
---
 solr/solr-ref-guide/src/machine-learning.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/machine-learning.adoc b/solr/solr-ref-guide/src/machine-learning.adoc
index 43d5eca..1b104f7 100644
--- a/solr/solr-ref-guide/src/machine-learning.adoc
+++ b/solr/solr-ref-guide/src/machine-learning.adoc
@@ -585,7 +585,7 @@ In this example the `random` function draws a sample of records from the nyc311
 the complaint description matches "rat sighting" and latitude is populated in the record. The latitude and longitude fields
 are then vectorized and added as rows to a matrix. The matrix is transposed so each row contains a single latitude, longitude
 point. The `kmeans` function is then used to cluster the latitude and longitude points into 5 clusters. The `zplot` function
-is then used visualize the clusters as a scatter chart.
+is then used to visualize the clusters as a scatter chart.
 
 image::images/math-expressions/2Dcluster.png[]
 
@@ -625,7 +625,7 @@ field. This analyzer returns bigrams which are then annotated to documents in a
 The `termVectors` function then creates TD-IDF term vectors from the bigrams stored in the *terms* field.
 The `kmeans` function is then used to cluster the bigram term vectors.
 Finally the top 5 features are extracted from the centroids an returned. Notice
-that the features are all bigram phrases with semantic significance to the result set. 
+that the features are all bigram phrases with semantic significance to the result set.
 
 
 [source,text]