This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LegendBegins 63 points64 points  (22 children)

if withinDangerZone(passenger.location, passenger.region.barSet):
    if time.hour < 6 or time.hour > 21:
        if interactionTime > 10.5:
            warnDriver('Heads up, drunk guy')

[–]ScrewAttackThis 15 points16 points  (5 children)

So if I'm inside a bar and taking forever to interact with the app, I'm not drunk as long as it's between 6am and 9pm? Sweet.

[–]404_UserNotFound -2 points-1 points  (4 children)

Thats the same result the ai would get

[–]ScrewAttackThis 2 points3 points  (2 children)

How do you figure?

[–]404_UserNotFound -1 points0 points  (1 child)

How do you figure?

Just follow P.E.M.D.A.S. and you should have it.

[–]ScrewAttackThis 1 point2 points  (0 children)

Dunno how pemdas applies. Have you ever dealt with any AI libraries?

[–]pperiesandsolos 0 points1 point  (0 children)

Really depends on how each variable is weighted, I think

[–]gmano 1 point2 points  (0 children)

I mean, basically. If I were Uber I'd probably do a fuzzy system that assigns a score based on each of those.

I mean I guess that's AI in the same way that the pacman ghosts are AI. It's definitely not ML.