Recently in the SAS Community Library: SAS' @Sundaresh1 highlights a sometimes overlooked task when applying document embeddings for purposes of similarity-based search. Normalisation of vectors helps obtain relevant matches.
Hi,
I would like to deduplicate the dataset 'have' with the constraint that for each 'group' there will be an observation for each 'id' and that across ids within 'group' all the 'x' values are different.
My dataset want should be like this:
group
id
x
a
2
1
a
3
2
a
4
3
b
2
1
b
3
3
b
4
4
b
5
2
I would appreciate very much a range of techniques.
thank you very much in advance
... View more
Hi All
I have searched and searched the web for answers, but am just not winning. I am reading a json file with unicode characters that are causing the error "Some code points did not transcode.". Some of the specific values are:
- \"
- \udigits
I have tried this: filename test '/filepath/filename.json' encoding='UTF-8'; libname data JSON fileref=test ordinalcount=ALL;
but I still get the same error. Any ideas please? Unfortunately I cannot attach the file as it contains sensitive data.
... View more
Dear all, I'm trying to assess model calibration using modified H–L χ2 statistic according to equation (3.2) or (3.50) written in the following reference: http://www.sciencedirect.com/science/article/pii/S0169716103230017 Now I 'm writing a sas macro to estimate the modified H–L statistic . And I want to check my sas code if there any other sas macros available or published. I would be very grateful if someone would give me information about this. Thanks in advance, Yasu
... View more
Hello,
I'd like to use the text topics object on VA interface. I have the text variable on my dataset, I can select that. I also have an ID column on my dataset, however, I cannot set that as the uniq identifier when trying to apply the text topics object because it says:
No data items in the active data can be set as unique row identifiers.
Here is the relevant SS.
What would be the reason for that and how could I solve this issue?
Regards!
... View more
Hello,
I am building models on VA interface. Is it possible to do a 80/20 train/test split in this interface? Or do I need to use SAS Studio or VDMML pipelines to do that split? Thank you!
... View more