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 (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 (the name of the target column)