Comments (5)
Thanks for the detailed explanation. The precision issue makes sense as well.
from gretel-synthetics.
@tmontana when you say continuous do you mean monotonic (like increasing / decreasing values i.e. timestamps, counters, etc) or values that exist in set ranges like an age, etc.?
from gretel-synthetics.
I mean a column containing any real valued number: 0.99836655477 as a random float example.
from gretel-synthetics.
During training, the fields in a record of input data are all first parsed into a series of tokens. The parsing is somewhat agnostic as to whether a particular field value is numeric or categorical. Tokens can be either character n-grams or word/number n-grams. A number like 352.4 may end up being one token (352.4), or two tokens (352 and .4) or potentially even more tokens. The chance of a string of characters becoming a token has to do with the probability of that string occurring in the training set.
When generating, the next token is always predicted based on the previous tokens predicted by the model. One of the tokens that can be predicted is the field delimiter (usually something like ","). Again, the model is agnostic as to whether the combined tokens between two field delimiters is numeric or not. The process works quite well for continuous values. It synthesizes an all new series of values for a continuous field, with the same distribution and range as the original series, yet not exactly the same numbers.
from gretel-synthetics.
Additionally, it's worth noting that if your float values have an extremely high precision (as in your example), and all you really care about is a precision like .9983, then you're better off first truncating your floats before you do the training. The model has an easier learning task and will end up doing a better job when synthesizing.
from gretel-synthetics.
Related Issues (20)
- Performance issues in src/gretel_synthetics/tensorflow/train.py(P2)
- Performance issue in /src/gretel_synthetics/tensorflow (by P3) HOT 1
- [BUG] Incompatability with package dependence HOT 2
- timeseries_dgan.ipynb example - error from train_numpy HOT 2
- TypeError: __init__() got an unexpected keyword argument 'prefetch_factor' HOT 1
- Poor training results HOT 6
- TooManyInvalidError: Maximum number of invalid lines reached! HOT 3
- [BUG] train_numpy() got multiple values for argument 'feature_types' - dgan HOT 4
- [FR] Generation based on given attributes HOT 2
- [FR / BUG] HOT 2
- Bug HOT 5
- Sample_len Value HOT 2
- Results about DGAN
- [BUG] : Loading a trained model and generating synthetic data throws an error HOT 8
- About DoppelGANger training results HOT 1
- [BUG]: Outdated category_encoders HOT 3
- List index out of range HOT 4
- Duplicates present in Unique columns HOT 8
- gretel not finding GPU HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gretel-synthetics.