1.Preparation for learning
1.1.Definition of learning themeName | Type | URL | JsonParam | Header/QueryParam |
---|---|---|---|---|
01105004 json yaml |
post | x-rapidapi-host x-rapidapi-key |
||
Add a new Machine Learning Theme. (language=0:English, 1:Japanese, 2:Other) (trainType=1:NaivebayesTextClassification, 2:LinearRegression, 3:LogisticRegression, 4:TimeSeriesAR, 5:TimeSeriesMA, 6:TimeSeriesARMA, 7:TimeSeriesARIMA) It is also possible to add the learning theme together with its item information. - For NaivebayesTextClassification: category is used, and multiple items can be saved in the same category. - For Linear Regression Prediction: at least two items are required. Put a numerical string in the trainText field, separated by spaces. The splitting count of every string should be identical. The numerical string in the last trainText field is the true value. - For Logistic Regression Classification: at least two items are required. The classification values are stored in the last trainText field, and they can be character strings. These numerical or character strings in the trainText field should be separated by spaces, with identical splitting counts. - For Time Series Prediction: only trainText is required. Put a numerical string in the trainText field, separated by spaces. If successful, please record the trainKey and resultKey. |
||||
01105005 json yaml |
put | x-rapidapi-host x-rapidapi-key |
||
Update the property information of a Learning Theme. (language=0:English, 1:Japanese, 2:Other) (trainType=1:NaivebayesTextClassification, 2:LinearRegression, 3:LogisticRegression, 4:TimeSeriesAR, 5:TimeSeriesMA, 6:TimeSeriesARMA, 7:TimeSeriesARIMA) It is also possible to update the learning theme together with its item information. - For NaivebayesTextClassification: category is required to be input here, and multiple items can be saved in the same category. - For Linear Regression Prediction: at least two items are required, put a numerical string in trainText which is separated with spaces. The splitting count of every string should be identical. The numerical string in the last trainText is the true value. - For Logistic Regression Classification: at least two items are required. The classification values are stored in the last trainText, and they can be character strings. These numerical strings or character strings in trainText are separated with spaces, and the splitting count of every string should be identical. - For Time Series Prediction: only a trainText is required. Put a numerical string in trainText which is separated with spaces. |
||||
01105003 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Retrieve the property information of a Learning Theme including the resultKey. |
||||
01105006 json yaml |
delete | x-rapidapi-host x-rapidapi-key |
||
Delete the Learning Theme. |
||||
01105007 json yaml |
put | x-rapidapi-host x-rapidapi-key |
||
Set the status of Learning Theme (StatusId=0:new; 1:validate; 2:logical deletion). Important: Please set [StatusId] to [1] in advance before calling the following Learning/Analyse/Prediction API. |
||||
1.2.Input of learning data
Name | Type | URL | JsonParam | Header/QueryParam |
---|---|---|---|---|
01106004 json yaml |
post |
x-rapidapi-host x-rapidapi-key |
||
Add new items to a specified Learning Theme. - For NaivebayesTextClassification: category is required to be input here, and multiple items can be saved in the same category. - For Linear Regression Prediction: at least two items are required. Put a numerical string in trainText which is separated by spaces, and the splitting count of every string is identical. The numerical string in the last trainText is the true value. - For Logistic Regression Classification: at least two items are required. The classification values are stored in the last trainText, and they can be character strings or numerical strings. These strings in trainText are separated by spaces, and the splitting count of every string is identical. - For Time Series Prediction: only a trainText is required. Put a numerical string in trainText which is separated by spaces. |
||||
01106005 json yaml |
put |
x-rapidapi-host x-rapidapi-key |
||
Update certain items of a specified Learning Theme. - For NaivebayesTextClassification: category is required to be input here, and multiple items can be saved in the same category. - For Linear Regression Prediction: at least two items are required. Put a numerical string in trainText that is separated by spaces. The splitting count of every string is identical. The numerical string in the last trainText is the true value. - For Logistic Regression Classification: at least two items are required. The classification values are stored in the last trainText, and they can be character strings. These numerical strings or character strings in trainText are separated by spaces, and the splitting count of every string is identical. - For Time Series Prediction: only a trainText is required. Put a numerical string in trainText that is separated by spaces. |
||||
01106001 json yaml |
get |
x-rapidapi-host x-rapidapi-key | ||
Get the items list of a specified Learning Theme. |
||||
01106002 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Retrieve the CSV file containing the items of a specified Learning Theme. |
||||
01106003 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Get an Item property of a specified Learning Theme. |
||||
01106006 json yaml |
delete |
x-rapidapi-host x-rapidapi-key |
||
Delete Items of a specified Learning Theme. Multiple itemNos can be inputed. |
||||
2.Learning process(Generate Classification/Prediction Model)
Name | Type | URL | JsonParam | Header/QueryParam |
---|---|---|---|---|
01105008 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate Naive Bayes Classifier Model based on the trainText (text datasets) inputted in the Learning item in advance. It may take some time depending on the amount of learning items. |
||||
01105010 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate a Linear Single or Multiple Regression Prediction Model according to the trainText (Space-separated numeric string datasets) which was inputted in the Learning item in advance. The returned result list will contain the Coefficient of Determination (Score) in the last row, which should be close to 1 for a satisfying prediction to be available. (learnCount: number of learning iterations; learnRate: learning increment rate; interval: the output interval of learning results) |
||||
01105012 json yaml |
post | x-rapidapi-host x-rapidapi-key |
||
Generate a Logistic Regression Classification Model based on the trainText (space-separated numerical string datasets) which was inputted in the Learning item in advance. The test data can be either the input JSON here or a part of the trainText (numerical datasets) of the Learning item with testPercent (test data ratio). In the returned result list, if the Score in the last row is close to 1, a satisfying calculation accuracy will be achieved. (testPercent: test data ratio in the input training data set; learnCount: learning times; learnRate: learning increment rate; interval: the output interval of the learning result) |
||||
01105014 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate an Autoregressive Prediction Model based on the trainText dataset which was previously inputted in the Learning item. If the Coefficient of determination (Score) in the last row of the returned result list is close to 1, a satisfying prediction will be available. (learnCount: the number of times learning is performed; learnRate: learning rate increment; interval: the output interval of learning results; pOrder: autoregressive times for learning) |
||||
01105016 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate a Moving Average Regression Prediction Model according to the trainText(a Space-separated numeric string dataset) which was inputted in the Learning item in advance. If the Coefficient of determination(Score) in the last row is close to 1, a satisfying prediction will be available in the returned result list. (learnCount: number of learning times; learnRate: learning increment rate; interval: the output interval of learning result; qOrder: Moving Average Regression times for Learning) |
||||
01105018 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate an Autoregressive Moving Average Prediction Model according to the trainText (a space-separated numeric string dataset) which is inputted in the Learning item in advance. In the returned result list, if the Coefficient of Determination (Score) in the last row is close to 1, a satisfying prediction will be available. (learnCount: learning times; learnRate: learning increment rate; interval: the output interval of learning result; pOrder: Autoregressive times for Learning; qOrder: Moving Average Regression times for Learning) |
||||
01105020 json yaml |
get | x-rapidapi-host x-rapidapi-key |
||
Generate an Autoregressive Integrated Moving Average (ARIMA) Prediction Model based on the trainText (a space-separated numeric string dataset) that is inputted in the Learning item in advance. If the Coefficient of Determination (Score) in the last row of the returned result list is close to 1, a satisfying prediction will be available. (learnCount: number of times to learn; learnRate: learning increment rate; interval: the output interval of learning results; pOrder: Autoregressive times for learning; dOrder: Number of differences to make the time series stationary; qOrder: Moving Average Regression times for learning) |
||||
3.Obtaining classification / prediction results
Name | Type | URL | JsonParam | Header/QueryParam |
---|---|---|---|---|
01105009 json yaml |
post |
x-rapidapi-host x-rapidapi-key |
||
Enter a text to get the analysis result of the Naive Bayes Classifier Model. The processing time may vary depending on the number of learning items. |
||||
01105011 json yaml |
post |
x-rapidapi-host x-rapidapi-key |
||
Input a numerical array to get the prediction result of Linear Regression. |
||||
01105013 json yaml |
post |
x-rapidapi-host x-rapidapi-key |
||
Enter a numerical array and the probability result of Logistic Regression Classification will be available. |
||||
01105015 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Autoregressive prediction processing is performed, and the prediction result will be available. (outStartNo: Start number of the returned prediction result; outEndNo: End number of the returned prediction result; cycleStartNo: Cycle start number in learning data; cyclePeriod: Cycle period in learning data) |
||||
01105017 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Moving Average Prediction processing has been performed, and the prediction result will be available. (outStartNo: Starting number of the returned prediction result; outEndNo: Ending number of the returned prediction result; cycleStartNo: Cycle Starting number in Learning data; cyclePeriod: Cycle period in Learning data) |
||||
01105019 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Autoregressive moving average prediction processing has been performed, and the prediction result will be available. (outStartNo: Start number of the returning prediction result; outEndNo: End number of the returning prediction result; cycleStartNo: Cycle Start number in Learning data; cyclePeriod: Cycle period in Learning data) |
||||
01105021 json yaml |
get |
x-rapidapi-host x-rapidapi-key |
||
Autoregressive integrated moving average prediction processing has been performed, and the prediction result is now available. (outStartNo: Start number of the returned prediction result; outEndNo: End number of the returned prediction result; cycleStartNo: Cycle start number in learning data; cyclePeriod: Cycle period in learning data) |
||||
Statistical tool
Name | Type | URL | JsonParam | Header/QueryParam |
---|---|---|---|---|
01301008 json yaml |
post | x-rapidapi-host x-rapidapi-key |
||
The results for mean, geometric mean, quadratic mean, median, mode, min, max, sum, count, variance, population variance, standard deviation, total deviation, total covariance, total correlation, deviation matrix, covariance matrix, Pearson's correlation matrix, Spearman's correlation matrix, and Kendall's correlation matrix will be available. In the case of Linear Regression learning, a correlation value greater than 0.7 between the predictor variable and the objective variable is recommended. |
||||
01301009 json yaml |
post | x-rapidapi-host x-rapidapi-key |
||
The following results will be returned: mean, geometric mean, quadratic mean, median, mode, minimum value, maximum value, sum, count, variance, population variance, standard deviation, logarithm, logarithmic difference, ratio, logit, moving average, moving median, white noise, n-order differences, autocovariance, autocorrelation, partial autocovariance, and partial autocorrelation. (moveInterval: Calculation period for moving average or moving median; convertMode: Conversion mode (0: original, 1: diff, 2: log, 3: logdiff, 4: ratio, 5: logit); smoothMode: Smoothing mode (0: none, 1: moving average, 2: moving median); diffOrder: Difference floors for calculation) |
||||