@Override
    @NotNull
    public double[] score(UUID modelId, Object[] scorable) throws FOSException {
        checkNotNull(scorable, "The scorable cannot be null");

        try {
            reloadModelsLock.readLock().lock();

            WekaThreadSafeScorer wekaThreadSafeScorer = getScorer(modelId);
            return wekaThreadSafeScorer.score(scorable);

        } finally {
            reloadModelsLock.readLock().unlock();
        }
    }
@Override
    @NotNull
    public double[] score(UUID modelId, Object[] scorable) throws FOSException {
        checkNotNull(scorable, "The scorable cannot be null");

        try {
            reloadModelsLock.readLock().lock();

            WekaThreadSafeScorer wekaThreadSafeScorer = getScorer(modelId);
            return wekaThreadSafeScorer.score(scorable);

        } finally {
            reloadModelsLock.readLock().unlock();
        }
    }
@ Override @ NotNull public double [ ] score ( UUID modelId , Object [ ] scorable ) throws FOSException { checkNotNull ( scorable , "The scorable cannot be null" ) ; try { reloadModelsLock . readLock ( ) . lock ( ) ; WekaThreadSafeScorer wekaThreadSafeScorer = getScorer ( modelId ) ; return wekaThreadSafeScorer . score ( scorable ) ; } finally { reloadModelsLock . readLock ( ) . unlock ( ) ; } }
Score a single <code>scorable</code> with the given <code>modelId</code>.

@param modelId   the id of the model
@param scorable  the instance to score
@return a list of scores with the same order as the scorable array
@throws FOSException when classification was not possible
Score a single <code > scorable< / code > with the given <code > modelId< / code > .