Skip to content

Commit

Permalink
docs: fix dead links
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Mar 4, 2023
1 parent 8df0d48 commit 8592486
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/tutorials/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Now we want to have a look at what our dataset looks like. For this, we use Jupy
data # calls display(data)
```

![Table](docs/tutorials/resources/table.png)
![Table](resources/table.png)

Next some statistics.

```python
data.summary() # returns a table with various statistics for each column
```

![Summary](docs/tutorials/resources/summary.png)
![Summary](resources/summary.png)

As you can see here, the **idness** of the column _PassengerId_ is 1. This means, that every row has a unique value for
this column. Since this isn't helpful for our usecase we can drop it.
Expand All @@ -48,7 +48,7 @@ data_only_numerics = Table.from_columns(data_cleaned.list_columns_with_numerical
correlation_heatmap(data_only_numerics)
```

![Heatmap](docs/tutorials/resources/heatmap.png)
![Heatmap](resources/heatmap.png)

As you can see, the columns _Fare_ and _Pclass_ (Passenger Class) seem to heavily correlate. Let's have another look at that.
## Lineplot
Expand All @@ -59,7 +59,7 @@ from safeds.plotting import lineplot
lineplot(data_cleaned, "Pclass", "Fare")
```

![Lineplot](docs/tutorials/resources/lineplot.png)
![Lineplot](resources/lineplot.png)

The line itself represents the central tendency and the hued area around it a confidence interval for that estimate.

Expand All @@ -75,19 +75,19 @@ from safeds.plotting import boxplot
boxplot(data_cleaned.get_column("Age"))
```

![Boxplot](docs/tutorials/resources/boxplot.png)
![Boxplot](resources/boxplot.png)

```python
from safeds.plotting import histogram

histogram(data_cleaned.get_column("Fare"))
```
![Histogram](docs/tutorials/resources/histogram.png)
![Histogram](resources/histogram.png)

```python
from safeds.plotting import scatterplot

scatterplot(data_cleaned, "Age", "Fare")
```

![Scatterplot](docs/tutorials/resources/scatterplot.png)
![Scatterplot](resources/scatterplot.png)

0 comments on commit 8592486

Please sign in to comment.