CoolFace
Apppublic

drroad/GenAI-Data-Robot

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
App README

GenAI Data Robot: A Data Analysis AI Agent

GenAI Data Robot is a cutting-edge, open-source application powered by Large Language Models (LLMs) designed to revolutionize data analysis. This Data Analysis Agent effortlessly automates all the tasks such as data cleaning, preprocessing, and even complex operations like identifying target objects, partitioning test sets, and selecting the best-fit models based on your data. With Streamline Analyst, results visualization and evaluation become seamless.

Here's how it simplifies your workflow: just select your data file, pick an analysis mode, and hit start. Streamline Analyst aims to expedite the data analysis process, making it accessible to all, regardless of their expertise in data analysis. It's built to empower users to process data and achieve high-quality visualizations with unparalleled efficiency๐Ÿš€, and to execute high-performance modeling with the best strategies๐Ÿ”ฎ.

<small>When utilizing GPT-4 turbo, the cost for each comprehensive end-to-end API request is roughly <strong>$0.02</strong>.</small>

Your data's privacy and security are paramount; rest assured, uploaded data and API Keys are strictly for one-time use and are neither saved nor shared.

Looking ahead, we plan to enhance Streamline Analyst with advanced features like *Natural Language Processing (NLP), neural networks, and object detection (utilizing YOLO)*, broadening its capabilities to meet more diverse data analysis needs.

Current Version Features ------------------------

  • โ€”Target Variable Identification: LLMs adeptly pinpoint the target variable
  • โ€”Null Value Management: Choose from a variety of strategies such as mean, median, mode filling, interpolation, or introducing new categories for handling missing data, all recommended by LLMs
  • โ€”Data Encoding Tactics: Automated suggestions and completions for the best encoding methods, including one-hot, integer mapping, and label encoding
  • โ€”Dimensionality Reduction with PCA
  • โ€”Duplicate Entity Resolution
  • โ€”Data Transformation and Normalization: Utilize Box-Cox transformation and normalization techniques to improve data distribution and scalability
  • โ€”Balancing Target Variable Entities: LLM-recommended methods like random over-sampling, SMOTE, and ADASYN help balance data sets, crucial for unbiased model training
  • โ€”Data Set Proportion Adjustment: LLM determines the proportion of the data set (can also be adjusted manually)
  • โ€”Model Selection and Training: Based on your data, LLMs recommend and initiate training with the most suitable models
  • โ€”Cluster Number Recommendation: Leveraging the Elbow Rule and Silhouette Coefficient for optimal cluster numbers, with the flexibility of real-time adjustments

All processed data and models are made available for download, offering a comprehensive, user-friendly data analysis toolkit.

Supported Modeling tasks:

**Classification Models****Clustering Models****Regression Models**
Logistic regressionK-means clusteringLinear regression
Random forestDBSCANRidge regression
Support vector machineGaussian mixture modelLasso regression
Gradient boosting machineHierarchical clusteringElastic net regression
Gaussian Naive BayesSpectral clusteringRandom forest regression
AdaBoostetc.Gradient boosting regression
XGBoostetc.

Real-time calculation of model indicators and result visualization:

**Classification Metrics & Plots****Clustering Metrics & Plots****Regression Metrics & Plots**
Model scoreSilhouette scoreR-squared score
Confusion matrixCalinski-Harabasz scoreMean square error (MSE)
AUCDavies-Bouldin scoreRoot mean square error (RMSE)
F1 scoreCluster scatter plotAbsolute error (MAE)
ROC plotetc.Residual plot
etc.Predicted value vs actual value plot
Quantile-Quantile plot

Visual Analysis Toolkit:

Streamline Analyst ๐Ÿช„ offers an array of intuitive visual tools for enhanced data insight, without the need for an API Key:

  • โ€”Single Attribute Visualization: Insightful views into individual data aspects
  • โ€”Multi-Attribute Visualization: Comprehensive analysis of variable interrelations
  • โ€”Three-Dimensional Plotting: Advanced 3D representations for complex data relationships
  • โ€”Word Clouds: Key themes and concepts highlighted through word frequency
  • โ€”World Heat Maps: Geographic trends and distributions made visually accessible

Local Installation ------------------

Prerequisites

To run app.py, you'll need:

Installation

  1. 1.Install the required packages
pip install -r requirements.txt
  1. 1.Run app.py on your local machine
streamlit run app.py