mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-06-07 15:11:56 +00:00
update
This commit is contained in:
parent
983e5c4c37
commit
d9e6e7ab26
@ -3,6 +3,7 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="0aedafd8-e57e-462a-beda-65af0b91f3df" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/train.py" beforeDir="false" afterPath="$PROJECT_DIR$/train.py" afterDir="false" />
|
||||
</list>
|
||||
<ignored path="$PROJECT_DIR$/out/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
@ -47,7 +48,7 @@
|
||||
<counts>
|
||||
<entry key="Dockerfile" value="81" />
|
||||
<entry key="md" value="104" />
|
||||
<entry key="py" value="2778" />
|
||||
<entry key="py" value="2779" />
|
||||
<entry key="sh" value="5" />
|
||||
</counts>
|
||||
</usages-collector>
|
||||
@ -56,7 +57,7 @@
|
||||
<entry key="Bash" value="5" />
|
||||
<entry key="Dockerfile" value="81" />
|
||||
<entry key="Markdown" value="104" />
|
||||
<entry key="Python" value="2778" />
|
||||
<entry key="Python" value="2779" />
|
||||
</counts>
|
||||
</usages-collector>
|
||||
</session>
|
||||
@ -91,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="100">
|
||||
<caret line="106" column="60" selection-start-line="106" selection-start-column="60" selection-end-line="106" selection-end-column="60" />
|
||||
<state relative-caret-position="95">
|
||||
<caret line="106" column="61" selection-start-line="106" selection-start-column="61" selection-end-line="106" selection-end-column="61" />
|
||||
<folding>
|
||||
<element signature="e#0#28#0" expanded="true" />
|
||||
</folding>
|
||||
@ -226,7 +227,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="1588393271689" />
|
||||
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1588393981482" />
|
||||
<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,12 +268,12 @@
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1588152877746</updated>
|
||||
<workItem from="1588152880522" duration="16973000" />
|
||||
<workItem from="1588319878551" duration="25154000" />
|
||||
<workItem from="1588319878551" duration="25365000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="42127000" />
|
||||
<option name="totallyTimeSpent" value="42338000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="0" y="0" width="1280" height="800" extended-state="0" />
|
||||
@ -398,8 +399,8 @@
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/train.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="100">
|
||||
<caret line="106" column="60" selection-start-line="106" selection-start-column="60" selection-end-line="106" selection-end-column="60" />
|
||||
<state relative-caret-position="95">
|
||||
<caret line="106" column="61" selection-start-line="106" selection-start-column="61" selection-end-line="106" selection-end-column="61" />
|
||||
<folding>
|
||||
<element signature="e#0#28#0" expanded="true" />
|
||||
</folding>
|
||||
|
2
train.py
2
train.py
@ -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, 3000, 4)
|
||||
lstm_model = fit_lstm(train_trimmed, batch_size, 300, 4)
|
||||
# forecast the entire training dataset to build up state for forecasting
|
||||
print(train_trimmed)
|
||||
print(train_trimmed[:, 0])
|
||||
|
Loading…
Reference in New Issue
Block a user