mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
autoformat
This commit is contained in:
parent
b9fd2d0760
commit
5e04905b8e
|
|
@ -194,9 +194,9 @@ final class Metrics
|
||||||
* @param array $purchaseProbability Purchase probabilities
|
* @param array $purchaseProbability Purchase probabilities
|
||||||
*
|
*
|
||||||
* @return Matrix [
|
* @return Matrix [
|
||||||
* [0][0] = probability of buying in period t if customer bought in t = 1
|
* [0][0] = probability of buying in period t if customer bought in t = 1
|
||||||
* ...
|
* ...
|
||||||
* ]
|
* ]
|
||||||
*/
|
*/
|
||||||
public static function migrationModelPurchaseProbability(int $period, array $purchaseProbability) : Matrix
|
public static function migrationModelPurchaseProbability(int $period, array $purchaseProbability) : Matrix
|
||||||
{
|
{
|
||||||
|
|
@ -220,10 +220,10 @@ final class Metrics
|
||||||
* \end{bmatrix}
|
* \end{bmatrix}
|
||||||
*
|
*
|
||||||
* @return Matrix [
|
* @return Matrix [
|
||||||
* p1, 1-p1, 0,
|
* p1, 1-p1, 0,
|
||||||
* p2, 0, 1-p2,
|
* p2, 0, 1-p2,
|
||||||
* p3, 0, 1-p3,
|
* p3, 0, 1-p3,
|
||||||
* ] where pi = Probability that customer buys in period i
|
* ] where pi = Probability that customer buys in period i
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user