Rank: 407 based on 163 downloads (last 30 days) and 5 files submitted
photo

Stefan Schroedl

E-mail

Personal Profile:
Professional Interests:
machine leaning, pattern recognition

 

Watch this Author's files

 

Files Posted by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Mar 2010 Screenshot Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl precision recall curv..., precisionrecall curve, classification, receiver operating, roc curve, statistics 105 16
  • 4.6
4.6 | 5 ratings
17 Mar 2010 Published MATLAB Files Feature Selection Based on Interaction Information Self-contained package for feature selection based on mutual information/interaction information. Author: Stefan Schroedl mutual information, entropy, joint probability, shannon information, statistics, interaction informati... 42 6
  • 5.0
5.0 | 2 ratings
12 Jan 2010 Screenshot Binned Scatter Plot plot quantiles of y given quantiles of x. Author: Stefan Schroedl specialized, plotting, scatter, bin, histogram, data exploration 4 0
07 Apr 2008 AUROC - Area under Receiver Operating Characteristic Compute AUROC from frequency weighted instances of predictions and ratio of positive instances Author: Stefan Schroedl statistics, probability, auroc, auc, roc, receiver operating ch... 6 2
01 Apr 2008 Relational Join Relational Join of Two Matrices Author: Stefan Schroedl join, relational algebra, set, matrices 6 3
  • 4.0
4.0 | 1 rating
Comments and Ratings by Stefan View all
Updated File Comments Rating
19 Nov 2010 Feature Selection Based on Interaction Information Self-contained package for feature selection based on mutual information/interaction information. Author: Stefan Schroedl

the quantile function is defined in the statistics toolbox, maybe you don't have it installed?

07 May 2010 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl

Hi Zeehasham,

precision-recall curves are useful for classifiers that output a score (e.g., the higher, the more likely to be in the positive class) - if the classifier only gives you a class label, you won't get a graph, only a single precision/recall point.

Given such a classifier, for any threshold ("thresh"), you can assign examples as positive if the score exceeds it, otherwise as negative. So, for each threshold, the return values of the procedure give the corresponding precision ("prec"), true-positive rate ("tpr"), and false-positive ("fpr") rate, in that order.

Hope that helps, good luck!

17 Mar 2010 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl

Hi Ashwin,
the link is the same as the old one.
you can use any classifier to produce the scores, the script is independent of that.

17 Mar 2010 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl

Farooq,
I just uploaded a new version with better option descriptions, hope that makes it more usable.
- 'count' (now called 'instanceCount') can be used if there are multiple instances with the same score. This would denote the number of instances, and 'target' the number of positive class members among those.
- area under the curve can be computed more efficiently with my 'auroc' submission.
Thanks!

18 Dec 2008 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl

The prediction itself is not part of this function, it only evaluates the output taken from an exteral predictor.

Comments and Ratings on Stefan's Files View all
Updated File Comment by Comments Rating
30 Dec 2011 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl Ahmed
30 Aug 2011 Feature Selection Based on Interaction Information Self-contained package for feature selection based on mutual information/interaction information. Author: Stefan Schroedl Schäfer, Alexander

Hey a great script!! But sometimes I get this error:

??? Error using ==> marginal at 37
length of dimension vector incompatible with size of probability table

Error in ==> select_features>update_comb at 491
        p_xy = marginal(p_zxy, ~ofn(1, deg+1), 1); % all variables except target

Error in ==> select_features>update_degree at 457
            use_full = update_comb(var_update, var_sel, var_sgn, [], deg);

Error in ==> select_features at 382
            needs_full = update_degree(i, sel, sgn, flag_sel, d);

Error in ==> predict_club2 at 96
             test=select_features(traindata, trainlabels,feature_nr);

05 Jul 2011 Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl Baghel, Saurabh

this code is intended for only binary classification tasks. what abt multiclass classification

29 May 2011 Relational Join Relational Join of Two Matrices Author: Stefan Schroedl Dmitriy

I think replacing
C(ia(ib>0), ((numColsA+1):end)) = B(idx, colValB); %line 65
with
C(ib>0, ((numColsA+1):end)) = B(idx, colValB);
will fix left-join problem in the prev post
(adjustment for right-join is similar)

29 May 2011 Relational Join Relational Join of Two Matrices Author: Stefan Schroedl Dmitriy

also I don't like the output for this example
mjoin([1 2;1 4],1,[1 3; 1 8],1,'l')
ans =
     1 2 8
     1 2 8
     1 4 NaN
     1 4 NaN

Top Tags Applied by Stefan
statistics, classification, probability, auc, auroc
Files Tagged by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Mar 2010 Screenshot Precision-Recall and ROC Curves Calculate and plot P/R and ROC curves for binary classification tasks. Author: Stefan Schroedl precision recall curv..., precisionrecall curve, classification, receiver operating, roc curve, statistics 105 16
  • 4.6
4.6 | 5 ratings
17 Mar 2010 Published MATLAB Files Feature Selection Based on Interaction Information Self-contained package for feature selection based on mutual information/interaction information. Author: Stefan Schroedl mutual information, entropy, joint probability, shannon information, statistics, interaction informati... 42 6
  • 5.0
5.0 | 2 ratings
12 Jan 2010 Screenshot Binned Scatter Plot plot quantiles of y given quantiles of x. Author: Stefan Schroedl specialized, plotting, scatter, bin, histogram, data exploration 4 0
07 Apr 2008 AUROC - Area under Receiver Operating Characteristic Compute AUROC from frequency weighted instances of predictions and ratio of positive instances Author: Stefan Schroedl statistics, probability, auroc, auc, roc, receiver operating ch... 6 2
01 Apr 2008 Relational Join Relational Join of Two Matrices Author: Stefan Schroedl join, relational algebra, set, matrices 6 3
  • 4.0
4.0 | 1 rating

Contact us at files@mathworks.com