A Python implementation of linear regression using the Model Context Protocol (MCP) framework. This project demonstrates how to apply linear regression techniques within the MCP architecture.
Uploads a CSV file and stores it for processing. Parameters: path (string): Absolute path to the CSV file.
Retrieves the column names in the uploaded dataset. Parameters: None.
Checks for any categorical columns in the dataset. Parameters: None.
Label encodes categorical columns into numerical values. Parameters: None.
Trains a linear regression model and calculates RMSE. Parameters: output_column (string): The name of the target column.
No reviews yet. Be the first to review!
Sign in to join the conversation