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 /> <select />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="828778c9-9d97-422f-a727-18ddbd059b85" name="Default Changelist" comment="zwiekszenie dokladnosci"> <list default="true" id="828778c9-9d97-422f-a727-18ddbd059b85" name="Default Changelist" comment="finding barcode">
<change afterPath="$PROJECT_DIR$/coder/barcode.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <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/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> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -244,7 +242,7 @@
<workItem from="1589814601057" duration="4208000" /> <workItem from="1589814601057" duration="4208000" />
<workItem from="1589844260514" duration="777000" /> <workItem from="1589844260514" duration="777000" />
<workItem from="1589845066174" duration="177000" /> <workItem from="1589845066174" duration="177000" />
<workItem from="1589888090669" duration="24037000" /> <workItem from="1589888090669" duration="27074000" />
</task> </task>
<task id="LOCAL-00001" summary="create Shelf"> <task id="LOCAL-00001" summary="create Shelf">
<created>1589815443652</created> <created>1589815443652</created>
@ -302,7 +300,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1589964526485</updated> <updated>1589964526485</updated>
</task> </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 /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -330,7 +335,8 @@
<MESSAGE value="fun created" /> <MESSAGE value="fun created" />
<MESSAGE value="recognizing but training must be improved" /> <MESSAGE value="recognizing but training must be improved" />
<MESSAGE value="zwiekszenie dokladnosci" /> <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>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="115" y="162" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog" timestamp="1589923610328"> <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 y = digits.target
x = digits.images.reshape((len(digits.images), -1)) x = digits.images.reshape((len(digits.images), -1))
#ogarnac zbior, zwiekszyc warstwy
x_train = x[:1000000] x_train = x[:1000000]
y_train = y[:1000000] y_train = y[:1000000]
x_test = x[1000:] x_test = x[1000000:]
y_test = y[1000:] y_test = y[1000000:]
mlp = MLPClassifier(hidden_layer_sizes=(15,), activation='logistic', alpha=1e-4, mlp = MLPClassifier(hidden_layer_sizes=(15,), activation='logistic', alpha=1e-4,
solver='sgd', tol=1e-4, random_state=1, solver='sgd', tol=1e-4, random_state=1,