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:
-
Open a terminal.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file thema-0.1.2.tar.gz
.
File metadata
- Download URL: thema-0.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c024e268b1981a98d25f008463d3a9385baddaefe74b3fe8a1422baf24f59d49 |
|
MD5 | 0b6de2224e2b7043713dd2086f1f6654 |
|
BLAKE2b-256 | 9d8a15b93c38027c1f3d9c65993202fb6d2fa89aea8ce016cf3269507d1779f7 |
File details
Details for the file thema-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: thema-0.1.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 452d719c62a8c85654519c9eb09871e14ed861236f36fc50a2c7683fdc82a6e3 |
|
MD5 | 31607b7ef617cdd1faf849586cc4b474 |
|
BLAKE2b-256 | c46f0c3b725430306ffd3edd3c9d649b466018732345d327139130b36e50de4e |