Fuzzy-AHP-based secondary school recommender system, developed with ASP.NET Core.
384
Kon School? (Bengali: কোন স্কুল?, meaning "Which school?") is a recommendation system that gives secondary schools personalized compatibility scores based on user's preferences.
After getting the inputs, the system
For more details on calculation of weights from fuzzy inputs, please check the docs.
The dataset on schools that is used for this system was compiled from several datasets that were originally collected from Bangladesh Open Data. It contains the data on 14,274 schools across the country. The SQLite database can be found here. You can also use API endpoints to access the data (view the REST API section below for further instructions).
The collection of data and its preprocessing is discussed in the docs.
There are two ways.
If you have .NET Core SDK (v2.1) installed, you can run the application directly from the source:
git clone https://github.com/maacpiash/KonSchool
dotnet run --project KonSchool/src/KonSchool.csproj
Now, navigate to either http://localhost:5000 or https://localhost:5001.
I recommend this method over the next one. You can download .NET Core SDK from Microsoft.
If you do not have Docker installed, please follow the official documentation.
For the first time, you may run the following command, which would download the docker image from Docker Hub, create a container from the image and start the container:
docker run -it -p 5000:80 --name konschool maacpiash/konschool
Now the application can be accessed via http://localhost:5000. Omit the -it part from the command if you want to keep it running in the background.
From then on, every time you need to use the app, run the following command to start the container that was built the first time:
docker container start -i konschool
The app can now be accessed from http://localhost:5000. Omit the -i part from the command if you want to keep it running in the background.
To stop the container running in the foreground, press Ctrl + C. If you started the container in the background (as a Windows service or a daemon on Unix/Linux), run the following command to stop the container:
docker container stop konschool
In addition to the server-side-rendered pages, there are two RESTful API endpoints:
/api/fahpThis endpoint can be used to get results of 6 criteria by providing 5 integers (between -9 and 9, inclusive).
Examples:
/api/fahp/0,0,0,0,0 would return equal weights for 6 criteria (0.166...)./api/fahp/1,2,3,4,5 would return 6 weights that are exponentially increasing./api/fahp/-5,-4,-3,-2,-1 would return 6 weights that are exponentially decreasing.For detailed information regarding the integer values, please check the docs.
/api/schoolsThis endpoint can be used to access data of schools. Schools can be queried about by EIIN, divisions or districts.
Examples:
/api/schools would return the data of all the schools./api/schools/div/RAJSHAHI would return the data of all the schools inside the division of Rajshahi./api/schools/dis/BOGRA would return the data of all the schools inside the district of Bogra./api/schools/100005 would return the data of the school with EIIN 100005.All these endpoints return response in standard JSON format.
I am very grateful to Dr. Rashedur M. Rahman (NSU ECE, Google Scholar), Professor at Department of Electrical and Computer Engineering, North South University; and our honorable instructor of the Fuzzy Logic course (CSE470). He mentored my group on this project and made sure our research work got published in Springer and presented at a prestigeous conference.
I would also like to thank my groupmates — N.S.M. Rezaur Rahman, for the development of the mathematical model; and Abdullah-Al Nahian Siraj, for his cooperation with finding related research paper.
This project is under GNU Affero General Public License v3. Please read the contribution guideline in advance.
Content type
Image
Digest
Size
99.7 MB
Last updated
almost 7 years ago
docker pull maacpiash/konschool