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 image classification 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. |
|
Pre-trained Vision Transformer (ViT) for image classification. |
Dataloaders
Data loader for tabular data in CSV files. |
|
Data loader for tabular data in Excel files. |
|
Data loader for data from image 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. |
|
ModelJob class to run the model training. |
|
PredictJob class to run the prediction. |
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. |