Simple OLS python source code with data preprocess


Simple OLS python source code with data preprocess

###### eyetracker analysis 20221222 import pandas as pd import numpy as np import seaborn as sns import os import matplotlib.pyplot as plt # 그래프를 그리는 패키지 from sklearn.decomposition import PCA from sklearn.preprocessing import StandardScaler from sklearn.model_selection import train_test_split import statsmodels.api as sm from sklearn.preprocessing import LabelEncoder from math import sqrt from sklearn.metrics import mean_squared_error test_dataset = pd.read_csv('sample_data.csv') test_data1 = te...


#OLS #python #간단 #예제 #코드 #파이썬

원문링크 : Simple OLS python source code with data preprocess