Line 311: | Line 311: | ||
<p style="text-align: center;" > Figure 6 </p> | <p style="text-align: center;" > Figure 6 </p> | ||
− | $$ y_{i} = \beta_{0} + \beta_{1}x_{i}+ \beta_{1}x^2_{i} + ... + + \beta_{m}x^m_{i} + \varepsilon_{i} (i = 1,2,...,n) $$ | + | $$ \color{white}{ y_{i} = \beta_{0} + \beta_{1}x_{i}+ \beta_{1}x^2_{i} + ... + + \beta_{m}x^m_{i} + \varepsilon_{i} (i = 1,2,...,n) } $$ |
+ | |||
+ | <p style="text-align: center;" > Which can be expanded as in Matrix Notation: </p> | ||
+ | |||
+ | $$ \color{white}{ \begin{bmatrix} | ||
+ | \\ y_1 | ||
+ | \\ y_2 | ||
+ | \\ y_3 | ||
+ | \\ \vdots | ||
+ | \\ y_n | ||
+ | |||
+ | \end{bmatrix} | ||
+ | = | ||
+ | \begin{bmatrix} | ||
+ | 1 & x_1 & x^2_1 & ... & x^m_1\\ | ||
+ | 1 & x_2 & x^2_2 & ... & x^m_2\\ | ||
+ | 1 & x_3 & x^2_3 & ... & x^m_3 \\ | ||
+ | \vdots & \vdots & \vdots & \ddots & \vdots \\ | ||
+ | 1 & x_n & x^2_n & ... & x^m_3 | ||
+ | \end{bmatrix} | ||
+ | |||
+ | \begin{bmatrix} | ||
+ | \\ \beta_1 | ||
+ | \\ \beta_2 | ||
+ | \\ \beta_3 | ||
+ | \\ \vdots | ||
+ | \\ \beta_n | ||
+ | \end{bmatrix} | ||
+ | + | ||
+ | \begin{bmatrix} | ||
+ | \\ \varepsilon _1 | ||
+ | \\ \varepsilon_2 | ||
+ | \\ \varepsilon_3 | ||
+ | \\ \vdots | ||
+ | \\ \varepsilon_n | ||
+ | \end{bmatrix} | ||
+ | } | ||
+ | $$ | ||
<p> The team decided it would be appropriate to use Polynomial Fitting as it was found to follow the points the closest when graphed. Furthermore, threshold could be adjusted by adding or subtracting from the equation produced. The data from the Key colony is checked and if it falls outside the threshold, the user is locked! </p> | <p> The team decided it would be appropriate to use Polynomial Fitting as it was found to follow the points the closest when graphed. Furthermore, threshold could be adjusted by adding or subtracting from the equation produced. The data from the Key colony is checked and if it falls outside the threshold, the user is locked! </p> |
Revision as of 21:50, 1 November 2017
SOFTWARE