Changeset 4064:c18c7309c801 in orange


Ignore:
Timestamp:
08/07/07 14:19:52 (7 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Convert:
5f6eb97bc58c18adef476792e33d7e349dfd078c
Message:

corrected computation of Falpha (wrongly used alpha=1 before)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngStat.py

    r4058 r4064  
    694694def F1(confm): 
    695695    if type(confm) == list: 
    696         return [fmeasure(cm) for cm in confm] 
     696        return [F1(cm) for cm in confm] 
    697697    else: 
    698698        p = precision(confm) 
     
    702702def Falpha(confm, alpha=1.0): 
    703703    if type(confm) == list: 
    704         return [fmeasure(cm) for cm in confm] 
     704        return [Falpha(cm, alpha=alpha) for cm in confm] 
    705705    else: 
    706706        p = precision(confm) 
Note: See TracChangeset for help on using the changeset viewer.