Here I document some issues for searching of which I spent more then 15 minutes
today I want to make a short notice on how to change default time zone in Acumatica.
In my case such need appeard when it was needed to modify default time zone of Acumatica that I've restored from database backup. In order to do this you'll need to go to screen that is named Site preferences. Id of that screen is sm200505. more
today I want to describe one behaviour of Acumatica processing screen.
So, once upon a time I created processing screen. Purpose of that screen was simple: take data from some external source and insert it into Acumatica.
As that processing screen worked fine, it was taken a decision to create automation schedule step that will make that screen to be executed by Acumatica automatically. And then following issue arised: also that screen worked great in manual mode, it didn't work at all in Automation schedule mode at all.
After long investigation I found the following:
Automation screens are executed from the user acount admin
Also admin should have access to … more
Here in Ukraine there is a joke: nothing spoils health of Ukrainian more then richness and welfare of his neighbor.
Also I often hear statement that helping others can transform your life to better. I've spent some time on finding the ways to help others. But helping not via giving money. As one man once said give somebody fish for two times and for third time that person will demand fish from you. So I wanted to be a person that can give fishing rod to people instead of just giving them fish.
As result I've decided to teach some close friends of mine programming. Well, it is not a surprise because I'm quite skillful in that area and what else can I teach? And you know, it changed my … more
today I want to add few more notes about measuring of quality of learning, but today about tasks of classification.
So, one of the ways can be measuring number of wrong answers. For example with usage of the following formula:
Imagine that your classification set has three possible labels: a (10 elements ), b ( 15 elements ), c ( 20 elements ). And let's say that your model wrongly classified 2 out of a, 3 out of b and 4 out of c. In that case following formula is applicable:
Historically it happend that in classification tasks it is common to maximaze function, while in regression learning vice versa.
Another common measurement of quality of classification is … more
Today I want to describe some ideas about measure quality of learning.
First of all I want to point areas where you can apply those measurements. It can be in three areas:
For setting funtional during learning
For picking hyperparameters
For evaluation of ready made model
Another way can be combination. You can measure quality during learning with one measurement, but final model you can analyze with other measurement.
So, let's start with most common formula: mean squared error:
In words it reads the following: difference between prognozed value and desired value, squared, summed and finally averaged.
MSE has following featues:
Easily minimizable … more
today I want to document simple but very useful feature if you work with multiple threads in Winforms application.
Quite often it happens that you execute in some paralel thread long running calculations and would like time from the time notify results to UI.
But if you try to do this then you'll get an error that will say to you that parallel thread doesn't have permissions to some control because it didn't create such a control. So, how then update UI?
The answer is simple, you should use method Invoke of the control. In that case everything inside of method Invoke will be executed from UI thread.
Needless to say that such approach is workable but to some degree … more
recently friend of mine gave me wonderful question:
In PXSelect command, I saw Search, Search2, Search3… keywords, please explain the difference.
Thats really good question which shows his attentiveness to details.
So, no let's go part by part.
First of all, Search statement can be applied to those kinds of attributes: PXSelector, PXDbScalar and PXDefault.
Also you can apply Search statement to cases when you updated something in cache of Acumatica and what to reopen that part. It can look like this:
or like this:
Don' … more
today I want to share some strange behaviour that I faced.
Recently I needed to switch from .Net core 1.1 web app to .Net core 2.0 app.
I found over internet that simplest way to achieve it will be just opening project in Visual Studio 2017 and VS will switch your project by itself. I decided to give to such attempt a try.
Initially all went fine. Visual Studio 2017 gave me very nice looking report which convinced me that life is easy and wonderful. Actually it said that project was switched to .Net core 2.0 with success.
Then I've tried to execute in package manager console Update-Database command. Unfortunately I've seen following error message:
An error occurred … more
today I want to share some knowledge about interesting feature of Acumatica: Approve and Reject actions in Purchase orders screen.
When I was asked how long it will take to modify behaviour of Approve and Reject actions, I've thought it will be easy task. Find appropriate Actions, overload then and enjoy life. But with those two actions life is more complicated.
After speaking with Acumatica support I've realized that those two actions are declared as Automation steps, so in order to work with those actions it will be needed to look into knowledge about Automation steps. The only memeber that has relation to those actions are type of EPApprovalAutomation.
So, in order … more
here I want to preserve for future usage my code which I've used to train model for one of Kagglecompetitions:
1 package org.deeplearning4j.examples.convolution;
3 import com.google.common.io.LittleEndianDataInputStream;
4 import org.deeplearning4j.api.storage.StatsStorage;
5 import org.deeplearning4j.datasets.iterator.BaseDatasetIterator;
6 import org.deeplearning4j.datasets.iterator.FloatsDataSetIterator;
7 import org.deeplearning4j.datasets.iterator.impl.ListDataSetIterator;
8 import org.deeplearning4j.datasets.iterator.impl.MnistDataSetIterator;
9 import org.deeplearning4j.eval.Evaluation;
10 import org.deeplearning4j.nn.api. … more