Fast ML Preset
Last updated
Last updated
The Fast ML Preset synthesizer is optimized for modeling speed. This is a great choice for first time SDV users. Use it to quickly get started with synthetic data.
When creating your synthesizer, you are required to pass in a object as the first argument and the 'FAST_ML'
preset name as the second. All other parameters are optional. You can include them to customize the synthesizer.
locales
: A list of locale strings. Any PII columns will correspond to the locales that you provide.
(default) ['en_US']
Generate PII values in English corresponding to US-based concepts (eg. addresses, phone numbers, etc.)
<list>
Create data from the list of locales. Each locale string consists of a 2-character code for the language and 2-character code for the country, separated by an underscore.
To learn a machine learning model based on your real data, use the fit
method.
Parameters
Output (None)
Save your trained synthesizer for future use.
Use this function to save your trained synthesizer as a Python pickle file.
Parameters
(required) filepath
: A string describing the filepath where you want to save your synthesizer. Make sure this ends in .pkl
Output (None) The file will be saved at the desired location
Use this function to load a trained synthesizer from a Python pickle file
Parameters
(required) filepath
: A string describing the filepath of your saved synthesizer
Output Your synthesizer, as a SingleTablePreset
object
For example [
,
]
.
For all options, see the .
(required) data
: A object containing the real data that the machine learning model will learn from
Technical Details: This preset uses the with fixed settings.
This allows for a fast modeling time while still using machine learning to learn patterns. For more details about which patterns are learned, see the .
After training your synthesizer, you can now sample synthetic data. See the section for more details.