From fa8c7cd89e27b288ae79863ebb78a431bd8626fe Mon Sep 17 00:00:00 2001 From: Yuan-Chi Chang <84025022+yuanchi2807@users.noreply.github.com> Date: Mon, 21 Jun 2021 08:16:43 -0400 Subject: [PATCH] Update fit_and_score.md Duplicated paragraph removed --- docs/source/examples/fit_and_score.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/examples/fit_and_score.md b/docs/source/examples/fit_and_score.md index 4f3bd1c..7cb8a9b 100644 --- a/docs/source/examples/fit_and_score.md +++ b/docs/source/examples/fit_and_score.md @@ -21,8 +21,6 @@ limitations under the License. We use a sklearn pipeline example Comparing Nearest Neighbors with and without Neighborhood Components Analysis to demonstrate how to define, fit and score multiple classifiers with CodeFlare (CF) Pipelines. The sklearn and CF pipeline notebook is published here [here](https://github.com/project-codeflare/codeflare/blob/main/notebooks/plot_nca_classification.ipynb) This example plots the class decision boundaries given by a Nearest Neighbors classifier when using the Euclidean distance on the original features, versus using the Euclidean distance after the transformation learned by Neighborhood Components Analysis. Its output is pictorially illustrated with colored decision boundaries like the pictures below. -This example plots the class decision boundaries given by a Nearest Neighbors classifier when using the Euclidean distance on the original features, versus using the Euclidean distance after the transformation learned by Neighborhood Components Analysis. Its output is pictorially illustrated with colored decision boundaries like the pictures below. - ![](../images/classification_and_score_1.jpeg) Classification score and boundaries of KNN with k=1 @@ -97,4 +95,4 @@ Classification score and boundaries of KNN with k=1 Classification score and boundaries of KNN with Neighborhood Component Analysis -The Jupyter notebook of this example is available [here](https://github.com/project-codeflare/codeflare/blob/main/notebooks/plot_nca_classification.ipynb) to demonstrate how one might translate sklearn pipelines to Codeflare pipelines that take advantage of Ray's distributed processing. Please try it out and let us know what you think. \ No newline at end of file +The Jupyter notebook of this example is available [here](https://github.com/project-codeflare/codeflare/blob/main/notebooks/plot_nca_classification.ipynb) to demonstrate how one might translate sklearn pipelines to Codeflare pipelines that take advantage of Ray's distributed processing. Please try it out and let us know what you think.