Recently active
Hello,I'm working on a Sentiment Analysis project utilising a huge movie reviews dataset I obtained from here, and when I execute my code, I keep getting an out-of-memory issue. Here's an example of pertinent code from my code: import pandas as pd from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.svm import SVC # Load the large movie reviews dataset data = pd.read_csv('large_movie_reviews.csv') # Preprocess the data # ... (code for data preprocessing) # Split the dataset into training and testing sets X_train, X_test, y_train, y_test = train_test_split(data['review'], data['sentiment'], test_size=0.2, random_state=42) # Vectorize the text data using TfidfVectorizer vectorizer = TfidfVectorizer() X_train_vectorized = vectorizer.fit_transform(X_train) X_test_vectorized = vectorizer.transform(X_test) # Train the Support Vector Machine (SVM) model model = SVC(kernel='linear') model.fit(X_train_vectorized,
I'm using the TWX Analytics clustering microservice for unsupervised machine learning. I was able to load the dataset, ran the clustering microservice, retrieved the PMML model and imported it to the Analytics Manager. How I can visualize my cluster data using ThingWorx?
There is 2 tab in this model popup the 1st tab label is in left and the 2nd tab label is in mid I am trying to add a left margin in the 1st tab label. but when I am trying to add using mashup property it applied to both the tab label. and I am not able to find the css path also to solve this issue
Dears, I have amount of bound tags(greater than 1000) needed to monitor. When any quality turns to bad or other status except good, subscription should be triggered to send info. How can I config event or subscription to get this with minimal impact on system stability. Thanks.
('Unable to Invoke Service SpotlightSearch on SearchFunctions : Unable to get search entries: [2,006] Unknown error occurred. Contact the administrator if this re-occurs.') I am facing the error in thingworx. The thingworx version is 8.2.2
I have a ThingWorx snippet -Resources["InfotableExporterFunctions"].ExportInfotableAsPdf(params); which is creating a pdf file in the "ThingWorxFoundation\ThingworxStorage\repository" location, but I need that file to be created in my local machine not in the ThingWorx repository.1. Is there a way to create a file in my local machine ?2. Or does ThingWorx has a feature to download the created file to my local machine?Please suggest with your sample code. Thank you
Hi,Does anyone know whether or not this widget can be found in Thingworx? I have checked through the help files on widgets & not able to find one. Explored Gauge or slider widget, not able to change it per what shown in below picture.if this is not a generic widget, any suggestions on how to create it? thanks
I have thingworx 9.3.8 working normally. I need to install rttpm app. When I use the program "install-tw-apps-win.exe" the following error appears: "Service call failed with status code 502 - Could not connect to environment: self signed certificate". I checked article CS375802 - "Service call failed with status code 502 - Could not connect to environment: self signed certificate" error when installing ThingWorx Apps, but I couldn't go any further. Could someone please tell me what steps I have to do? For reference, below are the questions and answers given during the installation attempt, as well as part of my server.xml file. - install-tw-apps-win.exe installation (questions) ThingWorx URL (localhost:8080):Does ThingWorx use TLS (y/N): N " -> I tried with "y" too. Got the same error..."ThingWorx Admin Username (Administrator):ThingWorx Admin Password: Attempting to connect to ThingWorx server... Service call failed with status code 502 - Could not con
How do I set up a Chart like this? No Widget seems to have functionality close to this.
Hello all, My team and I have gotten LDAP working via an ActiveDirectoryDirectoryService, but need to be able to validate another user's non-admin credentials with LDAP, without logging the second user in. What services exist for manually validating an LDAP credential? We've tried the TestConnection, GetDomainGroups, and IsValidGroup services on the ADDS with admin and personal credentials, and they only work for the administrator.
If same user logged in with multiple session in different PC’s can cause this slowness?Thingworx v9.0
Hello, I want to a create new custom thing template extension using Java. so there is any document or any resource that is useful, I want to a create custom thing template to connect with Modbus PLC and read/ write data. I need guidance to create a custom thing template extension using Java
As subject, I would like to import adaptive sampling on Thingworx before transporting the data into DataBase, or the other way is adaptive adjust the interval of data consumption?
Hi experts,we use this service as described in Article - CS259031 (ThingWorx 9.1.14) but in some cases, there are files with a comma in its filename. This throws an exception like "JavaException: java.lang.Exception: Some files listed are not readable: [/24043033da000.iam/0, 7.ipt]". The real filename is "0,7.ipt" (without blank).The comma is used as separator like in the given example to create the list of filenames in var params. So is there any other way create this list without relying on special characters allowed for filenames? We need this feature because we want to exclude specific files from the list to be not included in ZipArchive.Any proposal appreciated - Thanks!
Hello, have you solved the problem? I have also encountered the same problem
Hi All, What do the following property qualities represent on Industrial Things: Unknown, Good, Bad. Regards.
Hello, Yes it is not enough. Could you find the info about the possible values for the "fillOption"? Thanks
https://www.ptc.com/en/support/article/CS325300 reports on a problem with MQTT we are experiencing too (in Thingworx 8.5). In SSL mode, getting "the specified SocketFactory type does not match the broker URI".That article says "Corrected in MQTT Extension v2.1.2". However, the latest version available for download for TWX 8.5 is 2.1.1. Where can we find 2.1.2 ?
Hello All, I wanted to download external file in twx repository using service so basically i need code snippet to download this file in TWX Service using link and save to repo Any help appreciated !
I have six WorkUnits configured in RTPPM, but the only one who calculate the OEE is the Machine1, all the others machines don't calculate and i don't know why because it looks like the rest is normal. This is the most current error: [PTC.SCA.SCO.MnfgCommonEquipmentUtilsThing].[SetUserDefaultSelectedEquipmentsBySolution_EQT]: Returned the following error : JavaException: com.thingworx.common.exceptions.ModelAccessException: [2,000] Error occurred while accessing the model provider. I will be greatful if someone can help me.
Software versions: TWX 9.1.14, MFG apps 9.1.1 Hello all, My team and I have successfully set up an Active Directory Directory Service (ADDS), so that users log in with their AD credentials, over an LDAPS connection. We also need to validate a second LDAP user, without logging out and back in. We've tried using the TestConnection Service, but always receive the result of "Unable to decrypt password". See code example below, where we pull all of our inputs from the (still working) ActiveDirectoryDirectoryService: let table = DirectoryServices["ADDS1"].GetConfigurationTable({ tableName: "Connection" /* STRING */});result = DirectoryServices["ADDS1"].TestConnection({ server: table.server /* STRING */, password: table.adminPassword/* STRING */, protocol: table.protocol /* STRING */, port: table.port /* INTEGER */, userName: table.adminPrincipal /* STRING */}); How do we encrypt the password so that the LDAP server is able to recognize
Hello, I have the Thing which is connected to the mysql database and I am able to retrieve the data to the thingworx mashup by writing the services in the database thing. So now i need to get the parameters value of the mysql database table in the generic thing where the properties .are there instead of getting the data from the database thing by fetching the data through the services , can we get the parameters values into thing properties which should be updating every time when the new data is logged in the database. If anyone have tried this, please help me to sort out this issue. Regards, Shree
We get timeout issues when we try retrieve a lot of data from a value streams. This causes the service to fail, and then data cannot be displayed in the mashup.1. How can we improve our services that use queries to handle large value streams?2. Are there limits for the size of the query it should stick to that ThingWorx can handle?3. Are there settings we can configure in Influx or ThingWorx to improve the performance or allow larger queries?4. What best practices can we use to handle large data queries?5. Sometime we see that in the Dev tools network monitor that a service will fail before it reaches the 30 second timeout, is ThingWorx estimating how long it will take and then stopping it running? Some of the errors we are getting from the application logs:1. We get an error 2006 - lnfluxdb2DataExceptionTranslator2. Execution error in service script [*****] :: com.thingworx.common.exceptions.DataAccessException: [2,006] 3. Unknown error occurred. Contact the administrator if this
Hello, I have try to install DPM using Solution Central Subsystem but getting error regarding license so how to know which license required for DPM and how to solve this error
Is there any ThingWorx built-in API or services for data hygiene?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.