Skip to content

Commit 20def43

Browse files
Update README.md
1 parent 2b2fc4a commit 20def43

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

README.md

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,22 @@ Data-driven computational mechanics, Modelfree method, Nonparametric method, Che
1919
## How to use the code?
2020
1. Clone this repository
2121
2. For **Kernal Regression** :
22-
1. Enter the `Kernal Regression` directory
23-
2. Run `cross_valid.m`
24-
3. Run `truss_analysis.m`
22+
1. Enter the `Kernal Regression` directory.
23+
2. Run `cross_valid.m`.
24+
3. Run `truss_analysis.m`.
2525
3. For **Chebyshev Approximation** :
2626
1. Install Chebfun library
27-
1. Install from [the official website](http://www.chebfun.org/download/).
28-
(or)
29-
In
30-
31-
32-
### For running**Kernal Regression**
33-
* Run `all.py` [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/blob/master/all.py)
34-
### For **Deep Neural Network (100 iterations)**
35-
* Run `dnn1.py` for 1-hidden layer network and run `dnn1acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn)
36-
* Run `dnn2.py` for 2-hidden layer network and run `dnn2acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn)
37-
* Run `dnn3.py` for 3-hidden layer network and run `dnn3acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn)
38-
* Run `dnn4.py` for 4-hidden layer network and run `dnn4acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn)
39-
* Run `dnn5.py` for 5-hidden layer network and run `dnn5acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn)
40-
41-
### For **Deep Neural Network (1000 iterations)**
42-
* Run `dnn1.py` for 1-hidden layer network and run `dnn1acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn1000)
43-
* Run `dnn2.py` for 2-hidden layer network and run `dnn2acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn1000)
44-
* Run `dnn3.py` for 3-hidden layer network and run `dnn3acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn1000)
45-
* Run `dnn4.py` for 4-hidden layer network and run `dnn4acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn1000)
46-
* Run `dnn5.py` for 5-hidden layer network and run `dnn5acc.py` for finding it's accuracy. [[Link]](https://github.com/rahulvigneswaran/Intrusion-Detection-Systems/tree/master/dnn1000)
47-
48-
27+
1. Install from [the official website](http://www.chebfun.org/download/) (or) use the library included in this repository. (Open a issue if you have trouble with this part)
28+
2. Enter the `Chebyshev Approximation` directory.
29+
3. Run `truss_analysis.m`.
30+
4. For **Polynomial Fitting 8 degree** :
31+
1. Enter the `Polynomial Fitting 8 degree` directory.
32+
2. Run `truss_analysis.m`.
33+
3. To change the degree of the polynomial fit, open `truss_analysis.m` and follow the instructions given in the comments.
34+
5. For **Single Layered Neural Network** :
35+
1. Enter the `Single Layered Neural Network` directory.
36+
2. Run `truss_analysis.m`.
37+
3. To change the architecture of the Neural Network, edit the file `NN_5.m` and replace it with your architecture in a similar format as given in it by default.
4938

5039
## Recommended Citation :
5140
If you use this repository in your research, cite the the following papers :

0 commit comments

Comments
 (0)