Skip to main content

Beginners Guide for Using Google Colab for the First Time.

Beginners guide for using the Machine Learning and/or AI tools on google.colab

for a complete beginner: 

  1. AI and ML is all about analysing data so first you need to decide what
  2. kind of data you want to analyse. (I refer you back to my previous

  3. Basically do you want to analyse numerical data, text or images?

  4. On this occasion I’m going to keep it simple and create some data visualisations (graphs)

  5. You can get free open source data from this website kaggle.com

  6. I downloaded this file in .csv format:s-p-500-time-series-forecasting-with-prophet/input  

  7. This is when you can go to chatgpt and ask it to write the code for google colab to analyse the data in 
    the way you want for example you could ask it to write the code to create a dataframe from that data: 
     
  8. Drag and drop the csv file into google.colab
  9. Change the labels so they match the column names from the csv file:
  10. Run the code by pressing run, nothing bad will happen if you press run 
    (the worst case scenario is that it just won’t work!).
  11. I got something that looks like this:


  12. If you get an error ask the google AI gemini to explain it and help you fix it.
  13. Make sure the column names from the csv file match the column names in 
  14. the code (including the uppercase and lower case is correct).
    Once you have created a dataframe the hard work is done so you can now 
    ask gemini to make some graphs from it or go back to chat gpt and ask it to 
    make a graph from that dataframe.  
    I ended up with something like this:


  15. If you can get this far you know enough to use trial and error to experiment with 
    those tools and get it to display the data however you want. 

Comments

Popular posts from this blog

Meet Cuthbert Baines: A Passionate and High-Achieving Professional Programmer

   Hello, and welcome to my corner of the internet! I'm Cuthbert Baines, a seasoned computer programmer with a passion for solving complex problems and building efficient, scalable software. With years of experience in the industry, I’ve honed my skills to not only deliver high-quality code but also to contribute meaningfully to projects that push the boundaries of technology. My Journey into Programming I’ve always had a deep curiosity about how things work, which led me to the world of computer science and programming. From my first lines of code to tackling challenging algorithms, the journey has been a rewarding one. Over time, my focus has expanded to include full-stack development, machine learning, and software architecture, but the heart of my work remains in solving real-world problems with clean, maintainable code. What Sets Me Apart? As a professional programmer, I pride myself on a few key principles that guide my work: Attention to Detail : Whether I’m debu...

A Beginner’s Guide to AI & Machine Learning Terms (No Tech Background Needed!)

πŸ“ΆπŸ’»πŸ’Ή Artificial Intelligence (AI) and Machine Learning (ML) are terms that are used by a lot of people but do you know about the technical nuts and bolts of how they actually work? If you don't that's OK, — I’ve broken down some of the most common terms you might hear in the world of AI/ML into simple explanations anyone can understand. Plus, if you're using Google Colab , there's a built-in AI assistant called Gemini that can help you understand and write code but you need to know the right questions to ask it first.   1. NLP (Natural Language Processing) 🎀🎧 NLP is a branch of AI that helps computers understand and work with human language. Think of it as the technology behind things like chatbots, language translators, and voice assistants like Siri or Alexa. It allows machines to “read” and make sense of text or speech, just like we do. 2. BERT (Bidirectional Encoder Representations from Transformers) BERT is a special AI model developed by Google that he...

Learn Universal Communication By Learning Esperanto

1. Begin with the 16 “rules” of Esperanto and its simple grammar Start by immersing yourself in the concise foundational rules of Esperanto: its phonetic spelling, predictable affixation, and regular verb system make it far easier to grasp than many natural languages. For a clear overview of why Esperanto is easier to learn than typical languages, see Why Learn Esperanto? (Lingolia) which outlines its regularity and simplified grammar. ( esperanto.lingolia.com ) 2. Use a structured online course to build vocabulary and grammar Enroll in a free, guided Esperanto course such as Transparent Language’s Esperanto module (which offers vocabulary lists, interactive exercises and listening tasks) to build a solid grammar and vocabulary foundation. ( Transparent Language ) 3. Complement your lessons with the community platform Lernu! Pair your formal lessons with practice on Lernu! , the free multilingual Esperanto learning site, which offers exercises, multimedia, dictionaries, and a co...