Skip to main content

Parses Tanagra description into usable formats.

Project description

Tanagra Parser

tana2tree is a Python module for converting a Tanagra tree description into a more usable format.

Tanagra is a free suite of machine learning software for research and academic purposes developed by Ricco Rakotomalala at the Lumière University Lyon 2, France. Tanagra supports several standard data mining tasks such as Visualization, Descriptive statistics, Instance selection, feature selection, feature construction, regression, factor analysis, clustering, classification and association rule learning.

Click here to vist the Tanagra website. This is where you can find the downloads.

Installation

Dependencies

  • Python >= 3.6
  • time module
  • re module

User Installation

pip install tana2tree

Using tana2tree

Create input file

  1. Copy results from Tanagra

  2. Save results to text file

  3. Pass text file in program.

    import tana2tree as t2t

    def main():
    # get tanagra description as input
    input_file = "example/tanagra-output.txt"

    # build the tree, returns root node
    tree = t2t.Tanagra_Parser()
    print("Tree: ")
    print(tree.parse(input_file))


    A full example is given with all available methods here.

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

tana2tree-1.1.7.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tana2tree-1.1.7-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file tana2tree-1.1.7.tar.gz.

File metadata

  • Download URL: tana2tree-1.1.7.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9

File hashes

Hashes for tana2tree-1.1.7.tar.gz
Algorithm Hash digest
SHA256 ae6653a605eadb491152b9275723ddb217ca9813790023e8426c0fe93bd02142
MD5 46796784b34129723feb1e6be6432163
BLAKE2b-256 50eca9cb7776a7b32723a932de6a42c70f4dbfda0918684c29f46a91cacfe001

See more details on using hashes here.

File details

Details for the file tana2tree-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: tana2tree-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9

File hashes

Hashes for tana2tree-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7cfbbd49c297f3ea8d92a2220b44986072822ffe3365a7b996c59e9b0b83bfed
MD5 791e4763ad17334fb31c1afabbe86858
BLAKE2b-256 530ae563ffe2e289eb766470407cc0d19cda613b22c9718adad322463be0ccca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page