Dynamic expressions for representing features in an online system
AssigneeFacebook, Inc.
InventorsAlon Michael Shalita, Ming Hua, Ryan Allen Stout
Life of this patent
Estimating the term…
Loading patent…
AssigneeFacebook, Inc.
InventorsAlon Michael Shalita, Ming Hua, Ryan Allen Stout
Estimating the term…
Online systems, for example, social networking systems evaluate expressions based on features describing relations between entities represented in the online system. These expressions are represented using an expression language. The expression language allows features to be specified as functions of attributes from user accounts. The expressions support use of variables to represent computations, for example, sub-expressions. The expressions are dynamic, since expressions can be specified and executed at call time. The same set of expressions is used many times, e.g., to compute the same function for multiple feature sets, for example, user accounts. Expressions are preferably represented using postfix representation. However some expressions, for example, expressions using variables are represented as trees. To optimize the expressions at runtime, the expressions are cached using a representation determined to be efficient for executing the expression. The cached representation of the expression is applied to multiple feature sets, for example, user accounts.
A computer-implemented method comprising:
A computer program product having a non-transitory computer-readable storage medium storing computer-executable code, the code comprising:
Dependencies are inferred from the claim text.