Skip to content

Commit

Permalink
Updated the documentation for some functions
Browse files Browse the repository at this point in the history
  • Loading branch information
smeznar committed Jan 27, 2025
1 parent 9627e6a commit 4501f82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SRToolkit/evaluation/parameter_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def estimate_parameters(self, expr: Union[List[str], Node]) -> Tuple[float, np.n
True
Args:
expr: A list of strings representing the expression to be evaluated. The expression should include the
symbol 'C' for constants whose values need to be estimated.
expr: An expression. This should either be an instance of SRToolkit.utils.expression_tree.Node or a list of
tokens in the infix notation representing the expression to be evaluated.
Returns:
the root mean square error (RMSE) of the optimized expression.
Expand Down
3 changes: 2 additions & 1 deletion SRToolkit/evaluation/sr_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def evaluate_expr(self, expr: Union[List[str], Node]) -> float:
True
Args:
expr: A list of strings representing the expression in infix notation.
expr: An expression. This should be an istance of the SRToolkit.utils.expression_tree.Node class or a list
of tokens in the infix notation.
Returns:
The root mean square error of the expression.
Expand Down

0 comments on commit 4501f82

Please sign in to comment.