2
0
forked from s444420/AL-2020
This commit is contained in:
shaaqu 2020-05-20 12:57:31 +02:00
parent bb070b8085
commit d07d2ce137
2 changed files with 15 additions and 8 deletions

View File

@ -19,11 +19,9 @@
<select />
</component>
<component name="ChangeListManager">
<list default="true" id="828778c9-9d97-422f-a727-18ddbd059b85" name="Default Changelist" comment="zwiekszenie dokladnosci">
<change afterPath="$PROJECT_DIR$/coder/barcode.jpg" afterDir="false" />
<list default="true" id="828778c9-9d97-422f-a727-18ddbd059b85" name="Default Changelist" comment="finding barcode">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/coder/image.py" beforeDir="false" afterPath="$PROJECT_DIR$/coder/image.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/coder/rocognizer.py" beforeDir="false" afterPath="$PROJECT_DIR$/coder/rocognizer.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -244,7 +242,7 @@
<workItem from="1589814601057" duration="4208000" />
<workItem from="1589844260514" duration="777000" />
<workItem from="1589845066174" duration="177000" />
<workItem from="1589888090669" duration="24037000" />
<workItem from="1589888090669" duration="27074000" />
</task>
<task id="LOCAL-00001" summary="create Shelf">
<created>1589815443652</created>
@ -302,7 +300,14 @@
<option name="project" value="LOCAL" />
<updated>1589964526485</updated>
</task>
<option name="localTasksCounter" value="9" />
<task id="LOCAL-00009" summary="finding barcode">
<created>1589967955430</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1589967955430</updated>
</task>
<option name="localTasksCounter" value="10" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -330,7 +335,8 @@
<MESSAGE value="fun created" />
<MESSAGE value="recognizing but training must be improved" />
<MESSAGE value="zwiekszenie dokladnosci" />
<option name="LAST_COMMIT_MESSAGE" value="zwiekszenie dokladnosci" />
<MESSAGE value="finding barcode" />
<option name="LAST_COMMIT_MESSAGE" value="finding barcode" />
</component>
<component name="WindowStateProjectService">
<state x="115" y="162" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog" timestamp="1589923610328">

View File

@ -13,11 +13,12 @@ digits = datasets.load_digits()
y = digits.target
x = digits.images.reshape((len(digits.images), -1))
#ogarnac zbior, zwiekszyc warstwy
x_train = x[:1000000]
y_train = y[:1000000]
x_test = x[1000:]
y_test = y[1000:]
x_test = x[1000000:]
y_test = y[1000000:]
mlp = MLPClassifier(hidden_layer_sizes=(15,), activation='logistic', alpha=1e-4,
solver='sgd', tol=1e-4, random_state=1,