BookmarkSubscribeRSS Feed
Fluorite | Level 6

I would like to utilize proc hptmine for my text analytics. However as I went through the manual I could not find any property that can help me create the same type of table text miner does. That is TEXT_TOPICTRAIN data. it has TextTopic_raw, TextTopic, _DOCUMENT_, TEXT, ID columns in it.

Can anyone help me with creating the same type of dataset in PROC HPTMINE?

Below is the code I used  but don't see any table there to join to construct a table like texttopic_train data set.



proc hptmine data=samplestrata20K;

doc_id ID;

var TEXT;


termwgt  = ENTROPY

cellwgt  = log

reducef  = 0

entities = std

synonym  = sashelp.engsynms

stop     = sashelp.engstop

outparent = outparent

outterms  = outterms

outchild  = outchild

outconfig = outconfig;


        k = 25


       outtopics                =  topics

outdocpro      = docpro



performance details;


SAS Employee

Unfortunately, It isn't possible to use PROC hptmine to get the full topic results found in Text Miner. There is quite a lot of sas code in Text Miner that executes after proc hptmine to do these calculations. If you submit  "options mprint;" in your start up code, you will see it. 


Our newer action on viya, the tmMine action, does have the full computation contained within the action so if you move to that you will direct access to the computation there.



Register today and join us virtually on June 16! | #SASGF

View now: on-demand content for SAS users


Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.


Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3 in conversation