I made an AI to rate my AI projects.

So, the other day I was talking to my friend (Parth). We were brainstorming and suddenly he got an idea that “You should make an AI to rank…

I made an AI to rate my AI projects.

DALL-E 2

So, the other day I was talking to my friend (Parth). We were brainstorming and suddenly he got an idea that “You should make an AI to rank your AI projects” and here we are.

So, see basically I wont be ranking my AIs instead I will be ranking my medium articles. Cuz ranking code is easy when its just for some specific questions but when the questions are not constant the possibilities are infinite (literally) so it would need extreme computational power and time.

Lets get started:

So, I decided to use web scraping to get all the data from my articles. Lets do that first.

Lets start with the imports:

Lets get the link which we want to scrape:

Install chromium, its driver, and selenium:

Lets set the options to be headless:

Go to website and get results:

Set the driver:

Web-scraping a class and taking out its text:

The output

The titles of my articles are successfully scraped.

Now lets get the herf links of the titles so that our AI can acess it:

Now lets make an AI that can rate articles.

Lets first convert the data in to a dataframe:

Print the data:

Now lets install textblob:

Lets run the AI on the articles and rate them:

and its done!!!

Lets see the results. Ahh I am exited:

ahhhhhhhhhh paiiinnnn basically my AI doesn’t like my article. bruuuh it littreally gave me 0.0% in some cases🥲🥲🥲🥲🥲🥲🥲.

If you liked the article follow me on medium.

Here is the code:

Follow me on twitter for my day to day AIML updates:

Thanks for reading😁, See ya guys next week 👋🏼