Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/python/ml-pca.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fig.show()

## Plotting explained variance

Often, you might be interested in seeing how much variance PCA is able to explain as you increase the number of components, in order to decide how many dimensions to ultimately keep or analyze. This example shows you how to quickly plot the cumulative sum of explained variance for a high-dimensional dataset like [Diabetes](https://scikit-learn.org/stable/datasets/index.html#diabetes-dataset).
Often, you might be interested in seeing how much variance PCA is able to explain as you increase the number of components, in order to decide how many dimensions to ultimately keep or analyze. This example shows you how to quickly plot the cumulative sum of explained variance for a high-dimensional dataset like [Diabetes](https://scikit-learn.org/stable/datasets/toy_dataset.html#diabetes-dataset).

With a higher explained variance, you are able to capture more variability in your dataset, which could potentially lead to better performance when training your model. For a more mathematical explanation, see this [Q&A thread](https://stats.stackexchange.com/questions/22569/pca-and-proportion-of-variance-explained).

Expand Down
2 changes: 1 addition & 1 deletion doc/python/violin.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ fig.show()

#### Ridgeline plot

A ridgeline plot ([previously known as Joy Plot](https://serialmentor.com/blog/2017/9/15/goodbye-joyplots)) shows the distribution of a numerical value for several groups. They can be used for visualizing changes in distributions over time or space.
A ridgeline plot ([previously known as Joy Plot](https://clauswilke.com/blog/2017/09/15/goodbye-joyplots/)) shows the distribution of a numerical value for several groups. They can be used for visualizing changes in distributions over time or space.

```python
import plotly.graph_objects as go
Expand Down