[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-488175-105":59,"doc-detail-488175-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","regression-simple-and-multiple-linear-regression-for-college-admission-prediction","Regression - Simple and Multiple Linear Regression for College Admission Prediction","","College admission prediction workflow using Python, numpy/pandas, and scikit-learn. The analysis loads an “Admission_Predict.csv” dataset, inspects structure and data types, selects feature columns, and visualizes relationships between individual predictors (GRE, TOEFL, SOP, CGPA) and “Chance of Admit” via scatter plots. It then applies simple linear regression for each selected predictor, evaluates performance using RMSE and R² on train/test splits, and builds a multiple linear regression model with combined features for improved estimation.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/regression-simple-and-multiple-linear-regression-for-college-admission-prediction/488175/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/regression-simple-and-multiple-linear-regression-for-college-admission-prediction/488175.png","ImageObject",300,407,{"name":92,"@type":93},"8796093062539","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-09-30",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What dataset and target variable are used for admission prediction?","Question",{"text":112,"@type":113},"The workflow reads “Admission_Predict.csv”. The target variable is “Chance of Admit”.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is model performance evaluated in the experiments?",{"text":117,"@type":113},"Each regression uses train/test splitting and reports RMSE (via square root of mean squared error) and out-of-sample R² (r2_score).",{"name":119,"@type":110,"acceptedAnswer":120},"What regression approaches are implemented?",{"text":121,"@type":113},"The document runs simple linear regression using one predictor at a time (e.g., GRE, TOEFL, CGPA) and also constructs a multiple linear regression using several predictors together, followed by an OLS regression using a formula.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},488175,1790811086,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":66,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":34,"language":138,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":67,"update_tm":129,"read_time":142,"preview_page_count":19,"preview_urls":143},8796093062539,"In [7]:  \nIn [8]:  \nimport numpy as np import pandas as pd  \nfrom sklearn.metrics import r2_score ,mean_squared_error  \nfrom math import sqrt  \n[df](df = pd.read_csv)[ =](df = pd.read_csv)[ pd](df = pd.read_csv)[.](df = pd.read_csv)[read_csv](df = pd.read_csv)(\"C:\\\\Users\\\\Pooja Agarwal\\\\Downloads\\\\Admission_Predict.csv\")  \n\\#printing first 5 rows of data frame  \ndf.head()  \nOut[8]:  \nSerial  \nNo.  \nGRE Score  \nTOEFL Score  \nUniversity Rating  \nSOP  \nLOR  \nCGPA  \nResearch  \nChance of Admit  \n0  \n1  \n2  \n3  \n4  \n1  \n2  \n3  \n4  \n5  \n337  \n324  \n316  \n322  \n314  \n118  \n107  \n104  \n110  \n103  \n4  \n4  \n3  \n3  \n2  \n4.5  \n4.0  \n3.0  \n3.5  \n2.0  \n4.5  \n4.5  \n3.5  \n2.5  \n3.0  \n9.65  \n8.87  \n8.00  \n8.67  \n8.21  \n1  \n1  \n1  \n1  \n0  \n0.92  \n0.76  \n0.72  \n0.80  \n0.65  \nIn [10]:  \ndf.shape  \nOut[10]: (400, 9)  \nIn [12]:  \ndf.dtypes  \nOut[12]: Serial [No. int64](No. int64)  \nGRE Score int64  \nTOEFL Score int64  \nUniversity Rating int64  \nSOP float64  \nLOR float64  \nCGPA float64  \nResearch int64  \nChance of Admit float64 dtype: object  \nIn [13]:  \ndf.columns  \nOut[13]: Index(['Serial No .', 'GRE Score', 'TOEFL Score', 'University Rating', 'SOP','LOR ', 'CGPA', 'Research', 'Chance of Admit '],  \ndtype='object')  \nIn [22]:  \nIn [16]:  \nX=df[[ 'GRE Score' , 'TOEFL Score' , 'University Rating' , 'SOP' , 'LOR ' , 'CGPA' , 'Researy=df[ 'Chance of Admit ' ]  \nimport matplotlib.pyplot as pltplt.scatter (X [ 'GRE Score' ],y )  \nOut[16]: \u003Cmatplotlib.collections.PathCollection at 0x1880dcf2910>  \nIn [17]:  \nplt.scatter (X [ 'TOEFL Score' ],y )  \nOut[17]: \u003Cmatplotlib.collections.PathCollection at 0x1880e03a460>  \nIn [18]:  \nplt.scatter (X [ 'SOP' ],y )  \nOut[18]: \u003Cmatplotlib.collections.PathCollection at 0x1880e095bb0>  \nIn [19]:  \nplt.scatter (X [ 'CGPA' ],y )  \nOut[19]: \u003Cmatplotlib.collections.PathCollection at 0x1880e0fc610>  \nIn [23]:  \nIn [24]:  \nIn [25]:  \nfrom sklearn.model_selection import train_test_split  \nX_train ,X_test ,y_train ,y_test=train_test_split (X ,y ,test_size=0.2 , random_state=14)  \nX_tested=X_test [[ 'GRE Score' ]] X_trained=X_train[[ 'GRE Score' ]]  \n\\#Simple Linear Regression  \nfrom sklearn.linear_model import LinearRegression LR=LinearRegression()  \n[LR](LR.fit)[.](LR.fit)[fit](LR.fit)(X_trained,y_train) yhat=LR .predict (X_tested)  \nprint ( np.sqrt (mean_squared_error (y_test ,yhat)))\\#out of sample accuracy print ( r2_score (y_test ,yhat))  \n0.07226833478856222 0.7350482562603644  \nIn [63]:  \nIn [64]:  \nyhated=LR .predict (X_trained)  \nplt.scatter (X_trained ,y_train , color='blue') plt.plot (X_trained ,yhated , color='red') plt.title ('Predicting College Admission' ) plt.xlabel ( 'GRE Score' )  \nplt.ylabel ( 'Chance of Admission' )  \n[plt](plt.show)[.](plt.show)[show](plt.show)()  \nX_tested=X_test [[ 'TOEFL Score' ]] X_trained=X_train[[ 'TOEFL Score' ]]  \nIn [65]:  \nfrom sklearn.linear_model import LinearRegression LR=LinearRegression()  \n[LR](LR.fit)[.](LR.fit)[fit](LR.fit)(X_trained,y_train) yhat=LR .predict (X_tested)  \nprint ( np.sqrt (mean_squared_error (y_test ,yhat)))\\#out of sample accuracy print ( r2_score (y_test ,yhat))  \n0.08252344213607452 0.6545180552654432  \nIn [66]:  \nyhated=LR .predict (X_trained)  \nplt.scatter (X_trained ,y_train , color='blue') plt.plot (X_trained ,yhated , color='red') plt.title ('Predicting College Admission' ) plt.xlabel ( 'TOEFL Score' )  \nplt.ylabel ( 'Chance of Admission' )  \n[plt](plt.show)[.](plt.show)[show](plt.show)()  \nIn [71]:  \nIn [72]:  \nX_tested=X_test [[ 'CGPA' ]] X_trained=X_train[[ 'CGPA' ]]  \nfrom sklearn.linear_model import LinearRegression LR=LinearRegression()  \n[LR](LR.fit)[.](LR.fit)[fit](LR.fit)(X_trained,y_train) yhat=LR .predict (X_tested)  \nprint ( np.sqrt (mean_squared_error (y_test ,yhat)))\\#out of sample accuracy print ( r2_score (y_test ,yhat))  \n0.06223449324321656 0.8035133710605582  \nIn [73]:  \nyhated=LR .predict (X_trained)  \nplt.scatter (X_trained ,y_train , color='blue') plt.plot (X_trained ,yhated , color='red') plt.title ('Predicting College Admissio","cbCaiqPvg5FiKRSS","https://ap.wps.com/l/cbCaiqPvg5FiKRSS","pdf",582720,"English","# Modeling and Data Setup\n## Data loading and inspection\n## Feature selection\n## Visualization of predictors vs Chance of Admit\n# Simple Linear Regression Experiments\n## GRE-based regression\n## TOEFL-based regression\n## CGPA-based regression\n# Multiple Linear Regression and Statistical Modeling\n## Multiple feature regression\n## OLS model with formula interface\n# Model Evaluation and Output","[{\"question\":\"What dataset and target variable are used for admission prediction?\",\"answer\":\"The workflow reads “Admission_Predict.csv”. The target variable is “Chance of Admit”.\"},{\"question\":\"How is model performance evaluated in the experiments?\",\"answer\":\"Each regression uses train/test splitting and reports RMSE (via square root of mean squared error) and out-of-sample R² (r2_score).\"},{\"question\":\"What regression approaches are implemented?\",\"answer\":\"The document runs simple linear regression using one predictor at a time (e.g., GRE, TOEFL, CGPA) and also constructs a multiple linear regression using several predictors together, followed by an OLS regression using a formula.\"}]","Regression - Simple and Multiple Linear Regression for College Admission Prediction | PDF",18,[144,148,152,156],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ba9b0c8c1e7026d7e8bb2055b6437e0e.webp",983,1391,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/99b6a47aa6b1b66b2769c259cd018816.webp",982,1389,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1346d737a67d48446131bbeac31f45b2.webp",981,1388,{"page_no":19,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/94d7fc1b11961cc9335b76df0b34d368.webp",980,1387]