Skip to content

Commit

Permalink
docs:
Browse files Browse the repository at this point in the history
  • Loading branch information
dherlyar committed Jan 25, 2024
1 parent 39faa3c commit c7504f0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion app/docs/get-started/instalasi/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kamu bisa menginstall package dari open series dengan 2 cara antara lain:
- **install via pip**<br/>kamu bisa menginstall via pip dengan cara

```bash
pip install git+https://github.com/bellshade/OpenSeries
pip install OpenSeriesBellshade
```

kalau kamu menemukan masalah seperti ini
Expand Down
2 changes: 1 addition & 1 deletion app/docs/matematika/radian-ke-derajat/page.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Radian ke derajat
# Radian ke Derajat

Rumus:

Expand Down
60 changes: 30 additions & 30 deletions app/docs/statistika/entropy/page.mdx
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# entropy

Rumus:

```
H(X) = -∑p(x)log(p(x))
```

Fungsi [sumber kode [disini](https://github.com/bellshade/OpenSeries/blob/main/OpenSeries/statistika.py#L6)]

```python
def entropy(
label: list[int], base: int = None
) -> Union[float, int, str]:
```

Contoh Kode

```python
from OpenSeries import statistika as statistika

# contoh dari entropy
label = [1, 1, 2, 2, 3, 3]
hasil_base_2 = statistika.entropy(label, base=2)
print(hasil_base_2)
```

## Coba Sekarang

<iframe src="https://replit.com/@ItsArul/entropy?embed=1&theme=light" className="aspect-video w-full" />
# Entropy

Rumus:

```
H(X) = -∑p(x)log(p(x))
```

Fungsi [sumber kode [disini](https://github.com/bellshade/OpenSeries/blob/main/OpenSeries/statistika.py#L6)]

```python
def entropy(
label: list[int], base: int = None
) -> Union[float, int, str]:
```

Contoh Kode

```python
from OpenSeries import statistika as statistika

# contoh dari entropy
label = [1, 1, 2, 2, 3, 3]
hasil_base_2 = statistika.entropy(label, base=2)
print(hasil_base_2)
```

## Coba Sekarang

<iframe src="https://replit.com/@ItsArul/Entropy?embed=1&theme=light" className="aspect-video w-full" />
4 changes: 2 additions & 2 deletions app/docs/statistika/standar-deviasi/page.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# standar deviasi
# Standar Deviasi

Rumus:

Expand Down Expand Up @@ -29,4 +29,4 @@ print(hasil)

## Coba Sekarang

<iframe src="https://replit.com/@ItsArul/standar_deviasi?embed=1&theme=light" className="aspect-video w-full" />
<iframe src="https://replit.com/@ItsArul/StandarDeviasi?embed=1&theme=light" className="aspect-video w-full" />
4 changes: 2 additions & 2 deletions constants/documentations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const documentations = [
{
title: "Hukum Ohm",
href: "/docs/fisika/hukum-ohm"
},
}
]
},
{
Expand All @@ -72,7 +72,7 @@ export const documentations = [
{
title: "standar deviasi",
href: "/docs/statistika/standar-deviasi"
},
}
]
}
];

0 comments on commit c7504f0

Please sign in to comment.