Archives

Archives / 2014 / November
  • Neural Networks teaching

    Hello everybody,

    today I watched vidoe of Dr. James McCaffrey about traing neural netwoks. 

    So, few interesting details, which was useful for me. 

    1. As usually it is more then enough one hidden layer. 

    2. Imagine, that you need to feed into your neural network some data. Let's say Age, income, sex, religion. For data normalization it is good to use not big numbers.

    For example for Income which is around 51000 it's good to give to network 5.1 and not 51000.

    For sex passing into NN it's good to use gues what? If you have an idea 0 and one, you are wrong. It's good to pass -1 and 1.

    And for classfication like if you have input for example 3 different categories, the best way to pass … more

  • RowDefaulting and copy/paste in Acumatica or copy paste mode in acumatica

    Hello everybody,

    recently I had the following situation. 

    According to business logic, I created RowDefaulting. And it worked great. Then business analyst decided to check copy/paste functionality of Acumatica, and you know what? He discovered that copy/paste is broken. After investigation I discovered that it was due to RowDefaulting event.  For me it meant the following, I need to turn off RowDefaulting after copy/paste. 

    After usage of reflector, I noticed interesting property  IsCopyPasteContext in the graph. 

    So I modified function RowDefaulting.

    private void RowDefaulting(PXGraph graph)

    {

          if( !graph.IsCopyPasteContext )

              {

                        //do some row … more

  • Custom Selector in Acumatica

    Greetings to everybody,

    today I want to document how to make selector in Acumatica. 

    I had the following use case:

    1. Acumatica dropdown, which can have three values ( for example a, b, c) .

    1.1 In case if user select option a, I need to show in PXSelector values from Table A with some filtering condition.

    1.2 In case if user select option b, I need to show in PXSelector values from Table  B with another filtering condition

    1.3 In case if user select option c, I need to show in PXSelector value from Table C with another filtering condition

    Due to the fact, that PXSelector can work only with one DAC, the only way to solve it was implementing custom selector which inherits from  … more