Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Fixing score_samples #184

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 13, 2018

  1. Modified score_samples to keep predictions and actual labels the same…

    … shape with unidimensional outputs.
    
    Replace denominator of scoring function with np.var(y). This means samples with equal error will have equal score. It also allows the average value of the samples to equal the r2_score for the entire set in the case of unidimensional data.
    DRudel committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    2deb260 View commit details
    Browse the repository at this point in the history
  2. Modified score_samples to keep predictions and actual labels the same…

    … shape with unidimensional outputs.
    
    Replace denominator of scoring function with np.var(y). This means samples with equal error will have equal score. It also allows the average value of the samples to equal the r2_score for the entire set in the case of unidimensional data.
    DRudel committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    15faf82 View commit details
    Browse the repository at this point in the history