Spaces:
Build error
Build error
Merge branch 'master' of https://github.com/pkiage/tool-credit-risk-modelling
Browse files
LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2022 Paul Kiage
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
README.md
CHANGED
@@ -4,10 +4,36 @@
|
|
4 |
|
5 |
An interactive tool demonstrating credit risk modelling.
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
## Built With
|
8 |
|
9 |
- [Streamlit](https://streamlit.io/)
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
# References
|
12 |
|
13 |
## Inspiration:
|
@@ -31,4 +57,14 @@ An interactive tool demonstrating credit risk modelling.
|
|
31 |
|
32 |
[LAYING DOWN HARMONISED RULES ON ARTIFICIAL INTELLIGENCE (ARTIFICIAL INTELLIGENCE ACT) AND AMENDING CERTAIN UNION LEGISLATIVE ACTS](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:52021PC0206&from=EN)
|
33 |
|
34 |
-
"(37) Another area in which the use of AI systems deserves special consideration is the access to and enjoyment of certain essential private and public services and benefits necessary for people to fully participate in society or to improve one’s standard of living. In particular, AI systems used to evaluate the credit score or creditworthiness of natural persons should be classified as high-risk AI systems, since they determine those persons’ access to financial resources or essential services such as housing, electricity, and telecommunication services. AI systems used for this purpose may lead to discrimination of persons or groups and perpetuate historical patterns of discrimination, for example based on racial or ethnic origins, disabilities, age, sexual orientation, or create new forms of discriminatory impacts. Considering the very limited scale of the impact and the available alternatives on the market, it is appropriate to exempt AI systems for the purpose of creditworthiness assessment and credit scoring when put into service by small-scale providers for their own use. Natural persons applying for or receiving public assistance benefits and services from public authorities are typically dependent on those benefits and services and in a vulnerable position in relation to the responsible authorities. If AI systems are used for determining whether such benefits and services should be denied, reduced, revoked or reclaimed by authorities, they may have a significant impact on persons’ livelihood and may infringe their fundamental rights, such as the right to social protection, non-discrimination, human dignity or an effective remedy. Those systems should therefore be classified as high-risk. Nonetheless, this Regulation should not hamper the development and use of innovative approaches in the public administration, which would stand to benefit from a wider use of compliant and safe AI systems, provided that those systems do not entail a high risk to legal and natural persons."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
An interactive tool demonstrating credit risk modelling.
|
6 |
|
7 |
+
Emphasis on:
|
8 |
+
* Building models
|
9 |
+
* Comparing techniques
|
10 |
+
* Interpretating results
|
11 |
+
|
12 |
## Built With
|
13 |
|
14 |
- [Streamlit](https://streamlit.io/)
|
15 |
|
16 |
+
# Roadmap
|
17 |
+
Models:
|
18 |
+
- [ ] Add LightGBM
|
19 |
+
- [ ] Add Adabost
|
20 |
+
- [ ] Add Random Forest
|
21 |
+
|
22 |
+
Visualization:
|
23 |
+
- [ ] Add decision surface plot(s)
|
24 |
+
|
25 |
+
Documentation:
|
26 |
+
- [ ] Add getting started and usage documentation
|
27 |
+
- [ ] Add documentation evaluating models
|
28 |
+
- [ ] Add design rationale(s)
|
29 |
+
|
30 |
+
Other:
|
31 |
+
- [ ] Deploy app
|
32 |
+
- [ ] Add csv file data input
|
33 |
+
- [ ] Add tests
|
34 |
+
- [ ] Add test/code coverage badge
|
35 |
+
- [ ] Add continuous integration badge
|
36 |
+
|
37 |
# References
|
38 |
|
39 |
## Inspiration:
|
|
|
57 |
|
58 |
[LAYING DOWN HARMONISED RULES ON ARTIFICIAL INTELLIGENCE (ARTIFICIAL INTELLIGENCE ACT) AND AMENDING CERTAIN UNION LEGISLATIVE ACTS](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:52021PC0206&from=EN)
|
59 |
|
60 |
+
> "(37) Another area in which the use of AI systems deserves special consideration is the access to and enjoyment of certain essential private and public services and benefits necessary for people to fully participate in society or to improve one’s standard of living. In particular, AI systems used to evaluate the credit score or creditworthiness of natural persons should be classified as high-risk AI systems, since they determine those persons’ access to financial resources or essential services such as housing, electricity, and telecommunication services. AI systems used for this purpose may lead to discrimination of persons or groups and perpetuate historical patterns of discrimination, for example based on racial or ethnic origins, disabilities, age, sexual orientation, or create new forms of discriminatory impacts. Considering the very limited scale of the impact and the available alternatives on the market, it is appropriate to exempt AI systems for the purpose of creditworthiness assessment and credit scoring when put into service by small-scale providers for their own use. Natural persons applying for or receiving public assistance benefits and services from public authorities are typically dependent on those benefits and services and in a vulnerable position in relation to the responsible authorities. If AI systems are used for determining whether such benefits and services should be denied, reduced, revoked or reclaimed by authorities, they may have a significant impact on persons’ livelihood and may infringe their fundamental rights, such as the right to social protection, non-discrimination, human dignity or an effective remedy. Those systems should therefore be classified as high-risk. Nonetheless, this Regulation should not hamper the development and use of innovative approaches in the public administration, which would stand to benefit from a wider use of compliant and safe AI systems, provided that those systems do not entail a high risk to legal and natural persons."
|
61 |
+
|
62 |
+
[Europe fit for the Digital Age: Commission proposes new rules and actions for excellence and trust in Artificial Intelligence](https://ec.europa.eu/commission/presscorner/detail/en/ip_21_1682)
|
63 |
+
> "High-risk AI systems will be subject to strict obligations before they can be put on the market:
|
64 |
+
>* Adequate risk assessment and mitigation systems;
|
65 |
+
>* High quality of the datasets feeding the system to minimise risks and discriminatory outcomes;
|
66 |
+
>* Logging of activity to ensure traceability of results;
|
67 |
+
>* Detailed documentation providing all information necessary on the system and its purpose for authorities to assess its compliance;
|
68 |
+
>* Clear and adequate information to the user;
|
69 |
+
>* Appropriate human oversight measures to minimise risk;
|
70 |
+
>* High level of robustness, security and accuracy."
|