Generator gibberish feature for machine learning
Project description
Overview
========
A sample python lib generate the gibberish feature
Usage
=====
```
import pydomaingibfeature
if __name__ == '__main__':
#f = pydomaingibfeature.PyDomainGibFeature({'npart': 3,
# 'mfiles': ['ch2.pki','ch3.pki','ch4.pki','en2.pki','en3.pki','en4.pki',]})
f = pydomaingibfeature.PyDomainGibFeature({})
while True:
iput = raw_input().strip()
print f.range()
print f.feature(iput)
```
========
A sample python lib generate the gibberish feature
Usage
=====
```
import pydomaingibfeature
if __name__ == '__main__':
#f = pydomaingibfeature.PyDomainGibFeature({'npart': 3,
# 'mfiles': ['ch2.pki','ch3.pki','ch4.pki','en2.pki','en3.pki','en4.pki',]})
f = pydomaingibfeature.PyDomainGibFeature({})
while True:
iput = raw_input().strip()
print f.range()
print f.feature(iput)
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pydomaingibfeature-0.1.2.tar.gz
.
File metadata
- Download URL: pydomaingibfeature-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f55f95aaa7de363125323ae6bb3ec51f8d970618bb1f6a96a4f31dc255e27ebd |
|
MD5 | 18af223d43797e707864101d130f3e8e |
|
BLAKE2b-256 | 0c1ab223c6ca5088bfaeca8e3c70bece28229005f51da919882f5b267d6e2168 |