Skip to content

Commit 05b9b02

Browse files
authored
Merge pull request #896 from amirfeqhi/development
added getData method
2 parents 65cc109 + aba4b26 commit 05b9b02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/NeuralNetwork/NeuralNetworkData.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,16 @@ class NeuralNetworkData {
955955

956956
return parentCopy;
957957
}
958+
959+
/**
960+
* getData
961+
* return data object's raw array
962+
* to make getting raw data easier
963+
*/
964+
getData() {
965+
const rawArray = this.data.raw;
966+
return rawArray;
967+
}
958968
}
959969

960970
export default NeuralNetworkData;

0 commit comments

Comments
 (0)