Hector Blog

hack your way to success

Tag

sklearn

Experiment : Supervised learning model to classify a Github Issue as enhancement or bug based purely on issue title

Quick Summary: I Mined more that 1,00,000¬†Issue data from Github open source repositories. Mined data included { issue title – string}, {issue description – paragraph } and {labels – discrete strings}.¬†Most of them were enhancement or bug. So started with… Continue Reading →

Solution : This solver needs samples of at least 2 classes in the data, but the data contains only one class

So if you are trying to do build a classifier using sklear.linear_model & came across the error: ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only one class: 0 This is… Continue Reading →

© 2017 Hector Blog — Powered by WordPress

Theme by Anders NorenUp ↑