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. No arguments.
Checks for any categorical columns in the dataset. No arguments.
Label encodes categorical columns into numerical values. No arguments.
Trains a linear regression model and calculates RMSE. Parameters: output_column (string) - The name of the target column.