Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
·
d910af5
1
Parent(s):
a420615
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ import numpy as np
|
|
5 |
|
6 |
df = pd.read_excel('MOD_VC.xlsx', 'DF')
|
7 |
|
|
|
|
|
|
|
8 |
# Separar as variáveis independentes (X) e dependente (y)
|
9 |
X = df[['AREA', 'TEST', 'PAV', 'POS', 'RB']]
|
10 |
y = df['VU']
|
|
|
5 |
|
6 |
df = pd.read_excel('MOD_VC.xlsx', 'DF')
|
7 |
|
8 |
+
df[['AREA', 'TEST', 'VU']] = np.log(df[['AREA', 'TEST', 'VU']])
|
9 |
+
df['RB'] = 1/df['RB']
|
10 |
+
|
11 |
# Separar as variáveis independentes (X) e dependente (y)
|
12 |
X = df[['AREA', 'TEST', 'PAV', 'POS', 'RB']]
|
13 |
y = df['VU']
|