Changeset 10255:5f19d86c3d2b in orange


Ignore:
Timestamp:
02/15/12 17:23:27 (2 years ago)
Author:
ales_erjavec
Branch:
default
Parents:
10246:11b418321f79 (diff), 10254:7e2a93fdb685 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
rebase_source:
8eba1b60c165ad1f62c17136d0f7d82a49d77ba6
Message:

Merge

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/data/io.py

    r10245 r10255  
    390390    f.write(')\n') 
    391391 
     392 
    392393def toLibSVM(filename, example): 
    393394    """Save class:`Orange.data.Table` to file in LibSVM format""" 
     
    395396    Orange.classification.svm.tableToSVMFormat(example, open(filename, "wb")) 
    396397 
     398 
     399@Orange.misc.deprecated_keywords({"createOnNew": "create_on_new"}) 
    397400def loadLibSVM(filename, create_on_new=MakeStatus.Incompatible, **kwargs): 
    398401    """Return class:`Orange.data.Table` containing data from file in LibSVM format""" 
     
    422425    table.setattr("attribute_load_status", attributeLoadStatus) 
    423426    return table 
    424 loadLibSVM = Orange.misc.deprecated_keywords( 
    425 {"createOnNew": "create_on_new"} 
    426 )(loadLibSVM) 
    427427 
    428428 
  • Orange/data/io.py

    r10254 r10255  
    426426    return table 
    427427 
    428 loadLibSVM = Orange.misc.deprecated_keywords( 
    429 {"createOnNew": "create_on_new"} 
    430 )(loadLibSVM) 
    431  
    432428 
    433429"""\ 
     
    727723            ex[var] = var(val) 
    728724 
    729     table.setattr("meta_attribute_load_status", meta_attribute_load_status) 
    730     table.setattr("attribute_load_status", attribute_load_status) 
     725    table.setattr("metaAttributeLoadStatus", meta_attribute_load_status) 
     726    table.setattr("attributeLoadStatus", attribute_load_status) 
    731727 
    732728    return table 
Note: See TracChangeset for help on using the changeset viewer.