Skip to content

Commit 11c4bb7

Browse files
committed
Handle warning about non-consecutive header levels
1 parent 5395787 commit 11c4bb7

File tree

6 files changed

+16
-18
lines changed

6 files changed

+16
-18
lines changed

source/widgets/data/applydomain.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ Given dataset and template transforms the dataset.
1818

1919
The widget receives a dataset and a template dataset used to transform the dataset.
2020

21-
#### Side note
22-
23-
Domain transformation works by using information from the template data. For example, for PCA, Components are not enough. Transformation requires information on the center of each column, variance (if the data is normalized), and if and how the data was preprocessed (continuized, imputed, etc.).
21+
**Side note.** Domain transformation works by using information from the template data. For example, for PCA, Components are not enough. Transformation requires information on the center of each column, variance (if the data is normalized), and if and how the data was preprocessed (continuized, imputed, etc.).
2422

2523
Example
2624
-------

source/widgets/data/csvfileimport.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The **CSV File Import** widget reads comma-separated files and sends the dataset
1212

1313
*Data Frame* output can be used in the [Python Script](../data/pythonscript.md) widget by connecting it to the `in_object` input (e.g. `df = in_object`). Then it can be used a regular DataFrame.
1414

15-
### Import Options
15+
## Import Options
1616

1717
The import window where the user sets the import parameters. Can be re-opened by pressing *Import Options* in the widget.
1818

@@ -41,7 +41,7 @@ Right click on the column name to set the column type. Right click on the row in
4141
- *Ignore*: do not output the column.
4242
4. Pressing *Reset* will return the settings to the previously set state (saved by pressing OK in the Import Options dialogue). *Restore Defaults* will set the settings to their default values. *Cancel* aborts the import, while *OK* imports the data and saves the settings.
4343

44-
### Widget
44+
## Widget
4545

4646
The widget once the data is successfully imported.
4747

@@ -51,7 +51,7 @@ The widget once the data is successfully imported.
5151
2. Information on the imported data set. Reports on the number of instances (rows), variables (features or columns) and meta variables (special columns).
5252
3. *Import Options* re-opens the import dialogue where the user can set delimiters, encodings, text fields and so on. *Cancel* aborts data import. *Reload* imports the file once again, adding to the data any changes made in the original file.
5353

54-
### Encoding
54+
## Encoding
5555

5656
The dialogue for settings custom encodings list in the Import Options - Encoding dropdown. Select *Customize Encodings List...* to change which encodings appear in the list. To save the changes, simply close the dialogue. Closing and reopening Orange (even with Reset widget settings) will not re-set the list. To do this, press *Restore Defaults*. To have all the available encodings in the list, press *Select all*.
5757

source/widgets/data/formula.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We can observe the changes in a [Data Table](../data/datatable.md) widget.
3636

3737
![](images/Formula-Example.png)
3838

39-
#### Python math language
39+
### Python math language
4040

4141
If you are unfamiliar with Python math language, here's a quick introduction.
4242
Expressions can use the following operators:

source/widgets/data/impute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ Example
3434

3535
To demonstrate how the **Impute** widget works, we selected the *heart_disease* dataset, which contains some missing values in the *major vessels colored* feature. We show those four attributes in [Data Table](../data/datatable.md).
3636

37-
We used the **Impute** widget and selected the *Fixed valuer* to impute the missing values only for the *major vessels colored* attribute. In Data Table (imputed), we see how the question marks turned into 0, which was our choice for a fixed value.
37+
We used the **Impute** widget and selected the *Fixed values* to impute the missing values only for the *major vessels colored* attribute. In Data Table (imputed), we see how the question marks turned into 0, which was our choice for a fixed value.
3838

3939
![](images/Impute-Example.png)

source/widgets/data/mergedata.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Depending upon the merge types, selected features may be required to have unique
3030
Merging Types
3131
-------------
3232

33-
##### Append Columns from Extra Data (left join)
33+
**Append Columns from Extra Data (left join)**
3434

3535
Columns from the Extra Data are added to the Data. Instances with no matching rows will have missing values added.
3636

@@ -42,7 +42,7 @@ For this type of merge, the values on the left (e.g. cities) may repeat (e.g. th
4242

4343
![](images/MergeData_Append.png)
4444

45-
##### Find matching pairs of rows (inner join)
45+
**Find matching pairs of rows (inner join)**
4646

4747
Only those rows that are matched will be present on the output, with the Extra Data columns appended. Rows without matches are removed.
4848

@@ -52,7 +52,7 @@ For this type of merge, combinations of features on the left and on the right mu
5252

5353
![](images/MergeData_Intersection.png)
5454

55-
##### Concatenate tables (outer join)
55+
**Concatenate tables (outer join)**
5656

5757
The rows from both the Data and the Extra Data will be present on the output. Where rows cannot be matched, missing values will appear.
5858

@@ -62,17 +62,17 @@ For this type of merge, combinations of features on the left and on the right mu
6262

6363
![](images/MergeData_Concatenate.png)
6464

65-
##### Row index
65+
### Row index
6666

6767
Data will be merged in the same order as they appear in the table. Row number 1 from the Data input will be joined with row number 1 from the Extra Data input. Row numbers are assigned by Orange based on the original order of the data instances.
6868

69-
##### Instance ID
69+
### Instance ID
7070

7171
This is a more complex option. Sometimes, data is transformed in the analysis and the domain is no longer the same. Nevertheless, the original row indices are still present in the background (Orange remembers them). In this case, one can merge on instance ID. For example, you transformed the data with [PCA](../unsupervised/PCA.md), visualized it in the [Scatter Plot](../visualize/scatterplot.md), selected some data instances and now you wish to see the original information of the selected subset. Connect the output of Scatter Plot to Merge Data, add the original data set as *Extra Data* and merge by *Instance ID*.
7272

7373
![](images/MergeData-InstanceID.png)
7474

75-
##### Merge by two or more attributes
75+
### Merge by two or more attributes
7676

7777
Sometimes our data instances are unique with respect to a combination of columns, not a single column. To merge by more than a single column, add the *Row matching* condition by pressing plus next to the matching condition. To remove it, press the x.
7878

source/widgets/data/pythonscript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Python Script widget is intended to extend functionalities for advanced users. C
4545

4646
Documentation and additional scripts are available in the [orange-scripts](https://github.com/biolab/orange-scripts) repository.
4747

48-
#### Batch filtering
48+
### Batch filtering
4949

5050
One can, for example, do batch filtering by attributes. We used zoo.tab for the example and we filtered out all the attributes that have more than 5 discrete values. This in our case removed only 'leg' attribute, but imagine an example where one would have many such attributes.
5151

@@ -58,7 +58,7 @@ One can, for example, do batch filtering by attributes. We used zoo.tab for the
5858

5959
![](images/PythonScript-Example1.png)
6060

61-
#### Rounding values
61+
### Rounding values
6262

6363
The second example shows how to round all the values in a few lines of code. This time we used wine.tab and rounded all the values to whole numbers.
6464

@@ -69,7 +69,7 @@ The second example shows how to round all the values in a few lines of code. Thi
6969

7070
![](images/PythonScript-Example2.png)
7171

72-
#### Gaussian noise
72+
### Gaussian noise
7373

7474
The third example introduces some Gaussian noise to the data. Again we make a copy of the input data, then walk through all the values with a double for loop and add random noise.
7575

@@ -83,7 +83,7 @@ The third example introduces some Gaussian noise to the data. Again we make a co
8383

8484
![](images/PythonScript-Example3.png)
8585

86-
#### Custom text preprocessing
86+
### Custom text preprocessing
8787

8888
The final example uses Orange3-Text add-on. **Python Script** is very useful for custom preprocessing in text mining, extracting new features from strings, or utilizing advanced *nltk* or *gensim* functions. Below, we tokenized our input data from *deerwester.tab* by splitting them by whitespace.
8989

0 commit comments

Comments
 (0)