@Avinash25 Algorithms don't have any way of taking into account that you personally may not be a partier. In this case, they simply identify the factors involved in the majority of cases where parties and resultant house trashings took place. Any company has the right to do such things, it isn't grounds for a lawsuit.
It's similar to car insurance companies charging higher premiums for clients who are in a high risk group for accidents, like young males. A 22 year old male may be a super careful driver, but he's still going to be charged the rate that the insurer uses for that demographic.
It is definitely frustrating for a responsible, non-partying guest to not be allowed to book, just because they fell into Airbnb's party algorithm identifier.
One thing you can do, if it works for you, is to book private room or private suite listings. It is the entire apartment or house bookings that fall under this algorithm.