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.