1# Scoring 2A Scoring anomaly detector is one that assigns anomaly scores to unknown samples in a dataset. The interface provides the `score()` method which returns a set of scores from the model. Higher scores indicate a greater degree of anomalousness. In addition, samples can be sorted by their anomaly score to identify the top outliers. 3 4## Score a Dataset 5Return the anomaly scores assigned to the samples in a dataset: 6```php 7public score(Dataset $dataset) : array 8``` 9 10```php 11$scores = $estimator->score($dataset); 12 13var_dump($scores); 14``` 15 16```sh 17array(3) { 18 [0]=> float(0.35033859096744) 19 [1]=> float(0.40992076925443) 20 [2]=> float(1.68163357834096) 21} 22``` 23