Skip to content

Commit

Permalink
Update MYT decomposition doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Salamone committed Feb 16, 2022
1 parent 92b4c59 commit 8a58c38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = tsquared
version = 1.0.0
version = 1.0.1
description = Hotelling's T-squared (T2) for process monitoring and MYT decomposition
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
12 changes: 6 additions & 6 deletions tsquared/myt_decomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from scipy import stats
from sklearn.utils.validation import check_is_fitted

from tsquared.hotelling_t2 import HotellingT2
from tsquared import HotellingT2

class MYTDecomposition:
"""MYT Decomposition of the Hotelling's T-squared statistic.
Expand Down Expand Up @@ -45,8 +45,8 @@ class MYTDecomposition:
Parameters
----------
hotelling_t2 : hotelling_t2.HotellingT2
A hotelling_t2.HotellingT2 object.
hotelling_t2 : tsquared.HotellingT2
A tsquared.HotellingT2 object.
References
----------
Expand Down Expand Up @@ -114,13 +114,13 @@ def __init__(self, hotelling_t2):
Parameters
----------
hotelling_t2 : hotelling_t2.HotellingT2
A hotelling_t2.HotellingT2 object.
hotelling_t2 : tsquared.HotellingT2
A tsquared.HotellingT2 object.
"""

if not isinstance(hotelling_t2, HotellingT2):
raise TypeError("The argument `hotelling_t2` must be a"
" hotelling_t2.HotellingT2 object.")
" tsquared.HotellingT2 object.")

self.hotelling_t2 = hotelling_t2

Expand Down

0 comments on commit 8a58c38

Please sign in to comment.