Skip to content

Commit 1f4fae3

Browse files
author
AdamMiltonBarker
committed
First structure commit
1 parent c0965ca commit 1f4fae3

File tree

26 files changed

+896
-1
lines changed

26 files changed

+896
-1
lines changed

CONTRIBUTING.md

+277
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,277 @@
1+
# Peter Moss COVID-19 AI Research Project
2+
## Contributing to the COVID-19 xDNN Classifiers
3+
4+
We encourage bug fixes and enhancements submitted by the community and there are a number of ways you can contribute towards this repository.
5+
6+
# Repository Issues
7+
8+
The first step is to head to our repository issues tab and decide how you would like to contribute.
9+
10+
![Repository Issues](Media/Images/repo-issues.png)
11+
12+
## Bug reports
13+
![Bug Reports](Media/Images/bug-report.png)
14+
15+
If you would like to contribute bug fixes or make the team aware of bugs you have identified in the project, please raise a **Bug report** issue in the [issues section](issues/new/choose) section. A template is provided that will allow you to provide your suggestions for your bug report / bug fix(es) which will be reviewed by the team who will communicate with you through your issue.
16+
17+
Bug fix issues are the first step to creating a pull request for bug fixes, once you have created your issue and it has been approved you can proceed with your bug fixes.
18+
19+
 
20+
21+
## Feature requests
22+
![Bug Reports](Media/Images/feature-request.png)
23+
24+
If you would like to suggest a new feature/ new features for this project, please raise a **Feature request** issue in the [issues section](issues/new/choose) section. A template is provided that will allow you to provide your suggestions for your feature request which will be reviewed by the team who will communicate through your issue.
25+
26+
 
27+
28+
## Feature proposals
29+
30+
If you would like to contribute new features to the project, please raise a **Feature proposal** issue in the [issues section](issues/new/choose) section. A template is provided that will allow you to provide your suggestions for your feature proposal which will be reviewed by the team who will communicate through your issue.
31+
32+
Feature proposals are the first step to creating a pull request for new features, once you have created your issue and it has been approved you can proceed with your feature proposal.
33+
34+
 
35+
36+
# Creating a fork of the repository
37+
38+
![Creating a fork of the repository](Media/Images/fork.png)
39+
If you are going to be contributing code or documentation to the repository you will need to make a fork of the current development branch. The current development branch will always be the highest branch or master. Once you have created a fork of the repository, you will be able to clone the repository to a location on your development machine using terminal and Git or Github Desktop if using Windows.
40+
41+
 
42+
43+
# Repository Structures
44+
45+
We have two main types of repository layouts: single projects and multiple project repositories.
46+
47+
In a multiple project repository the file structure for AI projects is as follows:
48+
49+
```
50+
- Project Root (Directory)
51+
- Project README (File)
52+
- Projects (Directory)
53+
- Project 1 (Directory)
54+
- Classes (Directory)
55+
- Helpers (File)
56+
- Data (File)
57+
- Model (File)
58+
- Documentation (Directory)
59+
- Installation
60+
- Logs (Directory)
61+
- Logfiles
62+
- Media
63+
- Images (Directory)
64+
- Videos (Directory)
65+
- Model
66+
- Model (File)
67+
- Weights (File)
68+
- Scripts
69+
- Installation (File)
70+
- Project README (File)
71+
- Project 2 (Directory)
72+
- Classes (Directory)
73+
- Helpers (File)
74+
- Data (File)
75+
- Model (File)
76+
- Documentation (Directory)
77+
- Installation
78+
- Logs (Directory)
79+
- Logfiles
80+
- Media
81+
- Images (Directory)
82+
- Videos (Directory)
83+
- Model
84+
- Model (File)
85+
- Weights (File)
86+
- Scripts
87+
- Installation (File)
88+
- Project README (File)
89+
```
90+
91+
In a single project repository the file structure for AI projects is as follows:
92+
93+
```
94+
- Project Root (Directory)
95+
- Classes (Directory)
96+
- Helpers (File)
97+
- Data (File)
98+
- Model (File)
99+
- Documentation (Directory)
100+
- Installation
101+
- Logs (Directory)
102+
- Logfiles
103+
- Media
104+
- Images (Directory)
105+
- Videos (Directory)
106+
- Model
107+
- Model (File)
108+
- Weights (File)
109+
- Scripts
110+
- Installation (File)
111+
- Project README (File)
112+
```
113+
114+
# Documentation
115+
All projects should have documentation, changes you make to the code in the repository or new projects that you make should also have documentation. In the structures above you can see the **Documentation** directories, and the **Installation** file. This installation file should contain a step by step guide to how to install your project, while directions of use will be a high level tutorial in your project README. If you are contributing an existing repository you will ensure that these documents are updated to reflect your changes.
116+
117+
# Installation Scripts
118+
You will notice the **Scripts** directory above, this is home to any scripts that make it easier for the end use to set up and / or use your project. By default every project must have an installation script when installations are required. If you are contributing an existing repository you will ensure that these scripts are updated to reflect your changes.
119+
120+
# Naming
121+
We use capital letters for our directory and file names (except images), we would like this to stay uniform across all of our projects. Please use descriptive but short names where possible, and make sure you do not use spaces in directory and file names.
122+
123+
# Attribution
124+
Whenever relevant you should add yourself to the contributors section of the READMEs. If you have a public profile on the Peter Moss COVID-19 AI Research website, you should use this in your link. Please see the contributing section of any of our READMEs for examples.
125+
126+
# .md Files
127+
Each .md file in the repository should use the same header. An example of this is as follows:
128+
129+
```
130+
# Peter Moss COVID-19 AI Research
131+
## COVID-19 xDNN Classifiers
132+
[![COVID-19 xDNN Classifiers](Media/Images/xDNN.png)](https://github.com/COVID-19-AI-Research-Project/xDNN)
133+
```
134+
135+
Each .md file in the repository should also use the same footer, with the excpetions of the contributors. If you contribute directly to the code or documentation you should update this area with your details.
136+
137+
```
138+
 
139+
140+
# Contributing
141+
142+
The Peter Moss Acute Myeloid & Lymphoblastic COVID-19 AI Research project encourages and welcomes code contributions, bug fixes and enhancements from the Github.
143+
144+
Please read the [CONTRIBUTING](../CONTRIBUTING.md "CONTRIBUTING") document for a full guide to forking our repositories and submitting your pull requests. You will also find information about our code of conduct on this page.
145+
146+
## Contributors
147+
148+
- [Adam Milton-Barker](https://www.leukemiaresearchassociation.ai.com/team/adam-milton-barker "Adam Milton-Barker") - [Peter Moss Leukemia AI Research](https://www.leukemiaresearchassociation.ai "Peter Moss Leukemia AI Research") Founder & Intel Software Innovator, Sabadell, Spain
149+
150+
 
151+
152+
# Versioning
153+
154+
We use SemVer for versioning. For the versions available, see [Releases](../releases "Releases").
155+
156+
 
157+
158+
# License
159+
160+
This project is licensed under the **MIT License** - see the [LICENSE](../LICENSE "LICENSE") file for details.
161+
162+
 
163+
164+
# Bugs/Issues
165+
166+
We use the [repo issues](issues "repo issues") to track bugs and general requests related to using this project. See [CONTRIBUTING](../CONTRIBUTING.md "CONTRIBUTING") for more info on how to submit bugs, feature requests and proposals.
167+
```
168+
169+
The project README contributors should contain a list of all contributors in the entire repository.
170+
171+
# Push changes to forked repository
172+
173+
![Push changes to forked repository](https://www.leukemiaresearchfoundation.ai/github/media/images/Contributing-Commit-Push.jpg)
174+
175+
When you have made your changes, you need to push them to your forked repository. This process requires a commit with a message about what your commit is, and then finally a push to the repository which will place your changes or created files to your forked repository.
176+
177+
Show the status of all changed/added files.
178+
179+
```
180+
git status
181+
```
182+
183+
You may want to do check the differences between changed files, you can do this using the following command.
184+
185+
```
186+
git diff
187+
```
188+
189+
Add all changes ready to commit. (You may not want to add all changed files, in this case please follow instructions to add single files to commit that you were shown using git status). To repeat, the following will add all changes shown by using git status to your commit.
190+
191+
```
192+
git add .
193+
```
194+
195+
Commit your changes.
196+
197+
```
198+
git commit -m "Your descriptive commit message"
199+
```
200+
201+
Push changes to your fork.
202+
203+
```
204+
git push
205+
```
206+
207+
You can also Github Desktop if on Windows as shown in the image above.
208+
209+
210+
 
211+
212+
# Pull requests
213+
214+
![Pull requests](https://www.leukemiaresearchfoundation.ai/github/media/images/Contributing-Pull-Requests.jpg)
215+
When you are satisfied with your changes you can submit a pull request that will request that your changes be pulled into the latest development branch.
216+
217+
## Pull Request Process
218+
219+
1. Ensure all documentation has been updated and matches the style of our repository layouts, including repository directory structures etc.
220+
2. Add new README.md files for new directories / __ init __.py files for empty directories.
221+
3. Ensure that your READMEs, documentation and code match the format/design of the rest of the repoistory.
222+
4. Include the project header banner on all documentation pages / READMEs.
223+
5. Incude the Contributing, Versioning, Licensing, Bugs/Issues information in all READMEs and documentation.
224+
6. Do not ever upload licensed software or images that you do not own the rights to.
225+
7. Submit your Pull Request with an accurate description of the changes you have made.
226+
8. Your Pull Request will be reviewed by the team.
227+
228+
 
229+
230+
# Code of conduct
231+
232+
Please note we have a code of conduct, please follow it in all your interactions with the project.
233+
234+
## Our Pledge
235+
236+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
237+
238+
## Our Standards
239+
240+
Examples of behavior that contributes to creating a positive environment include:
241+
242+
- Using welcoming and inclusive language
243+
- Being respectful of differing viewpoints and experiences
244+
- Gracefully accepting constructive criticism
245+
- Focusing on what is best for the community
246+
- Showing empathy towards other community members
247+
248+
Examples of unacceptable behavior by participants include:
249+
250+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
251+
- Trolling, insulting/derogatory comments, and personal or political attacks
252+
- Public or private harassment
253+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
254+
- Other conduct which could reasonably be considered inappropriate in a professional setting
255+
256+
## Our Responsibilities
257+
258+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
259+
260+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or
261+
permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
262+
263+
## Scope
264+
265+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
266+
267+
## Enforcement
268+
269+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at github@covid19airesearch.com All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
270+
271+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
272+
273+
 
274+
275+
# Attribution
276+
277+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org/version/1/4), version 1.4.

Logs/__init__.py

Whitespace-only changes.

Media/Images/bug-report.png

69.3 KB
Loading
497 KB
Loading

Media/Images/feature-request.png

71.8 KB
Loading

Media/Images/fork.png

109 KB
Loading

Media/Images/repo-issues.png

40.1 KB
Loading

Projects/Matlab/Classes/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Peter Moss COVID-19 AI Research Project
2+
## COVID-19 xDNN Matlab Classifier
3+
[![GeniSysAI Server](../../Media/Images/covid-19-ai-research-xdnn.png)](https://github.com/COVID-19-AI-Research-Project/xDNN)
4+
5+
 
6+
7+
# Table Of Contents
8+
9+
- [Introduction](#introduction)
10+
- [Required Hardware](#required-hardware)
11+
- [Prerequisites](#prerequisites)
12+
- [Installation](#installation)
13+
- [Contributing](#contributing)
14+
- [Contributors](#contributors)
15+
- [Versioning](#versioning)
16+
- [License](#license)
17+
- [Bugs/Issues](#bugs-issues)
18+
19+
 
20+
21+
# Introduction
22+
The following guide will take you through setting up and installing the [ COVID-19 xDNN Matlab Classifier](https://github.com/COVID-19-AI-Research-Project/xDNN/Projects/Matlab " COVID-19 xDNN Matlab Classifier").
23+
24+
 
25+
26+
# Required Hardware
27+
28+
 
29+
30+
# Prerequisites
31+
32+
 
33+
34+
# Installation
35+
36+
 
37+
38+
# Contributing
39+
40+
The Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research project encourages and welcomes code contributions, bug fixes and enhancements from the Github.
41+
42+
Please read the [CONTRIBUTING](../../CONTRIBUTING.md "CONTRIBUTING") document for a full guide to forking your repositories and submitting your pull requests. You will also find information about your code of conduct on this page.
43+
44+
## Contributors
45+
46+
- [Adam Milton-Barker](https://www.leukemiaresearchassociation.ai.com/team/adam-milton-barker "Adam Milton-Barker") - [Peter Moss Leukemia AI Research](https://www.leukemiaresearchassociation.ai "Peter Moss Leukemia AI Research") Founder & Intel Software Innovator, Sabadell, Spain
47+
48+
- [Aniruddh Sharma](https://www.leukemiaresearchassociation.ai/team/aniruddh-sharma "Aniruddh Sharma") - [Peter Moss Leukemia AI Research](https://www.leukemiaresearchassociation.ai "Peter Moss Leukemia AI Research") R&D Junior, Ahmedabad, Gujarat, India
49+
50+
- [Nitin Mane](https://www.leukemiaresearchassociation.ai/team/nitin-mane "Nitin Mane") - [Peter Moss Leukemia AI Research](https://www.leukemiaresearchassociation.ai "Peter Moss Leukemia AI Research") AI R&D, Aurangabad, India
51+
52+
 
53+
54+
# Versioning
55+
56+
You use SemVer for versioning. For the versions available, see [Releases](../../releases "Releases").
57+
58+
 
59+
60+
# License
61+
62+
This project is licensed under the **MIT License** - see the [LICENSE](../../LICENSE "LICENSE") file for details.
63+
64+
 
65+
66+
# Bugs/Issues
67+
68+
You use the [repo issues](../../issues "repo issues") to track bugs and general requests related to using this project. See [CONTRIBUTING](../../CONTRIBUTING.md "CONTRIBUTING") for more info on how to submit bugs, feature requests and proposals.

Projects/Matlab/Media/Images/__init__.py

Whitespace-only changes.

Projects/Matlab/Model/Data/0/__init__.py

Whitespace-only changes.

Projects/Matlab/Model/Data/1/__init__.py

Whitespace-only changes.

Projects/Matlab/Scripts/Installation/__init__.py

Whitespace-only changes.

Projects/Matlab/confs.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"xdnn": {
3+
"ip": "",
4+
"sever": {
5+
"port": 8181
6+
}
7+
},
8+
"model": {
9+
"data": {
10+
"positive": "Data/0",
11+
"negative": "Data/1",
12+
"threshold": 0.5
13+
}
14+
},
15+
"iotJumpWay": {
16+
"loc": 0,
17+
"zne": 0,
18+
"id": 0,
19+
"name": "",
20+
"mqtt": {
21+
"username": "",
22+
"password": ""
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)