Coder Social home page Coder Social logo

Comments (5)

bbengfort avatar bbengfort commented on August 24, 2024

And a gallery!

from yellowbrick.

rebeccabilbro avatar rebeccabilbro commented on August 24, 2024

@bbengfort Working on addressing this very minimally right now, will push preliminary description to README momentarily.

from yellowbrick.

bbengfort avatar bbengfort commented on August 24, 2024

@rebeccabilbro ok sounds good; I'm almost done with the examples notebook - have to do some minor massaging of the classifiers.

from yellowbrick.

rebeccabilbro avatar rebeccabilbro commented on August 24, 2024

@bbengfort Ok, pushed to README: https://github.com/DistrictDataLabs/yellowbrick/blob/develop/README.md. Here's the snippet:

Using Yellowbrick

The Yellowbrick API is specifically designed to play nicely with Scikit-Learn. Here is an example of a typical workflow sequence with Scikit-Learn and Yellowbrick:

Feature Visualization

In this example, we see how Rank2D performs pairwise comparisons of each feature in the data set with a specific metric or algorithm, then returns them ranked as a lower left triangle diagram.

from yellowbrick.features import Rank2D

visualizer = Rank2D(features=features, algorithm='covariance')
visualizer.fit(X, y)                # Fit the data to the visualizer
visualizer.transform(X)             # Transform the data
visualizer.poof()                   # Draw/show/poof the data

Model Visualization

In this example, we instantiate a Scikit-Learn classifier, and then we use Yellowbrick's ROCAUC class to visualize the tradeoff between the classifier's sensitivity and specificity.

from sklearn.svm import LinearSVC
from yellowbrick import ROCAUC

model = LinearSVC()
model.fit(X,y)
y_pred = model.predict(X)
visualizer = ROCAUC(model)
visualizer.score(y,y_pred)
visualizer.poof()

For additional information on getting started with Yellowbrick, check out our quick start guide.

from yellowbrick.

bbengfort avatar bbengfort commented on August 24, 2024

@rebeccabilbro looks great! The only thing I'd add is we probably want to point people to the examples rather than the quick start guide which doesn't appear to be complete.

from yellowbrick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.