Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KEINOS committed Jun 18, 2023
1 parent 15c8081 commit e90dce5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,27 @@

`github.com/KEINOS/go-bayes` is a Go package for Bayesian inference.

```go
## Usage

```sh
# Download the module
go get github.com/KEINOS/go-bayes
```

```go
// Import the package
import "github.com/KEINOS/go-bayes"
```

```go
package main

import (
"fmt"
"log"

"github.com/KEINOS/go-bayes"
)

func Example() {
// "Happy Birthday", the train data. The types of slices available for the
Expand Down Expand Up @@ -58,6 +73,8 @@ func Example() {
}
```

- [View it online](https://go.dev/play/p/N2-0xNxAKp9) @ GoPlayground

## Examples

- [Training with a slice of boolean values](https://pkg.go.dev/github.com/KEINOS/go-bayes#example-Train-Bool)
Expand Down

0 comments on commit e90dce5

Please sign in to comment.