Component Libraries •
Project Templates
Docs •
Install •
Tutorials •
Developer Guides •
Contribute •
Blog •
Discord
Xircuits Component Library for integrating scikit-learn models, datasets, and evaluation tools.
The SKLearn XAI Components Library provides a simple and intuitive way to integrate scikit-learn machine learning models, datasets, and evaluation tools within the XAI framework. With this library, you can easily manage the end-to-end workflow for data handling, model training, and evaluation using scikit-learn's extensive set of algorithms and features.
In this guide, you will find the steps to install the library, set up a workflow, and get started with training and evaluating machine learning models.
- Prerequisites
- Installation
- Getting Started with SKLearn XAI Components
- Components Overview
- Contributing
Before using this library, you’ll need the following:
- Python 3.8 or higher
- scikit-learn: Core machine learning algorithms
- pandas: For handling CSV and tabular data
- Xircuits: To integrate the components into your workflows
To use this component library, ensure that you have an existing Xircuits setup. You can then install the SKLearn library using the component library interface, or through the CLI using:
xircuits install sklearn
You can also do it manually by cloning and installing it.
# To clone the repository into your Xircuits project directory
git clone https://github.com/XpressAI/xai-sklearn.git xai_components/xai_sklearn
# Install required dependencies
pip install -r xai_components/xai_sklearn/requirements.txt
Now that you have installed the required libraries and components, you can begin using the SKLearn XAI Components Library to build machine learning workflows in Xircuits. Please follow the documentation and examples provided in the library to learn how to create, customize, and manage machine learning components using SKLearn XAI.
We have provided an example workflow to help you get started with the SKLearn XAI Components Library. Give it a try and see how you can create a custom machine learning workflow for your projects.
This example demonstrates a machine learning workflow in Xircuits using the SKLearn XAI Components Library. It creates a pipeline for loading the Iris dataset, splitting it, training a RandomForestClassifier, and evaluating its performance
The SKLearn XAI Components Library offers a variety of components designed to facilitate every stage of the machine learning process. You are encouraged to explore these components and consult their documentation to enhance your understanding and application in building effective machine learning workflows.
We welcome contributions to the SKLearn XAI Components Library! If you would like to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Open a pull request with a detailed description of your changes.
Please feel free to suggest new components, improvements, or optimizations. If you encounter any issues or have ideas for enhancements, you can open an issue in the repository.
This project is licensed under the MIT License. See the LICENSE file for more information.