<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Synthetic Data Generation on</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/</link><description>Recent content in Synthetic Data Generation on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 25 Jun 2026 05:41:58 +0000</lastBuildDate><atom:link href="http://developer.docs.protegrity.com/docs/prod_features/synth_data/index.xml" rel="self" type="application/rss+xml"/><item><title>Synthetic Data Architecture</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_arch/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_arch/</guid><description>&lt;p>Protegrity’s Synthetic Data solution is a Synthetic Data generator which generates artificial data that is realistic, statistically accurate, and privacy-safe. This data unlocks the full potential of AI and analytics. By creating entirely new data that mirrors the patterns of your original datasets but contains no sensitive information, you can train and test AI models without risk. You can also scale these models without exposure or compliance violations.&lt;/p>
&lt;!--
The documentation here for Synthetic Data covers its specific requirements and relationship with AI Developer Edition. For more information, refer to the complete body of the [Synthetic Data documentation](https://docs.protegrity.com/synthetic-data/1.1.1/docs/).
-->
&lt;p>An overview of the communication is shown in the following figure.&lt;/p></description></item><item><title>Prerequisites for Synthetic Data</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_prereq/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_prereq/</guid><description>&lt;p>Ensure that the following prerequisites are met before running these examples for Synthetic Data:&lt;/p>
&lt;ul>
&lt;li>Docker CLI, Docker Compose, and Python are installed. For more information, refer to &lt;a href="http://developer.docs.protegrity.com/docs/install/">AI Developer Edition, Pre-requisites Guide&lt;/a>.&lt;/li>
&lt;li>For shell samples: Bash version greater than or equal to 5.1.8 and curl version greater than or equal to 7.76.1.&lt;/li>
&lt;li>For notebook samples: JupyterLab version greater than or equal to 4.5.6.&lt;/li>
&lt;/ul></description></item><item><title>Setting up Synthetic Data</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_install/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_install/</guid><description>&lt;p>Use the containers to set up the Synthetic Data feature for data generation.&lt;/p>


&lt;!-- tabbed panes for 1 start-->
 

&lt;!-- 1 end -->
 
 &lt;!-- tabbed panes for 2 start-->
 

&lt;!-- 2 end -->

&lt;ul class="nav nav-tabs" id="tabs-0" role="tablist">
 &lt;li class="nav-item">
 &lt;button class="nav-link active"
 id="tabs-00-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-00" role="tab"
 data-td-tp-persist="fresh setup" aria-controls="tabs-00-00" aria-selected="true">
 Fresh setup
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-00-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-01" role="tab"
 data-td-tp-persist="upgrade" aria-controls="tabs-00-01" aria-selected="false">
 Upgrade
 &lt;/button>
 &lt;/li>
&lt;/ul>

&lt;div class="tab-content" id="tabs-0-content">
 &lt;div class="tab-body tab-pane fade show active"
 id="tabs-00-00" role="tabpanel" aria-labelled-by="tabs-00-00-tab" tabindex="0">
 &lt;!--Content-->
&lt;ol>
&lt;li>
&lt;p>Open a command prompt.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Navigate to the cloned repository location for &lt;strong>protegrity-ai-developer-edition&lt;/strong>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the following command to download and start the containers. The dependent containers are large in size. Based on the network connection, the containers might take time to download and deploy.&lt;/p></description></item><item><title>Running the Synthetic Data samples</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_using/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_using/</guid><description>&lt;p>The example scripts under the &lt;code>synthetic-data/&lt;/code> folder demonstrate the usage of Synthetic Data APIs. For more information about the Synthetic Data APIs, refer to the section &lt;a href="http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_apis/">Synthetic Data APIs&lt;/a>.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: A dedicated &lt;code>synthetic-data/docker-compose.yml&lt;/code> is provided to start the Synthetic Data services.&lt;/p>&lt;/blockquote>
&lt;ol>
&lt;li>
&lt;p>Open a command prompt.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Navigate to the directory where AI Developer Edition is cloned.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the following command to start Jupyter Lab.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>jupyter lab
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Copy the URL displayed and navigate to the site from a web browser. Ensure that &lt;code>localhost&lt;/code> is replaced with the IP address of the system where the AI Developer Edition is set up.&lt;/p></description></item><item><title>Using the Synthetic Data APIs</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_apis/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_apis/</guid><description>&lt;p>&lt;a id="synthetic_data_sdk.base">&lt;/a>&lt;/p>
&lt;h2 id="base">base&lt;/h2>
&lt;p>Base HTTP client for SDK communication&lt;/p>
&lt;p>Provides low-level HTTP communication utilities shared across all SDK clients.
Handles request construction, response parsing, error handling, and retries.&lt;/p>
&lt;p>&lt;a id="synthetic_data_sdk.base.dataframe_to_base64">&lt;/a>&lt;/p>
&lt;h5 id="dataframe_to_base64">dataframe_to_base64&lt;/h5>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#204a87;font-weight:bold">def&lt;/span> &lt;span style="color:#000">dataframe_to_base64&lt;/span>&lt;span style="color:#000;font-weight:bold">(&lt;/span>&lt;span style="color:#000">df&lt;/span>&lt;span style="color:#000;font-weight:bold">:&lt;/span> &lt;span style="color:#000">pd&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">.&lt;/span>&lt;span style="color:#000">DataFrame&lt;/span>&lt;span style="color:#000;font-weight:bold">)&lt;/span> &lt;span style="color:#ce5c00;font-weight:bold">-&amp;gt;&lt;/span> &lt;span style="color:#204a87">str&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Convert DataFrame to base64-encoded CSV string for inline data transfer.&lt;/p>
&lt;p>&lt;strong>Arguments&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>&lt;code>df&lt;/code> - DataFrame to encode.&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Returns&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>&lt;code>str&lt;/code> - Base64-encoded CSV string.&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Examples&lt;/strong>:&lt;/p>
&lt;pre>&lt;code>```
df = pd.DataFrame({&amp;quot;a&amp;quot;: [1, 2], &amp;quot;b&amp;quot;: [3, 4]})
encoded = dataframe_to_base64(df)
print(encoded[:20])
YSxiCjEsMwoyLDQK
```
&lt;/code>&lt;/pre>
&lt;p>&lt;a id="synthetic_data_sdk.base.BaseClient">&lt;/a>&lt;/p></description></item><item><title>Uninstalling Synthetic Data</title><link>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_uninstall/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>http://developer.docs.protegrity.com/docs/prod_features/synth_data/sd_uninstall/</guid><description>&lt;ol>
&lt;li>
&lt;p>Open a command prompt.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Navigate to the cloned repository location.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Navigate to the &lt;code>synthetic-data&lt;/code> directory.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>cd synthetic-data
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Run the following command to remove the containers and images.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>docker compose down --rmi all
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;/ol></description></item></channel></rss>