Skip to content

Commit 8b3f6f5

Browse files
committed
Additional files from .rst to .md
1 parent 23f89ba commit 8b3f6f5

File tree

3 files changed

+22
-68
lines changed

3 files changed

+22
-68
lines changed

doc/visual-programming/source/widgets/data/neighbors.rst renamed to doc/visual-programming/source/widgets/data/neighbors.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ Neighbors
33

44
Compute nearest neighbors in data according to reference.
55

6-
Inputs
7-
Data
8-
An input data set.
9-
Reference
10-
A reference data instance for neighbor computation.
6+
**Inputs**
117

12-
Outputs
13-
Neighbors
14-
A data table of nearest neighbors according to reference.
8+
- Data: An input data set.
9+
- Reference: A reference data instance for neighbor computation.
1510

11+
**Outputs**
12+
13+
- Neighbors: A data table of nearest neighbors according to reference.
1614

1715
The **Neighbors** widget computes nearest neighbors for a given reference and for a given distance measure.
1816

19-
.. figure:: images/Neighbors-stamped.png
20-
:scale: 50%
17+
![](images/Neighbors-stamped.png)
2118

2219
1. Information on the input data.
2320
2. Distance measure for computing neighbors. Supported measures are: Euclidean, Manhattan, Mahalanobis, Cosine, Jaccard, Spearman, absolute Spearman, Pearson, absolute Pearson. If *Exclude references* is ticked, data instances that are highly similar to the reference (distance < 1e-5), will be excluded.
@@ -28,14 +25,14 @@ The **Neighbors** widget computes nearest neighbors for a given reference and fo
2825
Examples
2926
--------
3027

31-
In the first example, we used *iris* data and passed it to **Neighbors** and to **Data Table**. In **Data Table**, we selected an instance of iris, that will serve as our reference, meaning we wish to retrieve 10 closest examples to the select data instance. We connect **Data Table** to **Neighbors** as well.
28+
In the first example, we used *iris* data and passed it to **Neighbors** and to [Data Table](../data/datatable.md). In **Data Table**, we selected an instance of iris, that will serve as our reference, meaning we wish to retrieve 10 closest examples to the select data instance. We connect **Data Table** to **Neighbors** as well.
3229

3330
We can observe the results of neighbor computation in **Data Table (1)**, where we can see 10 closest images to our selected iris flower.
3431

35-
.. figure:: images/Neighbors-Example1.png
32+
![](images/Neighbors-Example1.png)
3633

37-
Another example requires the installation of Image Analytics add-on. We loaded 15 paintings from famous painters with **Import Images** widget and passed them to **Image Embedding**, where we selected *Painters* embedder.
34+
Another example requires the installation of Image Analytics add-on. We loaded 15 paintings from famous painters with **Import Images** widget and passed them to **Image Embedding**, where we selected *Painters* embedder.
3835

3936
Then the procedure is the same as above. We passed embedded images to **Image Viewer** and selected a painting from Monet to serve as our reference image. We passed the image to **Neighbors**, where we set the distance measure to *cosine*, ticked off *Exclude reference* and set the neighbors to 2. This allows us to find the actual closest neighbor to a reference painting and observe them side by side in **Image Viewer (1)**.
4037

41-
.. figure:: images/Neighbors-Example2.png
38+
![](images/Neighbors-Example2.png)

doc/visual-programming/source/widgets/model/stacking.rst

Lines changed: 0 additions & 40 deletions
This file was deleted.

doc/visual-programming/source/widgets/visualize/lineplot.rst renamed to doc/visual-programming/source/widgets/visualize/lineplot.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,19 @@ Line Plot
33

44
Visualization of data profiles (e.g., time series).
55

6-
Inputs
7-
Data
8-
input dataset
9-
Data Subset
10-
subset of instances
6+
**Inputs**
117

12-
Outputs
13-
Selected Data
14-
instances selected from the plot
15-
Data
16-
data with an additional column showing whether a point is selected
8+
- Data: input dataset
9+
- Data Subset: subset of instances
1710

11+
**Outputs**
1812

19-
`Line plot <https://en.wikipedia.org/wiki/Line_chart>`_ a type of plot which displays the data as a series of points, connected by straight line segments. It only works for numerical data, while categorical can be used for grouping of the data points.
13+
- Selected Data: instances selected from the plot
14+
- Data: data with an additional column showing whether a point is selected
2015

21-
.. figure:: images/LinePlot-stamped.png
16+
[Line plot](https://en.wikipedia.org/wiki/Line_chart) a type of plot which displays the data as a series of points, connected by straight line segments. It only works for numerical data, while categorical can be used for grouping of the data points.
17+
18+
![](images/LinePlot-stamped.png)
2219

2320
1. Information on the input data.
2421
2. Select what you wish to display:
@@ -35,6 +32,6 @@ Example
3532

3633
**Line Plot** is a standard visualization widget, which displays data profiles, normally of ordered numerical data. In this simple example, we will display the *iris* data in a line plot, grouped by the iris attribute. The plot shows how petal length nicely separates between class values.
3734

38-
If we observe this in a **Scatter Plot**, we can confirm this is indeed so. Petal length is an interesting attribute for separation of classes, especially when enhanced with petal width, which is also nicely separated in the line plot.
35+
If we observe this in a [Scatter Plot](../visualize/scatterplot.md), we can confirm this is indeed so. Petal length is an interesting attribute for separation of classes, especially when enhanced with petal width, which is also nicely separated in the line plot.
3936

40-
.. figure:: images/LinePlot-Example.png
37+
![](images/LinePlot-Example.png)

0 commit comments

Comments
 (0)