Skip to content

Commit

Permalink
Merge pull request #46 from msamsami/minor-update-readme-getting-started
Browse files Browse the repository at this point in the history
doc: minor update in getting started section of RAEDME
  • Loading branch information
msamsami authored Jan 31, 2025
2 parents 18709d4 + e3cea24 commit 7abbf3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ gnb = GeneralNB(distributions=[D.NORMAL, D.CATEGORICAL, D.EXPONENTIAL, D.EXPONEN
or
```python
# Columns not explicitly specified will default to Gaussian (normal) distribution
gnb = GeneralNB(distributions=[(D.CATEGORICAL, "col2"), (D.EXPONENTIAL, ["col3", "col4"])])
gnb = GeneralNB(
distributions=[
(D.CATEGORICAL, "col2"),
(D.EXPONENTIAL, ["col3", "col4"]),
],
)
```

3. Fit the classifier to a training set (with four features)
Expand Down

0 comments on commit 7abbf3f

Please sign in to comment.