Quantcast
Channel: KNIME RSS
Viewing all 4157 articles
Browse latest View live

Text Analytics Tag cloud Filtered by Rule based Row filter

$
0
0

I have completed a text analytics "Tag Cloud" workflow (as in the attachment).

Now, I realised I want to run the whole workflow but ONLY for a specific rule condition.

To define this condition, I use "Rule based row filter" node, for another column of my database.

My question is: where in the workflow I need to place the "Rule based row filter" node to reach my goals.

Needs to be placed before  the "String to Document" mode?

 

Thanks.


Auto Run Nodes

$
0
0

Hello everyone,

I've been fidling with preferences in Knime, and now evreythime I try to configure a node somewhere in the chain every previous node in the chain auto runs. I can't figure out how to change it back, and it is super frustrating, since some of my workflows take hours to run.

SVM parameters optimization

$
0
0

Hello,

I am applying SVM with RBF kernel on binary imbalanced problems.

I would like to achieve better performance by optimizing penalty and sigma parameters. I already saw this post: https://tech.knime.org/forum/knime-general/svm-lerner-optimization and some other but they were not really helpful.

I downloaded extension with Parameter Optimization Loop Start/End.

Could you please explain me how to optimize SVM parameters in Cross Validation meta nodes, KNIME 3.1.2? 

Exchangeability workflows with Windows and Mac OSX

$
0
0

Hi people,

Just to be shure: could Workflows created with KNIME for Windows possibly be used with KNIME for Mac OSX?

Thanks,

Kees

 

 

find elements node

$
0
0

Hello,

i am working on a project.There are many nodes in my workflow.(sorter, row filte etc.) i want to use find elements node. sometimes it doesnt work. when i click find element node to see the settings . it doesnt work. how can i solve this?

thany you

Replace whole string if cell contains a certain string

$
0
0

Hello,

I'm new to KNIME and would like to remove/replace the whole content from each cell of a column that contains a certain string. The other cells from that column should keep their content though. I thought about using the Rule Engine node and it's probably quite simple but I cannot figure out how to do it. I'd be very grateful if you can help me with this issue!

 

Example: remove the content if old_column contains the string "ABC".

old_column     new_column

DEFG                     DEFG

ABCDEFG              

HIJKL                    HIJKL

 

 

How to keep rows only that contain an empty cell in a certain column

$
0
0

Hello,

I'd like to remove rows that have an entry in a certain column and to keep those rows that have no entry in that same column. Is there a simple way to do that? I thought about the Row Filter node but I can't figure out how to define "an empty cell". 

 

Example: Lets say I have 4 columns and I want to remove each row with no entry in column_4

column_1column_2column_3column_4
ABCABCDEFABCDCDEF
12341234561234 
345567894567123456789
ABCDDEFGHIDEFG 

 

This is what I want to obtain:

column_1column_2column_3column_4
12341234561234 
ABCDDEFGHIDEFG 

Cellsinmemory

$
0
0

Working with a machine in Azure with 224GB RAM, I tried to increase the cells in memory, by adding -Dorg.knime.container.cellsinmemory=1000000000 as explained in the FAQ:

"Add the following line after the -vmargs line in the knime.ini file to keep at most 1000 cells in memory (you can choose a different value, even 0 in which case it always swaps to disk):   -Dorg.knime.container.cellsinmemory=1000 You can verify if this setting has been picked up by either looking at the log file or inspecting the tooltip that is shown when hovering over the "Keep only small tables in memory" option in any node."

 But the tooltip always says:

"Tables with less than 0 cells are  kept in memory...".  And I don't see anything in the log. How can I see if the setting has been picked up? Is there a way to set "Keep all in memory" as a default in the KNIME Preferences?

Thanks,

Francesco

 


String Manipulation - RemoveChars

$
0
0

I am using the following expression to remove some stuff I do not need in column Serial_number

I want to remove (R) (L) (X) RIGHT LEFT

(removeChars(removeChars(removeChars(removeChars(($serial_number$, "(R)"),"(L)"),"(X)"),"RIGHT"),"LEFT"), " LEFT")

Although, I see it actually removes all Rs or Ls or Xs. etc.

How can I make it work? is there something like in dollar in excel "$(R)$"... just guessing..

 

 

Move slider in a pane

$
0
0

Hello,

i want o move a slider in a pane up.

the source code is:

<div class="pane" style="display: block;">
   <div class="slider" style="height: 164px; transform: translate(0px, 545px);">
   </div>
</div>

The slider should be pointed to (0px, 0px).

This side would be an easier example than the original: http://jqueryui.com/slider/

I made some attempts with the Node "Execute JavaScript" and scrollTo, scrollTop or ScrollUp, but i did not find the correct examples. My skills in Javascript are very low.

Can someone help me?

thx,

Jens

Cannot open the configuration dialog for the DL4J nodes

$
0
0

Hi there,

I finally installed DL4J and I'm looking at the example processes from the example server. When I doubleclick on a node to configure it (or hit F2) an exception occurrs. I've uninstalled and reinstalled the extension twice but no luck. It only shows the DL4J initializer configuration dialog. Any ideas what's happening? The process runs fine by the way

java.lang.NoClassDefFoundError: org.knime.core.node.defaultnodesettings.DialogComponent
    at org.knime.ext.dl4j.base.nodes.layer.mlp.dense.DenseLayerNodeDialog.<init>(DenseLayerNodeDialog.java:79)
    at org.knime.ext.dl4j.base.nodes.layer.mlp.dense.DenseLayerNodeFactory.createNodeDialogPane(DenseLayerNodeFactory.java:94)
    at org.knime.core.node.Node$1.run(Node.java:2022)
    at org.knime.core.node.util.ViewUtils$3.run(ViewUtils.java:354)
    at org.knime.core.node.util.ViewUtils$2.run(ViewUtils.java:156)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Import Loop XLS Reader Data Types

$
0
0

Hey Guys!

I'm relatively new to knime and I'm trying to make a loop to import XLS-files from one folder. The xls-files are all based on the same "mastertable" (wich is also imported, with dummie-data) but they don't necessarily have all the columns of the mastertable. Within columns with the same name, you can only find data of one typ (e.g. integer) or missing data.

My Problem are the data types of the columns. When imported,  2 columns get types assigned automatically (one integer, one string) but the others just have a '?' as data type.

The node "column auto type cast" doesn't seem to help, because it doesn't change anything (Node seems to work, but input = output).

In the node "column rename" I can only change them to 'string', but not to integer or double. Also, I can only change the columns one by one, isn't there a node to detect the data type of a column?

The only way so far I found would be changing all the columns to string with the column rename node and then use the "string to number" node once for the columns with integer and once for double. But this seems quite complicated for such an easy step to do and all 3 the nodes need to be adjusted, if a new column is added.

I attached my workflow, maybe there is something wrong with the whole flow.

Thanks a lot for helping!

 

PMML question

$
0
0

Hi,

I try to build a node with a PMML-Out-Port. Looking at the source code of the 'Numeric BInner', I was wondering about the following line (in createPMMLModel):

PMMLPortObjectSpecCreator pmmlSpecCreator = new PMMLPortObjectSpecCreator(inPMMLPort, outSpec);

I was wondering why the table spec 'outSpec' of the output table is of any interest for the pmml output? I was browsing the code of the PMMLPortObjectSpecCreator but I did not understand the reason (maybe I know to little about PMML?)

Can anybody explain why the table spec of the ouput table is important for creating the PMMLPortObjectSpec?

Antje

Feature request: node filter based on in-/output port type

$
0
0

Sometimes, I would like to see all nodes in the node repository having an input or output port of a specific type (e.g. all nodes taking PMML as input).

If there is something like this available, please let me know.

 

Failed to stop thread on KNIME Server (Windows)

$
0
0

Dear KNIME team,

I noticed that when shutting down a KNIME server instance on Windows using shutdown.bat, the following lines appear in the catalina log file:

[Thu Oct 06 10:47:39 CEST 2016] SEVERE        org.apache.catalina.loader.WebappClassLoader clearReferencesThreads                       : The web application [/knime] appears to have started a thread named [MVStore background writer nio:C:/knime_server/apache-tomee-plus-1.7.1/conf/userconf.mv.db] but has failed to stop it. This is very likely to create a memory leak. 
[Thu Oct 06 10:47:39 CEST 2016] SEVERE        org.apache.catalina.loader.WebappClassLoader clearReferencesThreads                       : The web application [/knime] appears to have started a thread named [Thread-78] but has failed to stop it. This is very likely to create a memory leak. 
[Thu Oct 06 10:47:39 CEST 2016] SEVERE        org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks                  : The web application [/knime] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@42e00e22]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@5bfac479]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 
[Thu Oct 06 10:47:39 CEST 2016] SEVERE        org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks                  : The web application [/knime] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@19052abc]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@725c3f9a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 

Do I have to worry about the potential memory leaks?

 

Thx,

Jan

 


EXAMPLE SERVER

Connect to Impala without authentication

$
0
0

Hi,

I keep getting the error "No credentials or username for authentication given" when I try to log into Impala with an Impala Connector Node without authentication. This instance is only accessible from the LAN and thus doesn't require authentication. And it works nicely with Tableau, so maybe I'm doing something wrong here, or there is a way to avoid the authentication.

Best regards

Ask to save node settings on close

$
0
0

Some nodes are configured very extensively, e.g. the Image Annotator (a community node). I asked Christian if it would be possible not to close the config window instantly when the "X" button is clicked, but to ask if the changes should be saved. He told me that there is no way he can implement that in the community extension, because this is not supported by KNIME.

I understand that for many nodes that does not make sense, but IMHO they should be able to opt-in on that. Just like for a very few web pages it makes sense that they ask you if you really want to leave without saving your changes.

Scripting R vs R Scripting at Community Nodes

$
0
0

Hi Knimers?

What is the difference between work with the nodes at the Scripting R and the R Scripting nodes at Community Nodes?

Another question: Is there any difference in the integration between Knime and R now? (Looks like that is not necessary to use Rserver, etc.)

Tks

 

 

Palladian multipart/form-data

$
0
0

Hi Philipp,

i have to submit a POST request with enctype multipart/form-data to submit a picture. Is this possible with Palladian?

 

Thank you.

Jonny

Viewing all 4157 articles
Browse latest View live