<commit_before># yellowbrick.regressor
# Visualizations related to evaluating Scikit-Learn regressor models
#
# Author:   <NAME> <<EMAIL>>
# Created:  Fri Jun 03 10:30:36 2016 -0700
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: regressor.py [4a59c49] <EMAIL> $

"""
Visualizations related to evaluating Scikit-Learn regressor models
"""

##########################################################################
## Imports
##########################################################################

import matplotlib as mpl
import matplotlib.pyplot as plt

from .bestfit import draw_best_fit
from .utils import get_model_name, isestimator
from .base import ModelVisualization, MultiModelMixin
from sklearn.cross_validation import train_test_split as tts

##########################################################################
## Regression Visualization Base Object
##########################################################################

class RegressorVisualization(ModelVisualization):<commit_msg>fixed class imports in regressor.py but still need to update to reflect new API<commit_after># yellowbrick.regressor
# Visualizations related to evaluating Scikit-Learn regressor models
#
# Author:   <NAME> <<EMAIL>>
# Created:  Fri Jun 03 10:30:36 2016 -0700
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: regressor.py [4a59c49] <EMAIL> $

"""
Visualizations related to evaluating Scikit-Learn regressor models
"""

##########################################################################
## Imports
##########################################################################

import matplotlib as mpl
import matplotlib.pyplot as plt

from .bestfit import draw_best_fit
from .utils import get_model_name, isestimator
from .base import Visualizer, ScoreVisualizer, MultiModelMixin
from sklearn.cross_validation import train_test_split as tts

##########################################################################
## Regression Visualization Base Object
##########################################################################

class RegressorVisualization(ScoreVisualizer):
{'fraction_non_alphanumeric': 0.32538955087076077, 'fraction_numerical': 0.022914757103574702, 'mean_word_length': 8.020661157024794, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2066997', 'n_tokens_mistral': 591, 'n_tokens_neox': 513, 'n_words': 165}