so uhh.. right web scraping. and this will be in english cuz i can not be bothered to translate my thoughts into B.Indo (sorry if that makes this hard to understand): WEB SCRAPING 1: Import libraries like any good coding we import libraries otherwise the code is doomed from the start. We wouldn't want that now would we. (some more will be added later) 2: uhh.. oh right reviews so we find a website, then we can take the reviews from that website(yayy) and you can find the reviews of any website im pretty sure at least. Also use any language you want. Today we got spotify, and uhh thats pretty much all i have to say here. sleep_milliseconds is just rest period in between reviews. i aint givin no breaks. 3: display explains itself doesn't it... added the example for good measure 4: CSV saving we save it into a CSV so we can like.. save the data that we scraped. It saves into the google colab files section so if you wwanna put the file into your files, then there's an extra s...
Posts
Regression in Python Data Science
- Get link
- X
- Other Apps
Regression in Python Data Science Kita sudah mempelajari Inspect dataset yaitu inspect data yang kita sudah import. Setelah data kita sudah di inspect kita bisa dibaca. Untuk blog ini kita akan menggunakan regression. Regression digunakan untuk meramalkan atau memprediksikan hasil dari beberapa attribute data yang kita menggunakan. Di blog ini kita akan menggunakan Linear Regression saja. 1. Import data/libraries Pertama kita harus mengimport data kita yang bisa dibuat sendiri atau ketemu di internet. Kita akan menggunakan data dari kaggle. setelah memasukan data ke dalam coding, kita mengimport libraries kita. Libraries adalah extensi untuk python. Libraries yang kita akan menggunakan adalah seperti yang di bawah (beberapa kebawa dari coding sebelumnya) :3 2. Linear Regression Cara menggunakan Linear Regression bisa dilihat dengan coding berikut: ...