generating multi classifier training data from document

I am looking for guidance to generate multiple classifier training data from document. e.g. if particular document has three sections with each 10 pages in each sections. (total 30 pages) I am looking for open source library, where I can pass on document (explicitly specifying section 1, section 2 and section 3 pages) then it… Read More generating multi classifier training data from document

Plotting class decision boundary: determine a "good fit" range directly

I am trying to figure out how to plot the decision boundary line picking just few middle values instead of the entirety of the separator line such that it spans roughly the y-range that also the observations span. Currently, I manually repeatedly select different bounds and assess visually, until "a good looking separator" emerged. MWE:… Read More Plotting class decision boundary: determine a "good fit" range directly

Is there a more dense method to conditionally separate data?

I’m wondering if there is a more dense way to do the following, which is essentially splitting column-separated data, by row and into one of three categories depending on the final entry of the row: xi_test_0 = [xi_test_sc[i] for i in range(len(xi_test_sc)) if y_test[i] == 0] xii_test_0 = [xii_test_sc[i] for i in range(len(xii_test_sc)) if y_test[i]… Read More Is there a more dense method to conditionally separate data?