Skip to content

Commit

Permalink
changed interaction and result
Browse files Browse the repository at this point in the history
  • Loading branch information
angelosalatino committed Dec 19, 2024
1 parent 8308f0d commit c3727df
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 88 deletions.
2 changes: 1 addition & 1 deletion CSO-Classifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"metadata": {},
"outputs": [],
"source": [
"cc = CSOClassifier(explanation=True)\n",
"cc = CSOClassifier(explanation=True, get_weights=True)\n",
"\n",
"result = cc.run(paper)"
]
Expand Down
2 changes: 1 addition & 1 deletion CSO-Classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# In[Run Classifier]


cc = CSOClassifier(explanation=True)
cc = CSOClassifier(explanation=True, get_weights=True)

result = cc.run(paper)

Expand Down
200 changes: 114 additions & 86 deletions output.json
Original file line number Diff line number Diff line change
@@ -1,76 +1,73 @@
{
"syntactic": [
"data mining",
"micro-blog",
"social networks",
"data privacy",
"sensitive informations",
"anonymity",
"real-world networks",
"anonymization",
"network topology",
"data privacy",
"social networks",
"privacy",
"twitter",
"real-world networks",
"graph theory",
"online social networks",
"privacy"
],
"semantic": [
"anonymity",
"data mining",
"micro-blog",
"privacy",
"social networks",
"data privacy",
"anonymity",
"sensitive informations"
],
"semantic": [
"anonymization",
"network topology",
"topology",
"data privacy",
"social networks",
"privacy",
"twitter",
"graph theory",
"online social networks",
"topology"
"anonymity",
"data mining",
"micro-blog"
],
"union": [
"data mining",
"micro-blog",
"privacy",
"social networks",
"data privacy",
"sensitive informations",
"anonymity",
"real-world networks",
"anonymization",
"network topology",
"topology",
"data privacy",
"social networks",
"privacy",
"twitter",
"real-world networks",
"graph theory",
"online social networks",
"topology"
"anonymity",
"data mining",
"micro-blog",
"sensitive informations"
],
"enhanced": [
"computer science",
"computer security",
"world wide web",
"access control",
"network security",
"authentication",
"complex networks",
"privacy preserving",
"computer networks",
"world wide web",
"computer security",
"social media",
"complex networks",
"theoretical computer science",
"online systems"
"online systems",
"authentication",
"network security",
"computer science",
"access control"
],
"explanation": {
"social networks": [
"social-network",
"real-world networks",
"social networks",
"social networking",
"microblogging service",
"twitter",
"real-world networks",
"social-network",
"online social networks",
"microblogging",
"social network",
"twitter graph",
"anonymous twitter"
"microblogging",
"social networking"
],
"online social networks": [
"online social networks",
Expand All @@ -87,95 +84,80 @@
],
"privacy": [
"anonymous",
"data privacy",
"anonymity",
"privacy",
"sensitive information"
"sensitive information",
"data privacy",
"privacy"
],
"anonymization": [
"anonymization"
],
"anonymity": [
"anonymity",
"anonymous"
"anonymous",
"anonymity"
],
"real-world networks": [
"real-world networks"
],
"twitter": [
"microblogging service",
"microblogging",
"twitter graph",
"anonymous twitter",
"microblogging",
"microblogging service",
"twitter"
],
"micro-blog": [
"microblogging service",
"microblogging",
"twitter graph",
"anonymous twitter",
"microblogging",
"microblogging service",
"twitter"
],
"network topology": [
"topology",
"network topology"
"network topology",
"topology"
],
"data privacy": [
"privacy",
"data privacy"
"data privacy",
"privacy"
],
"graph theory": [
"graph theory"
],
"topology": [
"topology",
"network topology"
"network topology",
"topology"
],
"computer science": [
"data mining",
"mining",
"data-mining"
"complex networks": [
"real-world networks"
],
"computer security": [
"anonymity",
"privacy",
"data privacy"
"privacy preserving": [
"anonymization"
],
"computer networks": [
"network topology",
"topology"
],
"world wide web": [
"real-world networks",
"social networks",
"twitter",
"social-network",
"online social networks",
"social networks",
"social network",
"microblogging",
"social networking"
],
"access control": [
"sensitive information"
],
"network security": [
"computer security": [
"anonymous",
"anonymity",
"sensitive information",
"anonymous"
],
"authentication": [
"anonymity",
"anonymous"
],
"privacy preserving": [
"anonymization"
],
"computer networks": [
"topology",
"network topology"
"data privacy",
"privacy"
],
"social media": [
"twitter",
"microblogging service",
"microblogging",
"twitter graph",
"anonymous twitter"
],
"complex networks": [
"real-world networks"
"twitter"
],
"theoretical computer science": [
"graph theory"
Expand All @@ -184,6 +166,52 @@
"online social networks",
"social networks",
"social network"
],
"authentication": [
"anonymous",
"anonymity"
],
"network security": [
"anonymous",
"anonymity",
"sensitive information"
],
"computer science": [
"data mining",
"mining",
"data-mining"
],
"access control": [
"sensitive information"
]
},
"syntactic_weights": {
"social networks": 1.0,
"online social networks": 1.0,
"sensitive informations": 0.9545454545454546,
"data mining": 1.0,
"privacy": 1.0,
"anonymization": 1.0,
"anonymity": 1.0,
"real-world networks": 1.0,
"twitter": 1.0,
"micro-blog": 1.0,
"network topology": 1.0,
"data privacy": 1.0,
"graph theory": 1.0
},
"semantic_weights": {
"social networks": 1.0,
"online social networks": 1.0,
"data mining": 1.0,
"privacy": 1.0,
"data privacy": 1.0,
"anonymization": 1.0,
"anonymity": 1.0,
"twitter": 1.0,
"micro-blog": 1.0,
"topology": 1.0,
"network topology": 1.0,
"graph theory": 1.0
}
}

0 comments on commit c3727df

Please sign in to comment.