1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-06-06 22:51:55 +00:00

add files

This commit is contained in:
Newnius 2020-04-29 18:38:37 +08:00
parent 1515f4031b
commit e1c0c452ad
2 changed files with 3 additions and 2 deletions

View File

@ -134,7 +134,7 @@
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1588156536427" />
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1588156664537" />
<property name="go.gopath.indexing.explicitly.defined" value="true" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />

View File

@ -1,7 +1,6 @@
import pandas as pd
import numpy as np
import os
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
frame = "pytorch"
@ -144,6 +143,7 @@ def draw(config, origin_data, predict_norm_data):
predict_data = predict_norm_data * origin_data.std[config.label_in_feature_columns] + \
origin_data.mean[config.label_in_feature_columns]
'''
for i in range(label_column_num):
plt.figure(i + 1)
plt.plot(label_X, label_data[:, i], label='label')
@ -159,6 +159,7 @@ def draw(config, origin_data, predict_norm_data):
config.used_frame))
plt.show()
'''
def main(config):