Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit f08d7bf

Browse files
SirSpideystevemart
authored andcommitted
Update the grammar and syntax and fix typos (#23)
cc @zmohammad01
1 parent 6ea81bf commit f08d7bf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/getdata.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
"import numpy as np\n",
3939
"from github import GithubException\n",
4040
"\n",
41-
"#create GitHub Personal access token here https://github.com/settings/tokens\n",
41+
"#Create a GitHub personal access token at https://github.com/settings/tokens\n",
4242
"login = 'YOURLOGIN'\n",
4343
"token = 'YOURTOKEN'\n",
4444
"\n",
4545
"g = github.Github(login, token)\n",
4646
"repos = []\n",
4747
"org = g.get_organization('IBM')\n",
4848
"\n",
49-
"#we are only going to look at code with the following extensions, trying changing for other\n",
50-
"#programming langauges and for binary classificition (2, not 8, classes)\n",
49+
"#We'll look at code only with the following extensions. You can try this with other\n",
50+
"#programming languages and for binary classification (2, not 8, classes).\n",
5151
"targetlangs = ['.go','.java','.js','.m','.py','.sh','.swift','.xml']\n",
5252
"\n",
53-
"#get the list of repos at https://github.com/IBM\n",
53+
"#Get the list of repos at https://github.com/IBM.\n",
5454
"for repo in g.get_organization('IBM').get_repos():\n",
5555
" repos.append(repo.name)"
5656
]
@@ -536,9 +536,9 @@
536536
"cell_type": "markdown",
537537
"metadata": {},
538538
"source": [
539-
"### Splitting the code into training/testing set.\n",
540-
"Here the length of the dataset and it contents can be seen.\n",
541-
"Pickle the training/testing sets for the next notebook (mine are included in the github)"
539+
"### Split the code into a training and a testing set.\n",
540+
"You can see the length of the dataset and its contents.\n",
541+
"Pickle the training and testing sets for the next notebook (mine are included in the github)"
542542
]
543543
},
544544
{

0 commit comments

Comments
 (0)