Sponsored Content
Top Forums Shell Programming and Scripting Help with identify gradient and the coefficient of determination of a straight line Post 302895912 by perl_beginner on Thursday 3rd of April 2014 09:15:16 AM
Old 04-03-2014
Hi blakeoft,

Yup. You're right. I just wanna find the gradient of the best fit line. It might not necessary get exactly the same value as what I manual generated from microsoft excel.
As long as it able to generate the gradient of best fit line and R-square value are fine enough.

I have around 10k item wanna to calculate the gradient of best fit line and R-square value of each item.
I unable to manual do it one by one.
Thus hope that got other alternative way able to count it automatic.

Really thanks and appreciate your advice.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hardware Determination

Does anyone know an equiv of lscfg -vp for HP-UX? (2 Replies)
Discussion started by: sam_pointer
2 Replies

2. Programming

Telnet client IP determination

I have configured my firewall to allow only five remote IP's to connect to my server. Upon connection...i would like to automate the Xsession functions for authorized IP's. Mainly, $DISPLAY of the environment to the client. I understand that the "gethostbyaddr" function is capable of this.... (0 Replies)
Discussion started by: thomas.jones
0 Replies

3. UNIX for Dummies Questions & Answers

Identify duplicate words in a line using command

Hi, Let me explain the problem clearly: Let the entries in my file be: lion,tiger,bear apple,mango,orange,apple,grape unix,windows,solaris,windows,linux red,blue,green,yellow orange,maroon,pink,violet,orange,pink Can we detect the lines in which one of the words(separated by field... (8 Replies)
Discussion started by: srinivasan_85
8 Replies

4. UNIX for Dummies Questions & Answers

Need to identify the line containing @ in between the line of a file

Hi All, I have a huge unix flat file delimted by @ at the end of the line. I need to find out if there is any line/s containing @ in between the line so that I can remove that and put the file for processing. Thanks in advance for your help. (4 Replies)
Discussion started by: b.paramanatti
4 Replies

5. UNIX for Dummies Questions & Answers

mth code determination

FILE_DATE=`date +%Y%m%d` current mth code is 200808 How can i find the 56 mths back mth code. (1 Reply)
Discussion started by: dr46014
1 Replies

6. Shell Programming and Scripting

plotting a straight horizontal line

How can I plot a straight horizontal line using perl in unix solaris environment? Please suggest. Pooja (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies

7. Shell Programming and Scripting

correlation coefficient - Awk

Hi guys I have an input file with multiple columns and and rows. Is it possible to calculate correlation of certain value of certain No (For example x of S1 = 112) with all other values (for example start with x 112 corr a 3 of S1 = x-a 0.2 ) INPUT ******* No S1 S2 S3 S4 Sn a 3 ... (2 Replies)
Discussion started by: quincyjones
2 Replies

8. Shell Programming and Scripting

Determination n points between two coordinates

Hi guys. Can anyone tell me how to determine points between two coardinates. For example: Which type of command line gives me 50 points between (8, -5, 7) and (2, 6, 9) points Thanks (5 Replies)
Discussion started by: rpf
5 Replies

9. Shell Programming and Scripting

Regex to identify word in second position on a line

I am interested in finding a regex to find a word in second position on a line. The word in question is या I tried the following PERL EXPRESSION but it did not work: ] या or ^\W या But both gave Null results I am giving below a Sample file: देना या सौंपना=delegate तह जमना या... (8 Replies)
Discussion started by: gimley
8 Replies

10. Shell Programming and Scripting

awk to identify empty fields in line

I am trying to use awk to identify and print out records in fields that are empty along with which line they are in. I hope the awk below is close, it runs but nothing results. Thank you :). awk awk -F'\t' 'FNR==NR ~ /^*$/ { print "NR is empty" }' file file 123 GOOD ID 45... (3 Replies)
Discussion started by: cmccabe
3 Replies
MPSNNGradientFilterNode(3)				 MetalPerformanceShaders.framework				MPSNNGradientFilterNode(3)

NAME
MPSNNGradientFilterNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNFilterNode. Inherited by MPSCNNBatchNormalizationGradientNode, MPSCNNConvolutionGradientNode, MPSCNNCrossChannelNormalizationGradientNode, MPSCNNDropoutGradientNode, MPSCNNInstanceNormalizationGradientNode, MPSCNNLocalContrastNormalizationGradientNode, MPSCNNLogSoftMaxGradientNode, MPSCNNNeuronGradientNode, MPSCNNPoolingGradientNode, MPSCNNSoftMaxGradientNode, MPSCNNSpatialNormalizationGradientNode, MPSCNNUpsamplingBilinearGradientNode, MPSCNNUpsamplingNearestGradientNode, MPSNNArithmeticGradientNode, and MPSNNConcatenationGradientNode. Instance Methods (MPSNNGradientFilterNode *__nonnull) - gradientFilterWithSources: (NSArray< MPSNNGradientFilterNode * > *__nonnull) - gradientFiltersWithSources: (MPSNNGradientFilterNode *__nonnull) - gradientFilterWithSource: (NSArray< MPSNNGradientFilterNode * > *__nonnull) - gradientFiltersWithSource: Additional Inherited Members Detailed Description For each MPSNNFilterNode, there is a corresponding MPSNNGradientFilterNode used for training that back propagates image gradients to refine the various parameters in each node. Generally, it takes as input a gradient corresponding to the result image from the MPSNNFilterNode and returns a gradient image corresponding to the source image of the MPSNNFilterNode. In addition, there is generally a MPSNNState produced by the MPSNNFilterNode that is consumed by the MPSNNGradientNode and the MPSNNGradientNode generally needs to look at the MPSNNFilterNode source image. If you have a simple method to traverse your inference graph backwards, then -[MPSNNFilterNode gradientFilterWithSource:] is a simple way to construct these. Method Documentation - (NSArray <MPSNNGradientFilterNode*> * __nonnull) gradientFiltersWithSource: (MPSNNImageNode *__nonnull) gradientImage Return multiple gradient versions of the filter MPSNNFilters that consume multiple inputs generally result in multiple conjugate filters for the gradient computation at the end of training. For example, a single concatenation operation that concatenates multple images will result in an array of slice operators that carve out subsections of the input gradient image. Reimplemented from MPSNNFilterNode. - (NSArray <MPSNNGradientFilterNode*> * __nonnull) gradientFiltersWithSources: (NSArray< MPSNNImageNode * > *__nonnull) gradientImages Return multiple gradient versions of the filter MPSNNFilters that consume multiple inputs generally result in multiple conjugate filters for the gradient computation at the end of training. For example, a single concatenation operation that concatenates multple images will result in an array of slice operators that carve out subsections of the input gradient image. Reimplemented from MPSNNFilterNode. - (MPSNNGradientFilterNode*__nonnull) gradientFilterWithSource: (MPSNNImageNode *__nonnull) gradientImage Return the gradient (backwards) version of this filter. The backwards training version of the filter will be returned. The non-gradient image and state arguments for the filter are automatically obtained from the target. Parameters: gradientImage The gradient images corresponding with the resultImage of the target Reimplemented from MPSNNFilterNode. - (MPSNNGradientFilterNode*__nonnull) gradientFilterWithSources: (NSArray< MPSNNImageNode * > *__nonnull) gradientImages Return the gradient (backwards) version of this filter. The backwards training version of the filter will be returned. The non-gradient image and state arguments for the filter are automatically obtained from the target. Parameters: gradientImages The gradient images corresponding with the resultImage of the target Reimplemented from MPSNNFilterNode. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSNNGradientFilterNode(3)
All times are GMT -4. The time now is 05:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy