Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Synthetic Dataset Generator for the Chinese Credit System in Rongcheng City
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sirajeddine Ben Zinab
Synthetic Dataset Generator for the Chinese Credit System in Rongcheng City
Commits
facc9d2f
Commit
facc9d2f
authored
2 years ago
by
benzinab
Browse files
Options
Downloads
Patches
Plain Diff
small classification fix
parent
9b2de212
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.py
+2
-2
2 additions, 2 deletions
init.py
with
2 additions
and
2 deletions
init.py
+
2
−
2
View file @
facc9d2f
...
@@ -21,7 +21,7 @@ classifications = {
...
@@ -21,7 +21,7 @@ classifications = {
"
A+
"
:
(
1001
,
1030
),
"
A+
"
:
(
1001
,
1030
),
"
A
"
:
(
1000
,
1000
),
"
A
"
:
(
1000
,
1000
),
"
A-
"
:
(
960
,
999
),
"
A-
"
:
(
960
,
999
),
"
B
"
:
(
959
,
850
),
"
B
"
:
(
850
,
959
),
"
C
"
:
(
600
,
849
),
"
C
"
:
(
600
,
849
),
"
D
"
:
(
0
,
599
),
"
D
"
:
(
0
,
599
),
}
}
...
@@ -60,4 +60,4 @@ citizens = generate_synthetic_data(10)
...
@@ -60,4 +60,4 @@ citizens = generate_synthetic_data(10)
# Print the list of citizens with their updated credit scores, applied actions, and classifications
# Print the list of citizens with their updated credit scores, applied actions, and classifications
for
citizen
in
citizens
:
for
citizen
in
citizens
:
print
(
citizen
[
"
credit_score
"
],
citizen
[
"
applied_ac
tion
s
"
],
citizen
[
"
classifica
tion
"
])
print
(
"
SCORE:
"
,
citizen
[
"
credit_score
"
],
"
| CLASS:
"
,
citizen
[
"
classifica
tion
"
],
"
| ACTIONS:
"
,
citizen
[
"
applied_ac
tion
s
"
])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment