Guest User

Untitled

a guest
Jul 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. Feature: Symbolic regression scoring against x+6 dataset
  2. In order to evaluate how well a Pile script models a given dataset
  3. As a symbolic regression modeler
  4. I want the score of a given script against a dataset to be the RSS value
  5.  
  6. Scenario: score for a perfect program should be 0.0
  7. Given the Pile script "x 6.0 +"
  8. And the training data is "x_plus_6.csv"
  9. When I score the script
  10. Then the score should be 0.0
  11.  
  12. Scenario: score is summed squared errors
  13. Given the Pile script "x 8.0 +"
  14. And the training data is "x_plus_6.csv"
  15. When I score the script
  16. Then the score should be 36.0
  17.  
  18. Scenario: missing return value is important
  19. Given the Pile script "foo bar"
  20. And the training data is "x_plus_6.csv"
  21. When I score the script
  22. Then the score should be close to 10^18
Add Comment
Please, Sign In to add comment