Fetela ho litaba tsa sehlooho

Menehelo

E bonts'a lits'oants'o tse nang le lengolo python

Mokhoa oa ho ithuta ho ithuta ho Python

Python ke puo ea mananeo a phahameng a ho ngola a thehiloeng ka 1991 ke Guido van Rossum. E fana ka taolo e matla ea mefuta ea data mme e ts'ehetsa li-paradigms tse fapaneng tsa mananeo, ho kenyelletsa ntho e tataisitsoeng, e bohlokoa, ea ts'ebetso kapa e sebetsang. Ka 2018 botumo ba eona bo ile ba eketseha 'me ea fetoha e' ngoe ea lipuo tse tummeng haholo. Ka maemo a fapaneng a fapaneng e fihla ho e 'ngoe ea libaka tse tharo tsa pele, ntle le libaka tsa pele.
Python e ntse e hlahisoa e le morero o bulehileng o fanang ka liphutheloana tsa mahala bakeng sa lipapali tse tloaelehileng (Unix, MS Windows, MacOS, Android); boholo ba likarolo tsa GNU / Linux, Python ke karolo ea tlhomamiso ea motheo.
Har'a lintho tse ling, e sebelisa seva sa ts'ebeliso ea Zope, setopo le boholo ba lisebelisoa tsa tlhophiso tsa ho tsamaisoa ha Red Hat's Linux.
Puo ea Python ea fetoha, 'me ha nako e ntse e feta, ho entsoe liphetolelo tse tharo tse kholo tse sa lumellaneng, Python (1), Python 2 le Python 3.
Python 1 ha e sa sebelisoa. Python 0.9.0 e lokollotsoe ka 1991, Python 1.0 ka 1994…

Network 3 neural network

Multilayer perceptron (MLP) algorithm e nang le ts'oaetso ea morao.
Lisebelisoa Tlhahiso-leseling: tlhahiso ea data ea ho kenyelletsaProcessor: Mekhoa ea ho ntlafatsaLiphello Moithuti: li-algorithmModel tse ngata tsa ho ithuta: mekhoa e koetlisitsoengNeural Network Widget o sebelisa Skearn Multi-layer perceptron algorithm e ka rutang mehlala eo eseng ea mela hammoho le linear.

Lebitso leo e tla hlaha ka tlas'a lona likhatisong tse ling. Lebitso le sa feleng ke "Neural Network". Beha methati ea mohlala: Li-Neurons tse sekhukhu tse patehileng: Li hlalosoa e le tharollo ea i-th e emetse palo ea li-neuron tse karolong e ipatileng ea i-th. Mohl. Khokahano ea neural-3 neural network e ka hlalosoa e le 2, 3, 2. Mesebetsi e Patiloeng ea Sebaka sa Ts'ebetso: Boitsebiso: ts'ebetso e sa sebetsoang, e bohlokoa ho kenella ts'ebetsong ea botlolo ea mohala. -BFGS-B: optimizer ka lapeng la Quasi-NewtoniaSGD: kholo ea maemo a phahameng a bophelo bo botle e thehiloe ho…

Khoutu ea python e bonolo

Lenaneo lena le bonolo la Python le botsa mosebelisi ho khetha ts'ebetso eo o e batlang. Likhetho tsa likhetho 1, 2, 3 le 4 li nepahetse. Tse peli haeba ... elif ... lipalo tse ling li khethiloe 'me lekala le sebelisoa ho etsa karolo e itseng ea lenaneo. Basebelisi ba hlalositsoeng ke mosebelisi (), fokotsa (), tlatsa (), le karohano () ea ho etsa mesebetsi e nepahetseng.
# Ts'ebetso ena e eketsa linomoro tse peli def eketsa (x, y): Return x + y # Ts'ebetso ena e hatisa linomoro tse peli def subtract (x, y): Return x - y # Ts'ebetso ena e eketsa lipalo tse peli ka makhetlo a mangata ( x, y): Return x * y # Ts'ebetso ena e arola likarolo tse peli tsa karohano ea lipalo (x, y): khutlela x / y hatisa ("Khetha ts'ebetso.") hatisa ("1.Add") khatiso ("2.Subtract") hatisoa ("3.Multiply") khatiso ("4.Divide")