Linear-Regression-MCP

Linear-Regression-MCP

9

Linear Regression MCP is a project aimed at demonstrating a complete machine learning workflow using the Model Context Protocol (MCP) from dataset uploading to model training and evaluation. It provides tools to automate the training lifecycle of a Linear Regression model with an easy setup and contributions are welcomed.

upload_file

The absolute way to file

get_columns_info

Get the column of uploaded dataset

check_category_columns

Check the classification in the dataset

label_encode_categorical_columns

Encode the classification column label into numbers

train_linear_regression_model

Target column name