Posts

Showing posts with the label artificialintelligence machine learning

Namespace in python

Image
In Python, a namespace is a system that assigns a unique name to each and every object. A variable or a method can be considered an object. Python has its own namespace, which is kept in the form of a Python dictionary. Let's look at a directory-file system structure in a computer as an example. It should go without saying that a file with the same name might be found in numerous folders. However, by supplying the absolute path of the file, one can be routed to it if desired. In the real world, a namespace in python serves the same purpose as a surname. There may be more than one "Alice" in the class, but when you specifically ask for "Alice Lee" or "Alice Clark" (with a surname), there will only be one (for the time being, don't assume that both first and surname are the same for numerous students). Similarly, based on the namespace, the Python interpreter understands what particular function or variable one is trying to point to in the

Activation Functions In Neural Network

Image
It's  recommended  to  understand  what's a neural  network  before  reading  this  composition . In The  process  of  erecting  a neural  network , one of the  choices  you  get  to  make  is what activation  function  to  use  in the  retired   subcaste  as  well  as at the  affair   subcaste  of the  network . This  composition  discusses some of the  choices . Rudiments  of a Neural  Network - Input   Subcaste - This  subcaste  accepts  input  features. It provides  information  from the  outside   world  to the  network , no  calculation  is  performed  at this  subcaste ,  bumps   then   just   pass  on the  information  (features) to the  retired   subcaste . Hidden   Subcaste -   Bumps  of this  subcaste  aren't  exposed  to the  external   world , they're the  part  of the abstraction  handed  by any activation functions in neural  networks .  Retired   subcaste  performs all  kind  of  calculation  on the features  entered  through the  input   subcaste  and