Skip to content

Instantly share code, notes, and snippets.

@qazizia
qazizia / Expert_System_Song_Recommender.pl
Created December 30, 2022 10:19
Expert_System_Song_Recommender
% is used to add comments in code in prolog language
suggest(S) :- write('What is your personality type?: '),read(P),write('How is your mood?: '),read(M), song(S,_,M,P).
%Happy_Mood
song('https://www.youtube.com/watch?v=c8YIlU_30Kk',jazz,M,P):- M = happy ,(P= (entj) ; P=(enfj) ; P=(enfp)),!.
song('https://www.youtube.com/watch?v=SsZRci3sA4I',classical,M,P):- M = happy ,(P= (entj) ; P=(intj) ; P=(entp) ; P=(infj)),!.
song('https://www.youtube.com/watch?v=XYk2kt8K6E0',electronica,M,P):- M = happy ,(P= (entj) ; P=(estp) ; P=(enfp)),!.
song('https://www.youtube.com/watch?v=VguED7BfpgU',metal,M,P):- M = happy ,(P= (intj) ; P=(istp) ; P=(intp) ; P=(estp)),!.
song('https://www.youtube.com/watch?v=5f-wQBh-zbQ',alternative_rock,M,P):- M = happy ,(P= (intj) ; P=(entp) ; P=(infj) ; P=(infp) ; P=(istj) ; P=(isfj) ; P=(istp)),!.
song('https://www.youtube.com/watch?v=lPIiB02uqXM',rock,M,P):- M = happy ,(P= (entp) ; P=(intp) ; P=(infp) ; P=(istj) ; P=(isfj)),!.
@qazizia
qazizia / whisperchatgptvoicetotext.ipynb
Created December 28, 2022 15:26
WhisperChatGPTVoicetoTEXT.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / intro2ml_linearmodel.ipynb
Created December 24, 2022 17:16
Intro2ML_LinearModel.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / lab_csp_examples.ipynb
Created December 10, 2022 17:45
LAB_csp_examples.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / particle_swarm_o.ipynb
Created December 6, 2022 19:49
Particle_Swarm_O.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / ga_lab_activity_maxone_problem.ipynb
Last active December 6, 2022 18:45
ga_lab_activity_maxone_problem.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / hillclimbing_search.ipynb
Created December 1, 2022 11:15
HillClimbing_search.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / csp_examples.ipynb
Created November 27, 2022 17:06
CSP_Examples.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / astar_search.ipynb
Created October 31, 2022 16:02
Astar_search.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qazizia
qazizia / id_dfs.ipynb
Created October 26, 2022 10:06
ID_DFS.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.