Экспертная система прогнозирования успеваемости студентов в ВУЗах

Дипломная работа - Компьютеры, программирование

Другие дипломы по предмету Компьютеры, программирование

p>study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==2,PS=1,P is 3.

study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==2,PS=2,P is 3.

study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==2,PS=3,P is 3.

study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==3,PS=1,P is 3.

study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==3,PS=2,P is 3.

study5(PSL,PSP,PSB,PL,PP,PS,P):-study4(PSL,PSP,PSB,PS),PL==3,PP==3,PS=3,P is 3.

study6(YHB,YHY,YH):-YHB==3,YHY==Yes,YH is 3.

study6(YHB,YHY,YH):-YHB==3,YHY==No,YH is 3.

study6(YHB,YHY,YH):-YHB==4,YHY==Yes,YH is 4.

study6(YHB,YHY,YH):-YHB==4,YHY==No,YH is 3.

study6(YHB,YHY,YH):-YHB==5,YHY==Yes,YH is 5.

study6(YHB,YHY,YH):-YHB==5,YHY==No,YH is 5.

study7(YTB,YTS,YT):-YTB==3,YTS==Yes,YT is 3.

study7(YTB,YTS,YT):-YTB==3,YTS==No,YT is 4.

study7(YTB,YTS,YT):-YTB==4,YTS==Yes,YT is 3.

study7(YTB,YTS,YT):-YTB==4,YTS==No,YT is 5.

study7(YTB,YTS,YT):-YTB==5,YTS==Yes,YT is 5.

study7(YTB,YTS,YT):-YTB==5,YTS==No,YT is 5.

study8(YSB,YSS,YS):-YSB==3,YSS==Yes,YS is 3.

study8(YSB,YSS,YS):-YSB==3,YSS==No,YS is 3.

study8(YSB,YSS,YS):-YSB==4,YSS==Yes,YS is 4.

study8(YSB,YSS,YS):-YSB==4,YSS==No,YS is 4.

study8(YSB,YSS,YS):-YSB==5,YSS==Yes,YS is 5.

study8(YSB,YSS,YS):-YSB==5,YSS==No,YS is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=3,YT=3,Y is 3.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=3,YT=4,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=3,YT=5,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=4,YT=3,Y is 3.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=4,YT=4,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=4,YT=5,Y is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=5,YT=3,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=5,YT=4,Y is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==1,YH=5,YT=5,Y is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=3,YT=3,Y is 3.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=3,YT=4,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=3,YT=5,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=4,YT=3,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=4,YT=4,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=4,YT=5,Y is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=5,YT=3,Y is 4.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),KYRS==2,YS=5,YT=4,Y is 5.

study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y):-study6(YHB,YHY,YH),study7(YTB,YTS,YT),study8(YSB,YSS,YS),K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!.

study10(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y,PSL,PSP,PSB,PL,PP,PS,P,LSR,LSS,LIO,LIK,LS,LI,LP,L,B):-study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y),study5(PSL,PSP,PSB,PL,PP,PS,P),study3(LSR,LSS,LIO,LIK,LS,LI,LP,L),Y=5,P=2,L=0,B is 5,!.

study10(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y,PSL,PSP,PSB,PL,PP,PS,P,LSR,LSS,LIO,LIK,LS,LI,LP,L,B):-study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y),study5(PSL,PSP,PSB,PL,PP,PS,P),study3(LSR,LSS,LIO,LIK,LS,LI,LP,L),Y=5,P=2,L=1,B is 5,!.

study10(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y,PSL,PSP,PSB,PL,PP,PS,P,LSR,LSS,LIO,LIK,LS,LI,LP,L,B):-study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y),study5(PSL,PSP,PSB,PL,PP,PS,P),study3(LSR,LSS,LIO,LIK,LS,LI,LP,L),Y=5,P=3,L=0,B is 5,!.

study10(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y,PSL,PSP,PSB,PL,PP,PS,P,LSR,LSS,LIO,LIK,LS,LI,LP,L,B):-study9(YHB,YHY,YTB,YTS,YSB,YSS,KYRS,YH,YT,YS,Y),study5(PSL,PSP,PSB,PL,PP,PS,P),study3(LSR,LSS,LIO,LIK,LS,LI,LP,L),Y=5,P=3,L=1,B is 5,!.

%Основная программа определения оценки

ask_name :-

ask_name(You well communicate in group?(Yes or No), name, LIO),

ask_name(You well communicate with class leader?(Yes or No), name, LIK),

ask_name(Your parents approve Your choice?(Yes or No), name, LSR),

ask_name(You like Your profession?(Yes or No), name, LSS),

ask_name(You Live you in dormitory?(Yes or No), name, LP),

ask_name(How much hours a day You spend on preparation to lecture(1,2,3)?, name, PSL),

ask_name(How much hours a day You spend on performing the laboratory work(1,2,3)?, name, PSP),

ask_name(How many times at month you visit the library(1,2,3)?, name, PSB),

ask_name(Value on 100-ballet to system Your visit lecture?(0-30(1),30-60(2),60-100(3))&