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. |
|
A class for calculating TER scores between source and target sentences. |
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 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. |
Feature Engineering
Converter that removes specified columns from the dataset. |
|
Converter that replaces specified characters or substrings in string columns. |
|
Scikit-learn's PolynomialFeatures wrapper for DashAI. |
|
|
HuggingFace embedding converter. |
Scaling and Normalization
|
Scikit-learn's Standard Scaler wrapper for DashAI. |
|
Scikit-learn's MinMaxScaler wrapper for DashAI. |
|
Scikit-learn's MaxAbsScaler wrapper for DashAI. |
|
Scikit-learn's Normalizer wrapper for DashAI. |
|
Scikit-learn's Binarizer wrapper for DashAI. |
Encoding
|
Scikit-learn's OneHotEncoder wrapper for DashAI. |
|
Scikit-learn's OrdinalEncoder wrapper for DashAI. |
|
Scikit-learn's LabelEncoder wrapper for DashAI. |
|
Scikit-learn's LabelBinarizer wrapper for DashAI. |
Dimensionality Reduction
|
Scikit-learn's PCA wrapper for DashAI. |
|
Scikit-learn's IncrementalPCA wrapper for DashAI. |
|
Scikit-learn's FastICA wrapper for DashAI. |
|
Scikit-learn's TruncatedSVD wrapper for DashAI. |
Feature Selection
Scikit-learn's VarianceThreshold wrapper for DashAI. |
|
SciKit-Learn's GenericUnivariateSelect wrapper for DashAI. |
|
|
SciKit-Learn's SelectKBest wrapper for DashAI. |
|
SciKit-Learn's SelectPercentile wrapper for DashAI. |
|
SciKit-Learn's SelectFpr wrapper for DashAI. |
|
SciKit-Learn's SelectFdr wrapper for DashAI. |
|
Scikit-learn's SelectFwe wrapper for DashAI. |
Imputation
|
SciKit-Learn's SimpleImputer wrapper for DashAI. |
|
Scikit-learn's KNNImputer wrapper for DashAI. |
|
Scikit-learn's MissingIndicator wrapper for DashAI. |
Kernel Approximation
Scikit-learn's AdditiveChi2Sampler wrapper for DashAI. |
|
|
Scikit-learn's RBFSampler wrapper for DashAI. |
Scikit-learn's SkewedChi2Sampler wrapper for DashAI. |
|
|
Scikit-learn's Nystroem wrapper for DashAI. |
Sampling
|
|
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. |