Skip to main theme

Mipiro

Kuratidza zvinyorwa neelebheri python

Ungadzidza sei kuronga muPython

Python mutauro wepamusoro-wepamusoro wekunyora mutauro wakagadzirwa muna 1991 naGuido van Rossum. Iyo inopa inosimba yekudzora yemhando dzedatha uye inotsigira akasiyana-siyana ekugadziridza mapadigital, inosanganisira chinhu-chakanangidzirwa, chakakosha, chiri kuita, kana chinoshanda. Muna 2018 mukurumbira wayo wakawedzera uye ukava mumwe wemitauro inozivikanwa. Muhuwandu hwenzvimbo dzakasiyana unosvika kune imwe yenzvimbo nhatu dzekutanga, kunze kwenzvimbo dzekutanga.
Pikoni irikudziridzirwa sevhisi yevhu inoshandiswa inopa rusununguko rwekuisa magwaro emapuraneti akawanda (Unix, MS Windows, macOS, Android); mune zvizhinji zveGNU / Linux distributions, Python chikamu chekuiswa kwekutanga.
Pakati pezvimwe zvinhu, inoshandisa zope sevharivha yekushandisa, iyo yekuisa uye yakawanda yezvigadziriswa zvishandiso zveRaff Hat's Linux distribution.
Mutauro wePython uri kubuda, uye nekufamba kwenguva, shanduro nhatu dzisingapindirani, Python (1), Python 2, uye Python 3, dzakagadzirwa.
Python 1 haisisiri kushandiswa. Python 0.9.0 yakaburitswa muna 1991, Python 1.0 muna 1994…

Orange 3 neural network

Multilayer perceptron (MLP) algorithm ine kusarudzika kwemashure.
Kupinda Dhata: yekudha data fairaProcessor: nzira dzekuvandudzaZvinobuda Mudzidzi: multilayer kudzidza algorithmModel: yakadzidziswa modhiNeural Network Widget inoshandisa Skearn Multi-layer perceptron algorithm iyo inogona kudzidzisa isiri-mutsara mhando pamwe nemutsara.

Iro zita pasi payo rinozoonekwa mune mamwe majeti. Iro zita rekupedzisira "Neural Network". Seti yemuenzaniso parameter: Neurons pane yakavanzika masosi: Inotsanangurwa seye-th chinhu chinomiririra huwandu hweiyo neurons mune i-th yakavanzika. Ed. Iyo 3-layer neural network inogona kutsanangurwa se2, 3, 2. Yakavanzika Yegadziriro Yekuita Mabasa: Kuzivikanwa: isina kuiswa activation, inobatsira mukushandisa mutsara webhokisi bhokisi .. Logistic sigmoid basa -BFGS-B: optimizer muQuasi-Newtonia mhuriSGD: stochastic gradient descentAdam: stochastic optimizer yakavakirwa…

Python kodhi iri nyore Calculator

Ichi chirongwa chePython chiri nyore chinobvunza mushandisi kusarudza basa raunoda. Sarudzo dzesarudzo 1, 2, 3 ne4 dzinoshanda. Vaviri kana ... elif ... zvimwe nhamba dzakasarudzwa uye bazi rinoshandiswa kuita imwe chikamu chechirongwa. Mushandisi-akatsanangurwa wedzera (), bvisa (), wedzera (), uye ugovanise () mabasa anoita mabasa akakodzera.
# Iri basa rinowedzera maviri manhamba def anowedzera (x, y): dzoka x + y # Ichi chiitwa chinodzikisa manhamba maviri def subtract (x, y): dzoka x - y # Iri basa rinowedzera nhamba mbiri kuwanda () x, y): dzoka x * y # Ichi chiitiko chinopatsanura maviri manhamba kupatsanura (x, y): dzoka x / y kudhindisa ("Sarudza oparesheni.") pirinda ("1.Add") kudhinda ("2.Subtract") kudhinda ("3.Multiply") kudhinda ("4.Divide")