Posts

Showing posts from April, 2024

Week 7 - BALT 4396B - Chapter 8-10

Image
 Learning Python with ChatGPT and Google Colab Chapter 8-9 Summary Chapter 8 of Professor Kelsey's book "Learning Python with ChatGPT and Google Colab" goes over Python Libraries. We got a very quick summary of what Python libraries are in one of the past weeks as an introduction to Python. To quickly summarize it again Python libraries are collections of codes that can be used and copied onto your own work. These codes that are found in the libraries can help you save a lot of time. You won't have to always put effort into creating new codes if you find what you need within these libraries. This can be seen as a very useful feature.  This chapter also covers how Python libraries and Google Colab are linked to each other. Let's take a quick look at how to use these libraries with Google Colab. Step 1 - Open a new or existing notebook in Google Colab. Step 2 - use the !pip install command followed by the name of the library (to install a library)  Ex: !pip instal...

Week 7 - BALT 4396B - ChatGPT

Image
 The help of ChatGPT ChatGPT is a natural language processing bot that is ran by generative AI. This software allows us to communicate with it as if it were a human. Meaning that you can give it prompts/orders and it will help you achieve a task. For example, Professor Kelsey mentioned in his weekly audio that it can be as easy as telling ChatGPT to write you a program that can display the words "Happy Birthday." When you tell ChatGPT to do this it begins to ask you questions that will steer it to create an accurate conversation for you. The length of the conversation will vary as well as format, details, language, etc. That all depends on what chatbot you are using and what you specifically want it to do. Others may use similar words but won't get the exact same result as you.  Using ChatGPT can be seen as a staff member as it's there for your needs and assistance. You can easily find it online. This is a feature that may be beneficial in an office setting. It can fo...

Week 6 - BALT 4396B - Python/Games

Image
 Python and Game Development One of the interesting and maybe more entertaining features Python has is game development. There's a set of modules that is referred to as Pygame that allows you to create all kinds of games from arcade games to puzzles. Pygame is considered to be one of the most popular game libraries as its very portable and friendly with many different operating systems. The functions that are found within Pygame are written in C And assembler which allows for high quality and speed. If you are someone who is interested in this and using Python, it's important to know basic/core concepts. Some prior knowledge is important as it'll make the process a lot easier. But luckily, we live in a time where you can google search a tutorial and several options will come up. There are also online courses that you can pay for to start your python journey.  To start diving into game development you may want to start by practicing creating a simple game like rock, paper, s...

Week 6: BALT 4396b: Learning Python Ch 5-7

Image
Chapter 5: Operators in Python Last week's (week 5) reading was an introduction to Professor Kelsey's book Learning Python with ChatGPT and Google  . Our reading assignment was on chapter's 1-4 where we were introduced to some of the basic/beginner concepts. Those concepts were print statements and comments, indentation, and understanding variables. This week (week 6) our assignment is to read chapters 5-7. These chapters cover other concepts like operators, function in python, and modules. In this blog I'll be focusing more on chapter 5 and giving a quick summary of what it goes over.  Chapter 5: In chapter 5 we look at operators. Operators are symbols/keywords (a combination of these two) in Python that work to perform operations on variables and values. There are many operators, and they can be broken down into different types or groups. The different types include arithmetic operators, comparison operators, logical operators, and bitwise operators. Let's look ...

Week 5 - BALT 4396B - CH 1 to 4

Image
Ch2 Print Statement and Comments Chapter 1-4 of Professor Kelsey's book;  Learning Python with ChatGPT and Google Colab ,   gives us a quick summary of what Python is and how to open/use it.  It touches on basic concepts like on Chapter 2 which focuses on Print Statements and Comments. Chapter 3 teaches us about Indentations. Chapter 4 is Understanding variables. All of these concepts get tied up together. The more important one to learn out of these may be the variables. If we can't read the information on a notebook, then learning everything else wouldn't be useful. On this certain blog I will be summarizing Chapter 2. Speaking on what Print Statement is and how to leave comments. In Chapter 2 we are introduced to "Hello World. Users of Python usually start out with this first. It can be used as an exercise and to test out the program. You can look at the different outcomes and compare. The print function puts out whatever you put into the system. You can type in a c...

Week 5 - BALT 4396B - Python and Python HTML

Image
 Python + Python HTML Python is a programming language that has been growing in popularity and may be the most versatile in the software industry. If you are interested in diving into AI and coding, starting with learning a simple program is beneficial. Python works great in this case because it's not super complex like it may seem or sound. It is actually considered to be one of the easier programs to learn. That is because of its extensive community and the versatility. Of course, it will take some time to pick up on the fundamentals, but compared to other programs it might be more of a breeze to get through some lessons. You can find a lot of help/advice online on python and even lessons. Learning the tools (even the basis ones) and taking some time to practice them will eventually transfer over to more complex work. It'll make the transition over to harder work feel like plain sailing.  Python also allows for easy access through Google Colab. You can put into your browser ...

Week 4 - BALT 4396B - Chapter 5

Image
 Probability and Statistics for Data Science In chapter 5 of Data Toolkit: Python + Hands-On Math we are introduced to some important concepts of math and data science; Probability and statistics. Their role within data science is to help data scientists interpret/understand the information and numbers that they are working with. By breaking down data they are able to get a better understanding and make the best decisions that they can. Data scientists can also get a feel for the kinds of data models that they are working with and see which one's are producing the best results. To be more specific about the type of probability and statistic concepts that chapter 5 introduces us to it is descriptive statistics and probability distributions. We also get to see examples of them being used with Python.  Descriptive Statistics: What are descriptive statistics and how do they work? Descriptive statistics summarize focal points that are found within a data set. A focal point in a dat...

Week 4 - BALT 4396B - Further into Coding

Image
 Further into Coding These past couple of weeks in class we have been going over some of the tools that AI (Python) provides and how to use them. We've been focusing on more of the basic fundamentals and have seen the link of AI to math and coding. Last week we went over how math and coding are practically the base of AI and it is important to learn more advanced math if you are taking AI seriously. Especially with conventional AI. This week professor Kelsey mentions that we are moving more towards the coding portion of AI in class.  Benefits of Coding:   From Professor Kelsey's talk we can pick up that coding is also a concept that can be found in many of our professions and daily lives. He recommends that students look into computer science and recommends that those studying computer science get their master's degree. He believes that acquiring such skills is beneficial as AI/automation is impacting most of our careers. It just leads to job security as well. By getting ...