Skip to main content

Posts

import  csv with   open ( '/content/drive/MyDrive/ML lab programs/Lab 1 Find-S algorithm/weather.csv' )  as  f:   reader = csv.reader(f)   data = list(reader)  print ( 'Training data' ) for  row  in  data:    print (row) attr_len= len (data[ 0 ]) -1 h = [ '0' ]*attr_len       print ( 'The Hypothesis are' ) for  row  in  data:    if  row[ -1 ] ==  'Yes' :     j =  0      for  col  in  row:         if  col !=  'Yes' :           if  col != h[j]  and  h[j] ==  '0' :           h[j] = col          elif  col != h[j]  and  h[j] !=  '0' :           h[j] =  '?'       j = j +  1    print (h) print ( 'Maximally Specific Hypothesis:' , h) 2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, import  csv with   open ( '/content/drive/MyDrive/ML lab programs/Lab 2 Candidate Selection Algorithm/enjoysport1.csv' )  as  f:   reader = csv.reader(f)   data = list(reader)  print ( 'Training data' ) for  row  in  da
Recent posts

VTU board has announced holidays for the following collages on 05-03-2019

The Day in and the Day Out

Unplanned actions are always as effective as hell , but when it comes to travelling unplanned trips are always damn successful . Here the success is measured in terms of  joyful time spent doing crazy things and  laughing out loud watching surprising unrealistic attempt to stunts done  by friends.. 5th january 2019 , It was a time I was packing my luggage to home after my first sem exam. I was already badly missing my home because I was like a  Half introverted from my collage days . A call arrived from my closest friend to get ready to a picnic to the place nearby.I was not ready at the beginning as I already said my father that was I was coming home the next day and suddenly a thought bashed.."When we come out of our collage life Marks were just number and memories were Wonders." I said I will be ready.... That night I slept at 2 am watching the movie The Greatest Showman .It was one of the musical success of Hugh Jackman.... I came to board the vehicle at 530 as

Journey in the General Section

I was really lucky get in train at the very first coming stations. It was GolGumbaz Express in which I laid my step to home after many days. The train's route is from Mysore to Sollapur of Karnataka where the rails connect from South to North Karnataka. It was not at all my first time here . I am just sharing my thoughts how it feels like . I thought of writing in a piece of paper but environment won't support me. So I  "Blogged my  Vision into words". The pic says it all how conjusted  it actually was,  of course it was Wednesday one of the middle days of the week but let me remember you the population of India its close to 130 crores . Actually I was concentrating on my mobile when I got my seat, suddenly a group of people came rushing to the door to get in ,I was shocked and then I realised that the train reached Bangalore's city main station. I wondered how Chennai Express shooting  would have been if it was general section of the train . The old man

Thoughts of Paradise

Here are the list of places where our thoughts are actually  not related to the Situation...   1.The place we love to Sleep CLASSROOM   2. The place we love to  Sing BATHROOM   3. The place we Pray EXAM HALL   4. The place we Act Innocent PRINCIPLE OFFICE   5. The place we Act Cheap TEMPLE, MOSQUE, CHURCH 6. The place we showoff discipline BUSSTOP   7. The place we love to stick around AROUND wifi HOTSPOTS   8. The place we give interest CLASH OF CLANS   9. The place we Jump around SUBWAY SURFERS   10. The place we read every bit POINT OF MOVIE POSTERS . 11. The place where we love to Eat MARRIAGE PARTIES   12. The place we like to buy everything TRAINS   13. The place we always imagine OUR HOUSE AS HAUNTED HOUSE ( If not you imagined now)   14. The place where mood changes WEBSITE SHOWING RESULTS   15. The place where Women cry.. TV SERIALS   16. The place everyone visits without fail TOILET.   17.

How To Hack NASA by HTML in steps

<html> <head><title>How to hack NASA by HTML</title></head> <body> <div id="IP address">    123.456.67678.5665:764y34 </div> <span id="Hacked"> Get the F*** out of here  and study for 2nd CIE </span> </body> </html> Get paid to share your links!

The Rat Race

Eat, sleep run towards office To turn the face to the PC , the monitor is opening its eye The AC is opening its mouth It's time that force us to Eat Not inner hunger. It's traffic making us wait. Making us weaker. Away from mountain and river there we live in group as Ants Following one another Killing the creature called Plants. Science formula we remember,not mercy Newton's law we remember but lost confidence Philosophy we say, lost own ethics We pray daily,can't face consequence. The tongue with no good Words The eye with no good Vision, The brain with no good thought With heart which was already LOST.,.. Get paid to share your links!