Sunday, October 22, 2023

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

I am only retrieving files from Coursebank's SPARTA's archived course. It is bit interesting that 4.6 Exit Assessment is locked. After years, I can't remember the assessment question too. I am sorry for that.

Anyways, here are the snapshots of my Jupyter notebook.

Sa mga nahihirapan po sa SP901: Data Science and Machine Learning Using Python check nyo po itong libro na ito, andyan po ung mga sinasabi ni teacher.. medyo verbatim 


https://www.oreilly.com/.../introduction.../9781449369880/ 

Introduction to Machine Learning with Python

by Andreas C. Müller, Sarah Guido


Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | Week 4: Representing Data and Engineering Features

Happy Learning SPARTANs! 

Saturday, October 21, 2023

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Imagine you're teaching a computer to do cool things.. like categorising ;) So what is the difference of Supervised and Unsupervised Machine Learning? 


Supervised Machine Learning:

Think of this like a teacher guiding a student. In supervised learning, we give the computer a bunch of data and also tell it what the correct answers should be. It's like having a teacher's answer key for a test. The computer then learns from this data and uses it to make predictions or decisions.


For example, if we want the computer to recognize cats and dogs in pictures, we'd show it lots of images of cats and dogs and tell it which is which. The computer learns to spot the differences, like pointy ears for dogs and whiskers for cats. This way, it can make predictions when it sees new pictures, like telling us if it's a cat or a dog.


Unsupervised Machine Learning:

Now, unsupervised learning is a bit different. Here, it's like giving the computer a bunch of stuff and letting it figure things out on its own. No teacher's answer key this time. The computer's job is to find patterns, group similar things together, or discover hidden structures in the data.


For example, imagine we have a bunch of customer data from an online store. In unsupervised learning, the computer might notice that some customers tend to buy similar items, and it groups those customers together. This can help the store recommend products to customers based on what others with similar tastes bought.


So for the Week 3, are you ready for Unsupervised Learning? Wink-wink! 


Again, I posted my Jupyter Notebook for a reason. But if you really need my notebook, you can send me a message on our Facebook page :) 



3.3.1 Unsupervised Learning

Guidelines:
* Using the IRIS dataset, create the following algorithms:
     - Kmeans
     - DBSCAN
     - Hierarchical

* After that, compare the results using ARI and Silhouette Score 

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 3.3.1 Unsupervised Learning








Friday, October 20, 2023

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning

Did you know that SP901 was released before SP202, introducing me to the world of Python programming? My first experience with this computer language left me feeling like a fish out of water, struggling to communicate with the machine, and the machine with me. (Ganti-ganti lang! Haha) 

The journey into Python was demanding, somewhat painful, and at times, I found myself questioning why I was putting myself through it. But without further ado, let me share with you the snapshots of the weekly assignments for this course.

I made it in jpg form for you to type in your own Jupyter Notebook, by taking the time to type out our code in our Jupyter Notebook, we're not just copying and pasting; we're building a deeper knowledge of Python and the exciting world of supervised machine learning.


2.7.1 Supervised Machine Learning

Guidelines:
Using the the Breast Cancer dataset, perform the following techniques for binary classification:
- Logistics Regression
- RF
- SVM

Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning
Project SPARTA PH's SP901: Data Science and Machine Learning Using Python | 2.7.1 Supervised Machine Learning

For Improvement: Utilize graphs and charts to provide a more comprehensive models than relying only on the accuracy of trainings and tests. 
Get this gadget at facebook popup like box