Skip to content

Commit

Permalink
Add train to SS3 (as an alias for fit)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioburdisso committed Feb 20, 2020
1 parent aa667db commit 74cb540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyss3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ def set_verbosity(level):
Print.set_verbosity(level)


# aliases
# user-friendly aliases
SS3.set_smoothness = SS3.set_s
SS3.get_smoothness = SS3.get_s
SS3.set_significance = SS3.set_l
Expand All @@ -2431,3 +2431,5 @@ def set_verbosity(level):
SS3.get_sanction = SS3.get_p
SS3.set_alpha = SS3.set_a
SS3.get_alpha = SS3.get_a
SS3.get_alpha = SS3.get_a
SS3.train = SS3.fit

0 comments on commit 74cb540

Please sign in to comment.