Posts

Showing posts from June, 2021

Plot the Given Graph with no Libraries

Image
Print The Given Diagram Using the Given Array No Use Of Libraries The Given Input Is:  b = [10,7,12,2,4,7,2,4,1,2,6,6,3,2,1,4,7,2,7,0,0,0,0,0,0,0,0,0,0,0,3,1,4,2,1,5,2,6,5,3,6,1,1,1] b  =  [ 10 , 7 , 12 , 2 , 4 , 7 , 2 , 4 , 1 , 2 , 6 , 6 , 3 , 2 , 1 , 4 , 7 , 2 , 7 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3 , 1 , 4 , 2 , 1 , 5 , 2 , 6 , 5 , 3 , 6 , 1 , 1 , 1 ] l  =  sum ( b ) d  =  sum ( b [ 0 :: 2 ]) - sum ( b [ 1 :: 2 ]) + len ( b ) // 2 print ( l ) print ( d ) a  =  [[ " "   for   i   in   range ( l )]   for   j   in   range ( d )] x  =  [] for   i   in   range ( len ( b )):      if   i % 2 == 0 :          for   j   in   range (( b [ i ])):              x . append ( 1 )      elif   b [ i ] == 0 :          x . append ( 0 )      else :          for   j   in   range (( b [ i ])):              x . append ( -1 ) print ( x )    g = 0 m = 0 for   i   in   range ( len ( x )):      g += x [ i ]      if   m < g :          m  =  g          ik  =  i print ( "ind

Deep learning Questions To Be Known

Image
Deep Learning Questions and Answers Check out some of the frequently asked deep learning interview questions below: 1. What is Deep Learning? If you are going for a deep learning interview, you definitely know what exactly deep learning is. However, with this question the interviewee expects you to give an in-detail answer, with an example.  Deep Learning  involves taking large volumes of structured or unstructured data and using complex algorithms to train neural networks. It performs complex operations to extract hidden patterns and features (for instance, distinguishing the image of a cat from that of a dog). 2. What is a Neural Network? Neural Networks  replicate the way humans learn, inspired by how the neurons in our brains fire, only much simpler. The most common Neural Networks consist of three network layers: An input layer A hidden layer (this is the most important layer where feature extraction takes place, and adjustments are made to train faster and function better) An out