khabgahYar finds a dormitory with the help of machine learning in 4 steps:
-
- ask your city and how much money do you have .
-
- get datas from "divar.ir" and parse them (web scrapping).
-
- filter and add them to databse .
-
- use machine learning to find a suitable dormitory for you .
KhabgahYar uses a number of open source projects to work properly:
- [scikit-learn] - a free software machine learning library for the Python programming language.
- [Beautiful Soup] - a Python package for parsing HTML and XML documents .
- [Requests] - the only Non-GMO HTTP library for Python!
- [mysql] - MySQL is an open source relational database management system (RDBMS).
And of course KhabgahYar itself is open source with a public repository on GitHub.
KhabgahYar use Divar(a classified ads platform in Iran with more than 13 million active Installations in the year )
x = [(input1,input2,...)]
y = [(output1)]
clf = tree.DecisionTreeClassifier()
clf.fit(x, y)
answer = clf.predict([[new_input1, new_input2,...]])
Want to contribute? Great! Fork and make your changes in the source and instantaneously send your pull request!
Thanks to Jadi for helping me as a super professor in this project โค .