rgmining/fraud-eagle

View on GitHub

Showing 59 of 59 total issues

Line too long (84 > 79 characters)
Open

This helper function computes a logarithm of the product of messages such as
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (84 > 79 characters)
Open

This helper function computes a logarithm of the product of messages such as
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (84 > 79 characters)
Open

This helper function computes a logarithm of the product of messages such as
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (113 > 79 characters)
Open

The argument `label` must be one of the {:data:`ProductLabel.GOOD<fraud_eagle.labels.ProductLabel.GOOD>`,
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (81 > 79 characters)
Open

who reviews the product. The message function :math:`m_{p\\rightarrow u}`
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (85 > 79 characters)
Open

"""Compute a product of messages sending to a reviewer except from a product.
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (90 > 79 characters)
Open

sum_product = self.retrieve_review(reviewer, product).product_to_user(u_label)
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (81 > 79 characters)
Open

ratings = [self.graph.retrieve_review(r, self).rating for r in reviewers]
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (95 > 79 characters)
Open

Otherwise, :data:`ReviewLabel.MINUS<fraud_eagle.labels.ReviewLabel.MINUS>` is returned.
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (92 > 79 characters)
Open

def prod_message_from_all_users(self, product: Product, p_label: ProductLabel) -> float:
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (118 > 79 characters)
Open

def prod_message_from_users(self, reviewer: Optional[Reviewer], product: Product, p_label: ProductLabel) -> float:
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (95 > 79 characters)
Open

self._product_to_user = {UserLabel.HONEST: _LOG_POINT_5, UserLabel.FRAUD: _LOG_POINT_5}
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (113 > 79 characters)
Open

The argument `label` must be one of the {:data:`ProductLabel.GOOD<fraud_eagle.labels.ProductLabel.GOOD>`,
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (94 > 79 characters)
Open

def prod_message_from_all_products(self, reviewer: Reviewer, u_label: UserLabel) -> float:
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (82 > 79 characters)
Open

is a set of product labels, and :math:`\\mathbb{R}_{\\geq 0}` is a set of real
Severity: Minor
Found in fraud_eagle/prior.py by pep8

Line too long (97 > 79 characters)
Open

self._user_to_product = {ProductLabel.GOOD: _LOG_POINT_5, ProductLabel.BAD: _LOG_POINT_5}
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (108 > 79 characters)
Open

def _update_user_to_product(self, reviewer: Reviewer, product: Product, p_label: ProductLabel) -> float:
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (114 > 79 characters)
Open

return cast(float, np.sum([self.retrieve_review(r, product).user_to_product(p_label) for r in reviewers]))
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (80 > 79 characters)
Open

where :math:`\\cal{N}_{i} \\cap \\cal{Y}^{\\cal{P}}/product` means a set
Severity: Minor
Found in fraud_eagle/graph.py by pep8

Line too long (85 > 79 characters)
Open

"""Message function from the product to the user associated with this review.
Severity: Minor
Found in fraud_eagle/graph.py by pep8
Severity
Category
Status
Source
Language