1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-06-07 15:11:56 +00:00
This commit is contained in:
Newnius 2020-05-02 11:11:28 +08:00
parent e7437e5a98
commit 106cffc1a3
2 changed files with 10 additions and 11 deletions

View File

@ -48,7 +48,7 @@
<counts>
<entry key="Dockerfile" value="81" />
<entry key="md" value="104" />
<entry key="py" value="2730" />
<entry key="py" value="2732" />
<entry key="sh" value="5" />
</counts>
</usages-collector>
@ -57,7 +57,7 @@
<entry key="Bash" value="5" />
<entry key="Dockerfile" value="81" />
<entry key="Markdown" value="104" />
<entry key="Python" value="2730" />
<entry key="Python" value="2732" />
</counts>
</usages-collector>
</session>
@ -92,8 +92,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/train.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="155">
<caret line="111" column="18" lean-forward="true" selection-start-line="111" selection-start-column="18" selection-end-line="111" selection-end-column="18" />
<state relative-caret-position="265">
<caret line="106" column="60" selection-start-line="106" selection-start-column="60" selection-end-line="106" selection-end-column="60" />
<folding>
<element signature="e#0#28#0" expanded="true" />
</folding>
@ -226,7 +226,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="1588388855465" />
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1588388986075" />
<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" />
@ -267,16 +267,15 @@
<option name="presentableId" value="Default" />
<updated>1588152877746</updated>
<workItem from="1588152880522" duration="16973000" />
<workItem from="1588319878551" duration="22923000" />
<workItem from="1588319878551" duration="23227000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="39896000" />
<option name="totallyTimeSpent" value="40200000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1280" height="800" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Designer" order="0" />
<window_info id="UI Designer" order="1" />
@ -398,8 +397,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/train.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="155">
<caret line="111" column="18" lean-forward="true" selection-start-line="111" selection-start-column="18" selection-end-line="111" selection-end-column="18" />
<state relative-caret-position="265">
<caret line="106" column="60" selection-start-line="106" selection-start-column="60" selection-end-line="106" selection-end-column="60" />
<folding>
<element signature="e#0#28#0" expanded="true" />
</folding>

View File

@ -104,7 +104,7 @@ def experiment(repeats, series, seed):
t2 = test.shape[0] % batch_size
train_trimmed = train_scaled[train_scaled.shape[0] - t1 * batch_size:, :]
lstm_model = fit_lstm(train_trimmed, batch_size, 300, 4)
lstm_model = fit_lstm(train_trimmed, batch_size, 3000, 4)
# forecast the entire training dataset to build up state for forecasting
print(train_trimmed)
print(train_trimmed[:, 0])