Achọtara na tensorflow-js ihe ịchọrọ maka nzọụkwụ mbụ na ML na ịzụ ahịa.
Nke a bụ ọzụzụ dqn ebe a na-enye onye nnọchite anya ụgwọ ọrụ na ntaramahụhụ maka omume.
https://github.com/tensorflow/tfjs-examples/tree/master/snake-dqn
https://storage.googleapis.com/tfjs-examples/snake-dqn/index.html
Ọ na-apụta na anyị nwere agwọ na-amụta site na ahụmahụ nke ya ịkwagharị. O nwere ọnụ ọgụgụ ụfọdụ nke mmegharị (ntụgharị ma ọ bụ gaa n’ihu) na ọrụ ya bụ ịbanye na mkpụrụ osisi ahụ. Na mbụ, agwọ ahụ amaghị otú, ma n’oge ọzụzụ, ọ na-enweta ike ịchọta mkpụrụ osisi na dodge. Ọ dị nnọọ ka ịzụ ahịa, ọ́ bụghị ya?
Ọfọn, ọ dịkarịa ala maka ọrụ anyị, mgbe anyị nwere data na-agba ọsọ, na robot kwesịrị ime mkpebi ịzụta ma ọ bụ ree.
Mwepu nke agwọ bụ na e dere ya maka node.js, anyị kwesịrị inwe ike ịzụ ihe na ihe nchọgharị (ka onye ọrụ ọ bụla nwee ike ime ya). Ya mere, a ga-eme otu ihe ahụ na onye ahịa.
Eji m chaatị dọkpụrụ agwọ ahụ ka ọ dị na ibe m wee gbalịa igbanye ya. Ọ dịghị ebe ahụ!
Agwo buso ya agha
mbụ ngwugwu,
emesia arụmụka. (Site n’ụzọ, emekwara m arịrịọ ịdọrọ n’akụkụ ndozi ahụ https://github.com/tensorflow/tfjs-examples/pull/353),
mgbe ahụ %% Ọjụjụ a na-achịkwaghị achịkwa (ỤdịError): Enweghị ike ịkpọ klas dịka ọrụ%%. Nke a na-arụzi ebe a https://github.com/tensorflow/tfjs/pull/3906/files, mana kemgbe Enweghị ntọhapụ ma, yabụ na m ga-eji aka m dochie ya. Ebe a, n’ụzọ, ọtụtụ ndị nwere nsogbu https://github.com/tensorflow/tfjs/issues/3384.
Ụmụaka agaala n’ihu, dị ka iji indexeddb dochie ọrụ site na fs. Na-arụ ọrụ nke m ji ledo ebe a, n’agbanyeghị. Ọfọn, n’ozuzu, cart-osisi na mbụ kpaliri m ime ihe niile na onye ahịa.
https://github.com/tensorflow/tfjs-examples/tree/master/cart-pole
https://storage.googleapis.com/tfjs-examples/cart-pole/dist/index.html
n’ikpeazụ, nke a bụ ihe mere:
https://github.com/pskucherov/opexflow/pull/16/files
Ọfọn, n’ezie, nzọụkwụ ọzọ ga-abụ:
- Dabara na eserese
- Ihu anya
- Zụlite robot na data amaara iji gosi nsonaazụ kacha
N’okpuru ebe a bụ ngosi vidiyo nke ọzụzụ-ọzụzụ robots na onye ahịa. Otu ụbọchị, ha ga-erekwa ọdịnihu Sberbank kama m.