2 weeks ago
CraigDeVault
SAS Employee
Member since
01-24-2012
- 50 Posts
- 10 Likes Given
- 10 Solutions
- 9 Likes Received
-
Latest posts by CraigDeVault
Subject Views Posted 1037 07-23-2024 01:18 PM 868 02-16-2023 01:16 PM 1231 10-19-2022 05:12 PM 765 10-19-2022 04:51 PM 3024 02-04-2022 05:06 PM 879 12-09-2021 01:43 PM 706 06-08-2021 03:01 PM 1119 01-14-2021 03:43 PM 1058 11-13-2019 01:22 PM 2559 01-04-2019 05:17 PM -
Activity Feed for CraigDeVault
- Posted Re: SAS VTA 8.5: How to export "Text Parsing" node Kept terms list and Dropped Terms list on SAS Data Science. 07-23-2024 01:18 PM
- Liked Tip: How to collect troubleshooting information for SAS Visual Data Mining and Machine Learning for AnnKuo. 07-24-2023 12:20 PM
- Posted SAS Enterprise Miner 15.3 Java Score Generation returns ERROR: TScore Java code generation failed on SAS Communities Library. 02-16-2023 01:16 PM
- Liked How to determine a file's maximum record length for ChrisNZ. 02-15-2023 01:20 PM
- Liked LightGBM in SAS Model Studio for chmedi. 01-05-2023 12:55 PM
- Posted Re: SAS Enterprise Miner Import Multiple CSV Files on SAS Data Science. 10-19-2022 05:12 PM
- Posted Re: Why default setting model is scored best on SAS Data Science. 10-19-2022 04:51 PM
- Got a Like for Re: How to get a Classification Chart for the TEST SET (not just train and validation)?. 05-11-2022 08:50 PM
- Got a Like for Re: Mac SAS Enterprise Miner. 02-04-2022 05:08 PM
- Posted Re: Mac SAS Enterprise Miner on SAS Data Science. 02-04-2022 05:06 PM
- Got a Like for Re: Migration from ECC and Sentiment Analysis Studio To SAS Visual Text Analytics. 12-09-2021 05:31 PM
- Posted Re: Migration from ECC and Sentiment Analysis Studio To SAS Visual Text Analytics on SAS Data Science. 12-09-2021 01:43 PM
- Got a Like for Re: Error showing when first creating a project in SAS Enterprise Miner. 06-08-2021 03:18 PM
- Posted Re: Error showing when first creating a project in SAS Enterprise Miner on SAS Data Science. 06-08-2021 03:01 PM
- Posted Re: SAS Enterprise Miner on SAS Data Science. 01-14-2021 03:43 PM
- Posted Re: How do I create a decision tree (with leaves and ranches) from HP Forest results? on SAS Data Science. 11-13-2019 01:22 PM
- Posted Using your SAS Contextual Analysis project rules within SAS Visual Text Analytics on SAS Communities Library. 01-04-2019 05:17 PM
- Posted Re: SASITRM 3.9 on New SAS User. 11-19-2018 05:13 PM
- Liked Re: SAS Contextual Analysis & Terms for avp. 10-08-2018 03:34 PM
- Posted Re: SAS Text Miner error on SAS Data Science. 10-05-2018 02:03 PM
-
Posts I Liked
Subject Likes Author Latest Post 4 2 6 1 1 -
My Liked Posts
Subject Likes Posted 1 10-10-2017 04:10 PM 1 02-04-2022 05:06 PM 1 12-09-2021 01:43 PM 1 06-08-2021 03:01 PM 1 08-06-2018 04:35 PM -
My Library Contributions
Subject Likes Author Latest Post 2 4 2 0
07-23-2024
01:18 PM
I understand why you are asking for these tables. How important would this be for your using SAS Visual Text Analytics that this functionality be added to the web page so that you can save the dropped and kept terms list? Thanks.
... View more
02-16-2023
01:16 PM
2 Likes
Beginning in SAS Enterprise Miner 15.3, an underlying change occurred that affects the generation of the Java Score Code from the Score node. In SAS 9.4M8 (TS1M8), which is the underlying SAS version for SAS Enterprise Miner 15.3, the private Java Runtime Environment (JRE) that is shipped is Java 11. In previous versions, the SAS private JRE is Java 8. This update affects the Java Score Code generation because the required Java Runtime JAR file (rt.jar) does not exist anymore. Let's assume your project has a standard flow within a diagram as seen below:
If the JAR file is not updated, the results do not return two of the four expected Java score files even though the node indicates that it ran successfully:
In the log file, these error messages occur:
TScore NOTE: Start Java code generation ........
PATHJSCORECODE.sas 1: Could not load class java/lang/Object.
PATHJSCORECODE.sas 1: Could not load class java/lang/Object.
PATHJSCORECODE.sas 1: Could not load superclass java/lang/Object.
WARNING: Beginning in SAS Enterprise Miner 15.3, the Java score code generation utility requires that a jar file be manually installed. Please see documentation for instructions.
ERROR: TScore Java code generation failed.
*------------------------------------------------------------*
* Warning: A problem was encountered while generating the Java score code.
*------------------------------------------------------------*
To be able to generate Java Score code, you must create a new Java JAR file and modify a SAS Runtime environment variable (DTJ_CLASSPATH), which is defined in the SAS configuration file.
Note: Before completing these steps to address the problem, back up the SAS configuration file (sasv9.cfg).
Instructions for Microsoft Windows (x64)
To create the Java JAR file javabase.jar on a Windows x64 machine, complete these steps:
Download the JDK 11 package from jdk.java.net.
Unzip the file to your C: drive. For example, the unzipped file can be C:\jdk-11.
Open a DOS command prompt and set the JAVA_HOME environment variable with this command: set JAVA_HOME=C:\jdk-11
Update the path with this command: path=%JAVA_HOME%\bin;%path%
Create the temporary directory, C:\tempjar, and change directory to C:\tempjar.
Extract the Java base classes with this command: jmod.exe extract %JAVA_HOME%\jmods\java.base.jmod --dir C:\tempjar
Change directory to extracted classes with this command: cd C:\tempjar\classes
Create the Java JAR file javabase.jar with this command: jar.exe -cf javabase.jar *
To add the Java javabase.jar file to your SAS directory and update the SAS configuration file on a Windows system, complete these steps:
Copy the Java JAR file javabase.jar from C:\tempjar\classes to this directory: C:\Program Files\SASHome\SASFoundation\9.4\dmine\sasmisc
Locate the SAS configuration file: C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg
In the sasv9.cfg file, find the variable DTJ_CLASSPATH and append the javabase.jar file to it. For example, the modified line will be as follows:
-SET DTJ_CLASSPATH "C:\Program Files\SASHome\SASFoundation\9.4\dmine\sasmisc\dtj.jar;C:\Program Files\SASHome\SASFoundation\9.4\dmine\sasmisc\javabase.jar"
Instructions for Linux (x64)
To create the Java javabase.jar file on a Linux x64 machine, complete these steps:
Download the JDK 11 package from jdk.java.net.
In an Xterm, create the temporary directory /tmp/jdk with this command: mkdir /tmp/jdk
Move the downloaded openjdk-11+28_linux-x64_bin.tar.gz file to the /tmp/jdk directory.
Change directory to /tmp/jdk with this command: cd /tmp/jdk
Uncompress the file with this command: gunzip openjdk-11+28_linux-x64_bin.tar.gz
Extract the JDK files with this command: tar -xf openjdk-11+28_linux-x64_bin.tar
Set the JDK path with this command: export PATH=/tmp/jdk/jdk-11/bin:$PATH
Extract the Java base classes with this command: jmod extract /tmp/jdk/jdk-11/jmods/java.base.jmod --dir /tmp/jdk
Change directory to /tmp/jdk/classes with this command: cd /tmp/jdk/classes
Create the Java javabase.jar file with this command: jar -cf javabase.jar *
To add the Java javabase.jar file to the SAS directory and update the SAS configuration file on a Linux system, complete these steps:
Find the SASHome location and set the SASHome environment variable: export SASHome=/usr/local/SAS
Copy the Java javabase.jar file to the $SASHome/SASFoundation/9.4/misc/dmine directory.
Edit the SAS $SASHome/SASFoundation/9.4/sasv9.cfg configuration file by appending $SASHome/SASFoundation/9.4/misc/dmine/javabase.jar file to the variable DTJ_CLASSPATH. For example, the modified line that contains DTJ_CLASSPATH will be as follows: -SET DTJ_CLASSPATH "/usr/local/SAS/SASFoundation/9.4/misc/dmine/dtj.jar:/usr/local/SAS/SASFoundation/9.4/misc/dmine/javabase.jar"
Restart SAS Enterprise Miner and rerun the flow. If you encounter any issues, contact SAS Technical Support.
... View more
Labels:
10-19-2022
05:12 PM
The File Import node will only read in one CSV file at a time. You do not need to add a Save Data node as you can set the variable metadata settings within the File Import node. You can connect the File Import node to any other node in SAS Enterprise Miner. If you want to merge all the files and make them into single file then you can use Merge Node in SAS ® Enterprise Miner™ for this task. Here is an excerpt from the Merge Node chapter. Overview of the Merge Node Use the Merge node to merge observations from two or more data sets or more into a single observation in a new data set. The Merge node is part of the Utility group and can be found on the Utility tab of the Enterprise Miner graphical user interface. To access the chapter from within SAS Enterprise Miner, select Help -> Contents -> Node Reference -> Sample -> Merge Node. Another option would be to import multiple CSV files in a pre-processing data step outside of SAS Enterprise Miner. You can write your own data step code. One example of this is found in a SAS note at the following URL: https://support.sas.com/techsup/notes/v8/24/707.html
... View more
10-19-2022
04:51 PM
As mentioned, we need more details to help answer this question. As a best practice, I want to point you to a paper that hits on several data mining topics. It is several years old, but it is a fantastic paper to help in optimizing your data mining analysis. It is called Identifying and Overcoming Common Data Mining Mistakes. It is found at the following URL: https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/073-2007.pdf
... View more
02-04-2022
05:06 PM
1 Like
If Cynthia's steps above don't help you solve the issue, please go ahead and open up a track with SAS Tech Support at the following URL: https://support.sas.com/en/technical-support/submit-a-support-request.html
... View more
12-09-2021
01:43 PM
1 Like
There is a new utility that will take an Enterprise Content Categorization project and make it into a JSON file that can be read into a SAS Visual Text Analytics (VTA) project. Also, any JSON file out of SAS Contextual Analysis can be imported into VTA. This utility is in a SAS note found at the following URL: http://support.sas.com/kb/66522
... View more
06-08-2021
03:01 PM
1 Like
Vishnu, This error will take some more directed help. Please contact SAS Technical Support and open up a track with us. We will be happy to assist you in resolving this error message. You can open a track by following the steps at the following URL: https://support.sas.com/en/technical-support/contact-sas.html Thanks.
... View more
01-14-2021
03:43 PM
You need to be connected to a SAS Server, whether that local or in a client/server setup. In looking at the screen shots, you probably need to be connected to the workstation. When you create a project, are you seeing screen shots like these in the Create New Project section at the following URL: https://go.documentation.sas.com/?docsetId=emref&docsetTarget=n0zrueoh26rjv2n1nd23ssiiqh4p.htm&docsetVersion=15.2&locale=en#n10x2bczvhfglrn1ti14hanyp11c Or are you just seeing a 2 step new project wizard that is creating a project connected to your workstation where you have SAS 9.4 installed already.
... View more
11-13-2019
01:22 PM
There is not a way to have the HP Forest output create a representative tree. However, you can use the Variable Importance table to see what are the variables that are most used when creating all of the trees.
... View more
01-04-2019
05:17 PM
4 Likes
Customers who currently have SAS Contextual Analysis and have installed or will install SAS Visual Text Analytics will want to take the rules built in SAS Contextual Analysis (within that product or even previously imported from SAS Enterprise Content Categorization) and use those for analyzing their data to take full advantage of the power of SAS Visual Text Analytics. The best way to do this is to export the project rules from SAS Contextual Analysis as a .JSON file. This is a new feature in the SAS Visual Text Analytics 8.3. To do this, you need to use the following steps:
Open up the SAS Contextual Analysis project.
Click on the Export Project Settings button and save out the settings as a .JSON file.
The Export Project button is:
Save the JSON file from the Export Project window:
Open Model Studio.
Click on the 3 dots and choose Import -> Text Analytics
On the Import Text Analytics Project screen:
Specify the following:
JSON file from SAS Contextual Analysis
A Visual Text Analytics project name
Language for the analysis
Data source for the analysis
Open the imported project.
Set a text variable which will be parsed.
Click on the Pipelines tab.
Right-click on the Categories node and Select Run.
You can see that the flow runs successfully.
... View more
11-19-2018
05:13 PM
The quickest way to have some of the SAS specialists for SAS ITRM 3.9 to help you with getting some samples to bring z/OS SMF data to be in SASITRM 3.9 Linux machine will be to go ahead and open up a track with SAS Technical Support. You can go create a track by filling out the information at the following URL:
https://support.sas.com/ctx/supportform/createForm
Thanks.
... View more
10-05-2018
02:03 PM
The typical cause for this error message is that all the SAS Foundation pieces required for SAS Text Miner may not have been installed correctly.
The best way to address this issue is to do the following:
Launch the SAS Deployment Wizard (right-click on setup.exe and choose Run as administrator) from within your SAS Software Depot and then take the following selections: 1. Choose the Language to be English (or your appropriate language) 2. Install SAS Software 3. Install SAS Foundation and Related Software 4. On the Choose Products to Install pane: Clear All, check the boxes for: SAS Enterprise Miner Workstation Configuration SAS Text Miner Workstation Configuration SAS Foundation
5. On the Choose SAS Foundation Products to Install pane: ensure that all items are checked. 6. Choose an appropriate SID file. 7. Take all defaults for remaining panes. 8. Once this is done, reattempt the usage of Text Mining nodes within SAS Enterprise Miner
... View more
09-13-2018
03:37 PM
SAS doesn't output the information in the main output window for the test data set. In order to see the Event Classification table, you can open the Model Comparison node and look at the Fit Statistics table to see the output the test data set. Another option would be to recreate the counts by running PROC FREQ in a SAS Code node after the Decision Tree node. The code would look something like this: proc freq data=&em_import_test; tables _NODE_ * I_<targetvar_name>; run;
... View more
09-13-2018
03:34 PM
Can you go ahead and open up a track with SAS Technical Support so they can help diagnose the root cause and help you get up and running. To create a track, please go to the following URL: https://support.sas.com/en/technical-support/contact-sas.html Thanks.
... View more
09-13-2018
03:19 PM
Can you go ahead and open up a track with SAS Technical Support so they can help diagnose the root cause and help you get up and running. To create a track, please go to the following URL: https://support.sas.com/en/technical-support/contact-sas.html Thanks.
... View more