This content is currently WIP. Diagrams, content, and structure are subject to change.
The ML Pipeline is a core capability of the C3 Agentic AI Platform that enables you to develop, deploy, and manage machine learning models within your applications. This powerful integration framework turns your data into actionable insights by connecting machine learning workflows with your application’s data model and business logic.
ML Pipeline integration is the process of incorporating machine learning workflows into the C3 Agentic AI Platform. It provides a structured approach to developing, training, deploying, and monitoring ML models that work seamlessly with your application’s data model and business logic.The C3 Agentic AI Platform supports the entire machine learning lifecycle, from data preparation to model deployment and monitoring. This integration allows you to leverage the platform’s data management capabilities while incorporating advanced analytics and predictive capabilities into your applications.
The ML Pipeline Integration leverages the C3 Agentic AI Platform’s model-driven architecture to create a seamless connection between your data model and machine learning workflows:
Data access: ML models access data through the Type System, using the same data model as the rest of your application
Feature engineering: Transform raw data into features suitable for machine learning, with support for both batch and real-time processing
Model training: Train models using your preferred framework, with support for distributed training on large datasets
Model deployment: Deploy models to production with a few clicks, making them available for inference within your application
Model monitoring: Track model performance over time, detect drift, and manage model versions
This integration ensures that your ML models work with the same data model as the rest of your application, providing a consistent view of your data across all components.
You can develop models using popular machine learning frameworks and deploy them within the C3 Agentic AI Platform:
Copy
Ask AI
# Example: Training a TensorFlow modelimport tensorflow as tffrom c3.ml import ModelTrainer# Define a simple neural networkmodel = tf.keras.Sequential([ tf.keras.layers.Dense(64, activation='relu', input_shape=(10,)), tf.keras.layers.Dense(32, activation='relu'), tf.keras.layers.Dense(1)])model.compile(optimizer='adam', loss='mse')# Train the model using data from the C3 Agentic AI Platformtrainer = ModelTrainer(model)trainer.train( data_source='WindTurbineSensorData', features=['temperature', 'vibration', 'rpm', 'power_output'], target='remaining_useful_life', batch_size=64, epochs=100)# Save the model to the C3 Agentic AI Platformtrainer.save('TurbineRULPredictor')
The application collects sensor data from wind turbines, including temperature, vibration, power output, and rotational speed. This data is stored in the C3 Agentic AI Platform’s Type System:
A machine learning model is trained to predict turbine failures based on the engineered features:
Copy
Ask AI
from sklearn.ensemble import RandomForestClassifierfrom c3.ml import ModelTrainer# Create and train a random forest classifiermodel = RandomForestClassifier( n_estimators=100, max_depth=10, min_samples_split=5)# Train the model using the C3 Agentic AI Platform's training infrastructuretrainer = ModelTrainer(model)trainer.train( features=features, target='failure', evaluation_metrics=['accuracy', 'precision', 'recall', 'f1'])# Register the trained model with the C3 Agentic AI Platformmodel_id = trainer.register( name='TurbineFailurePredictor', version='1.0', description='Predicts turbine failures based on sensor data')
Integrating machine learning pipelines with the C3 Agentic AI Platform provides several key benefits:
Unified data model: ML models work with the same data model as the rest of your application
Simplified deployment: Deploy models to production with a few clicks
Automated monitoring: Track model performance and detect drift automatically
Scalable infrastructure: Train and serve models on distributed infrastructure
Version control: Manage model versions and promote models from development to production
Feedback loops: Capture outcomes to improve future models
These benefits enable you to incorporate machine learning into your applications more easily and effectively, turning data into actionable insights that drive business value.