# Neural Network Normalization: Unsupported data rank

**URL:** <https://community.konduit.ai/t/neural-network-normalization-unsupported-data-rank/3060>\
**Category:** DL4J\
**Created:** [January 30, 2024, 11:54am UTC](https://community.konduit.ai/t/neural-network-normalization-unsupported-data-rank/3060 "2024-01-30T11:54:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlr](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jlr](https://community.konduit.ai/u/jlr)\
**Post date:** [January 30, 2024, 11:54am UTC](https://community.konduit.ai/t/neural-network-normalization-unsupported-data-rank/3060/1 "2024-01-30T11:54:03Z")

</div>

My NN implementation runs without normalization, but when I apply the NormalizerStandardize as follows I get the error  
java.lang.RuntimeException: Unsupported data rank  
I can’t figure out where this error is thrown, any help much appreciated

NormalizerStandardize normalizer = new NormalizerStandardize();  
DataSet dataSet = new DataSet(features,labels,null,null);  
normalizer.fit(dataSet);  
normalizer.transform(dataSet);

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 6, 2024, 12:52am UTC](https://community.konduit.ai/t/neural-network-normalization-unsupported-data-rank/3060/2 "2024-02-06T00:52:33Z")

</div>

@jiapei100 what shape is your data?
