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

  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.8.tar.gz (5.1 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.8-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tana2tree-1.1.8.tar.gz
  • Upload date:
  • Size: 5.1 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.8.tar.gz
Algorithm Hash digest
SHA256 34ffb9522392792eda177071761ea6a3483ffc5b22afb2dbcc331730ecd1bf4b
MD5 9850c1a265459238f46140488e4dd02e
BLAKE2b-256 d95036dfe5aef74af66730a26d961a1f20325bbddb213e0b0c16f9a2e26a18e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tana2tree-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f59dc972d8060e5f7e65fdef982cf0691bbaf2f14176177c56894bd72d980469
MD5 d6284fc30a92ef27d69a6c96a13b184c
BLAKE2b-256 9ce3d54324bb023a7489ff35b217edf5c3940b1af00f0bb501edb1e4834ef0c8

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