Skip to main content

No project description provided

Project description

THEMA 🔮

By Krv Analytics.


Welcome to Thema, our custom Topological Hyperparameter Evaluation and Mapping Algorithm!🌟


Thema, inspired by the German word "Thema" meaning "subject" or "topic," is your go-to tool for uncovering the most intriguing and significant aspects hidden within your data. By leveraging advanced techniques to understand the distribution of representations that emerge from various preprocessing and hyperparameter choices, Thema brings a new level of insight to your unsupervised tasks. 🧠🔍

Imagine navigating a landscape of endless possibilities, where each preprocessing step and parameter tweak can lead to a new perspective on your data. Thema acts as your guide through this complex terrain, helping you identify the most salient patterns and features and advising you on the most trustworthy representations. It's like having a data scientist with a knack for finding the most interesting and reliable stories your data has to tell. 🗺️✨

Dive into the world of Thema and transform the way you explore and interpret your data. With Thema, the subject of your analysis is always the star of the show! 🌠🚀


Installation

To install the Thema software package, you can use pip, the Python package installer. Follow the steps below to install Thema:

  1. Open a terminal.

  2. Run the following command:

pip install thema

This command will download and install the latest version of Thema from the Python Package Index (PyPI).

Once the installation is complete, you can verify that Thema is installed correctly by running:

pip show thema

This will display information about the installed package, including its version and location. Now you're ready to start using Thema in your projects!


Usage

Welcome to the Thema usage tutorial! This guide will walk you through the process of using Thema to analyze your data, generate embeddings, and visualize the results. Follow the steps below to get started. See params.yaml.sample as a template for defining your own representation grid search. Once you've filled this out, follwow the steps below!

Step 1: Encode, Clean, and Impute Raw Data

First, you'll need to encode, clean, and impute your raw data using the Planet class. Make sure you have your parameters defined in a YAML file.

from thema.multiverse import Planet

yaml = "path/to/params.yaml"

# Encode, Clean and Impute Raw Data
planet = Planet(YAML_PATH=yaml)
planet.fit()

Step 2: Generate Low Dimensional Embeddings

Next, use the Oort class to generate low-dimensional embeddings from your processed data.

from thema.multiverse import Oort

# Generate Low Dimensional Embeddings
oort = Oort(YAML_PATH=yaml)
oort.fit()

Step 3: Generate Multiscale Graph Clustering Models

Now, create multiscale graph clustering models using the Galaxy class.

from thema.multiverse import Galaxy

# Generate Multiscale Graph Clustering Models
galaxy = Galaxy(YAML_PATH=yaml)
galaxy.fit()

Step 4: Cluster Representations and Select Representatives

After generating the clustering models, cluster the representations and select representatives.

# Cluster Representations and Select Representatives
model_representatives = galaxy.collapse()

Step 5: Visualize the Results

Finally, visualize the results using the Telescope class. Choose a sample from the model representatives to create a graph.

from thema.probe import Telescope

# Visualize Mode
sample = model_representatives[1]['star']
T = Telescope(star_file=sample)
T.makeGraph()

With these steps, you have successfully processed your data, generated embeddings, created clustering models, and visualized the results using Thema. Enjoy exploring the insights and patterns uncovered in your data!

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

thema-0.1.1.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

thema-0.1.1-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file thema-0.1.1.tar.gz.

File metadata

  • Download URL: thema-0.1.1.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.4.0

File hashes

Hashes for thema-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d3a374cad5d9acfeb2668a744590137085b25d75ce401145a89c0acae8a6595
MD5 95826c746da1c89cc6866270450f10ea
BLAKE2b-256 b4dd47e32ad2ac390d1abc63727f426bbb749737a2e9550230f62ec27b881cf6

See more details on using hashes here.

File details

Details for the file thema-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: thema-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.4.0

File hashes

Hashes for thema-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acf6c20ed54777038607d921ac051f57f86e3f7b5f1cd0666b0137e40b791918
MD5 2fe51dc4e950bf53c022380fb77c17e4
BLAKE2b-256 273203cfec778feffa1cec8defd3d17fa3892753ebf255091bfde8d1e60a1de3

See more details on using hashes here.

Supported by

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