WMLF (.wmlf)
Background & Context
-
- Wolfram Machine Learning Format.
- Used for storing ClassifierFunction[…], PredictorFunction[…], NetGraph[…], etc.
- Binary format.
- Developed at Wolfram Research.
Import & Export
- See the following reference pages for full general information:
-
Import, Export import from or export to a file CloudImport, CloudExport import from or export to a cloud object ImportString, ExportString import from or export to a string ImportByteArray, ExportByteArray import from or export to a byte array
Examples
Basic Examples (2)
Create a ClassifierFunction:
c = Classify[{1, 2, 3, 4} -> {"A", "A", "B", "B"}]Export this classifier to the WMLF format:
Export["testclassifier.wmlf", c]Import["testclassifier.wmlf"]Create a PredictorFunction:
p = Predict[{1, 2, 3, 4} -> {1, 2, 3, 4}]Export this predictor to the WMLF format:
Export["testpredictor.wmlf", p]Import["testpredictor.wmlf"]Related Guides
History
Introduced in 2017 (11.2)