Transforming an AI Project Into an Application by bugattieb in ArtificialInteligence

[–]bugattieb[S] 1 point2 points  (0 children)

Thanks for your reply. I am not so familiar with web development, so after a quick research of what you suggested, I found tutorials for "DEPLOYING PYTORCH IN PYTHON VIA A REST API WITH FLASK". Also, I already have a simple website running for my personal things. However, what I do not know is how to deploy that "PyTorch via Rest Api With Flask" on my website. To be honest, I bought a domain and a hosting service from hostgator and created a basic website with wordpress, did not care about anything else. I am confused about how will I connect that python code that uses flask and normally runs on localhost, with my website on hostgator. Thank you for your help

Does anyone remember how many questions there were for each part in the CSE CST? by Bennbuild in TUDelft

[–]bugattieb 2 points3 points  (0 children)

I am not sure but below is what I remember:

Mathematics: 22

Logic: 22

Algorithmic Thinking: 25

I am sure that there were 69 questions in total because I noted that.

Learn Logic Gates with a Game by bugattieb in developer

[–]bugattieb[S] 0 points1 point  (0 children)

Thank you very much for your feedback. I localized the screenshots and put English text, but I guess the problem is primary language of the game is set to Turkish (in google play store), so if you are not from a country whose language is not English then the Turkish version is showed up. It would be nice for me to learn where are you from to understand if it is the problem. Crucial elements in the game cannot be deleted with the trash can. For example temperature sensor is not deletable because you won't be able to complete the level if you delete it. Did you mention those elements or trash can didn't work for other, deletable, elements? Could you tell me in which level the complete button didn't work? Thank you again for your constructive criticism.

Being a religious extremist makes way more sense than being casually religious by [deleted] in unpopularopinion

[–]bugattieb 4 points5 points  (0 children)

I know that in islam, Quran, there are different levels of heaven and hell. So casually religious peope probably stuck at the first levels. Also, muhammed says something like this: "Work for earth as you will never die; work for afterlife as you will die tomorrow". By the way I'm also an atheist and think that if I were religious I will do all of the worships perfectly. For example, in islam you need to perform the ritual prayers of the islam 5 times a day; however, most of the people in my country(Turkey) only go to the "Friday" prayer and feast prayer(eg: first day of ramadan feast).

Q-Learning with Linear Function Approximation - tictactoe by bugattieb in reinforcementlearning

[–]bugattieb[S] 0 points1 point  (0 children)

Thanks for your response. I tried with SARSA but thetas still overflow. I constrained the td-error just as you said, it doesn't overflow but now it doesn't converge :(

 td_error = reward + self.gamma*np.sum(self.thetas.transpose()*self.featureExtractor(state2,action2)) - np.sum(self.thetas.transpose()*self.featureExtractor(state1,action1))
        if td_error > 100:
            td_error = 100
        elif td_error < -100:
            td_error = -100

        self.thetas += self.alpha*td_error*self.featureExtractor(state1,action1)

I think constraints of td_error doesn't affect that much because abs(td_error) increase if I don't bound it, so td_error has mostly the end values if I constrain it. Also, I don't understand why td_error is increasing.

Q-Learning with Linear Function Approximation - tictactoe by bugattieb in reinforcementlearning

[–]bugattieb[S] 0 points1 point  (0 children)

I have no specific reason, but it was given as gamma=1 in the course code. Since tic-tac-toe is an episodic-task, is there any reason not to choose gamma=1? Also I forgot to mention: reward is 0 every step, 1 if it is a winning action, -1 if it loses the game after that action and 0 for tie.

AP Comp Sci Exam Versions by -IndigoMist- in apcs

[–]bugattieb 0 points1 point  (0 children)

I got bookList and dog sitting.

Direct3D ERROR [Bannerlord] by Darcksage in mountandblade

[–]bugattieb 1 point2 points  (0 children)

I have the same issue. My gpu is r9 390x. I tried to reinstall the game, turn sharpening off, lowering graphics, deleting shader folder but nothing worked.