DashAI Backend
This reference details all the backend components available in DashAI. For more information on how to add models, please refer to the user_guide.
Datasets
|
DashAI dataset wrapper for Huggingface datasets with extra metadata. |
Tasks
Base class for DashAI compatible tasks. |
|
Base class for regression tasks. |
|
Base class for tabular classification tasks. |
|
Base class for Text Classification Task. |
|
Base class for translation task. |
Models
Abstract class of all machine learning models. |
|
|
Scikit-learn's Support Vector Machine (SVM) classifier wrapper for DashAI. |
Text classification meta-model. |
|
Scikit-learn's Decision Tree Classifier wrapper for DashAI. |
|
Pre-trained transformer DistilBERT allowing English text classification. |
|
|
Scikit-learn's DummyClassifier wrapper for DashAI. |
|
Scikit-learn's Ridge Regression wrapper for DashAI. |
Scikit-learn's HistGradientBoostingRegressor wrapper for DashAI. |
|
|
Scikit-learn's K-Nearest Neighbors (KNN) classifier wrapper for DashAI. |
|
Scikit-learn's Linear Regression wrapper for DashAI. |
|
Scikit-learn's Linear Support Vector Regression (LinearSVR) wrapper for DashAI. |
|
Scikit-learn's Logistic Regression wrapper for DashAI. |
|
Scikit-learn's MLP Regression wrapper for DashAI. |
Pre-trained transformer for english-spanish translation. |
|
Scikit-learn's Random Forest classifier wrapper for DashAI. |
|
Scikit-learn's Ridge Regression wrapper for DashAI. |
|
|
Scikit-learn's Ridge regression wrapper for DashAI. |
Dataloaders
Data loader for tabular data in CSV files. |
|
Data loader for tabular data in Excel files. |
|
Data loader for tabular data in JSON files. |
Metrics
Abstract class of all metrics. |
|
F1 score to classification tasks. |
|
Accuracy metric to classification tasks. |
|
Precision metric to classification tasks. |
|
Recall metric to classification tasks. |
|
A class for calculating BLEU scores between source and target sentences. |
|
Mean Absolute Error metric for regression tasks. |
|
Root Mean Squared Error metric for regression tasks. |
Optimizers
Abstract class of all hyperparameter's Optimizers. |
|
Jobs
|
ExplainerJob class to calculate explanations. |
|
Job for processing and uploading datasets using streaming data processing. |
|
ModelJob class to run the model training. |
|
PredictJob class to run the prediction. |
|
ExplorerJob class to launch explorations. |
|
ConverterListJob class to modify a dataset by applying a sequence of converters. |
Explainers
Kernel SHAP is a model-agnostic explainability method for approximating SHAP values to explain the output of machine learning model by attributing contributions of each feature to the model's prediction. |
|
PartialDependence is a model-agnostic explainability method that shows the average prediction of a machine learning model for each possible value of a feature. |
|
|
Permutation Feature Importance is a explanation method to asses the importance of each feature in a model by evaluating how much the model's performance decreases when the values of a specific feature are randomly shuffled. |
Converters
Base class for all converters |
|
Abstract class to define generic rules for sklearn transformers |
|
|
Abstract base wrapper for HuggingFace transformers. |
|
Abstract class of a sklearn transformer. |
|
Chain of converters. |
Explorers
|
BoxPlotExplorer is an explorer that returns a box plot of selected columns of a dataset. |
CorrelationMatrixExplorer is an explorer that returns a correlation matrix of a dataset. |
|
CovarianceExplorer is an explorer that returns the covariance matrix of the dataset. |
|
DensityHeatmapExplorer is an explorer that returns a density heatmap of selected columns of a dataset. |
|
DescribeExplorer is an explorer that uses the pandas describe method to describe the dataset. |
|
ECDFPlotExplorer is an explorer that creates an Empirical Cumulative Distribution Plot. |
|
HistogramPlotExplorer is an explorer that returns a density heatmap of a selected column of a dataset. |
|
MultiColumnBoxPlotExplorer is an explorer that returns a figure with a box plot of multiple columns of a dataset in a single axis. |
|
Parallel Categories Explorer is a class that generates a parallel categories plot for a given dataset. |
|
Parallel Cordinates Explorer is a class that generates a parallel cordinates plot for a given dataset. |
|
|
RowExplorer is an explorer that takes a number of rows from the dataset to display them on tabular format. |
ScatterMatrixExplorer is an explorer that returns a scatter matrix plot of selected columns of a dataset. |
|
ScatterPlotExplorer is an explorer that returns a scatter plot of selected columns of a dataset. |
|
WordcloudExplorer is an explorer that generates a wordcloud from the concatenated strings of all selected columns in the dataset. |