Questions tagged [isolation]

258 questions
1
vote
1 answer

scikit learn error - 100. * self.contamination) TypeError: unsupported operand type(s) for *: 'float' and 'type'

I am trying to build an isolation forest for a csv file I have predicting 'pages' from various size values. The 'pages' value are currently 'low' and 'high' and I have encoded them to be 0 and 1 so that I can detect anomalies. However, I keep…
user13676216
1
vote
2 answers

SQLite with in-memory and isolation

I want to create an in-memory SQLite DB. I would like to make two connections to this in-memory DB, one to make modifications and the other to read the DB. The modifier connection would open a transaction and continue to make modifications to the DB…
kris_polya
  • 11
  • 1
1
vote
1 answer

SQL Transaction overlap between C# and T-SQL

I have a C# process that is inserting records into a table within a transaction. During this time another process (an SQL stored procedure) is updating this table. The C# process is using serializable isolation mode and the SP is using read…
1
vote
0 answers

How to visualize isolation forest algorithm in Python?

I have a dataset with columns: time and ch2o. I am calculating a new column, anomaly, which has the value 0 if there isn't an anomaly in the dataset and 1 if it is. So far, I have: https://www.codepile.net/pile/k78QyXNR . I am trying to visualize…
moro_92
  • 171
  • 1
  • 2
  • 10
1
vote
0 answers

MySQL SERIALIZABLE transaction isolation level reads uncommitted values

My understanding is that with SERIALIZABLE isolation level, I should not see any uncommitted data but my simple prototype output doesn't make sense to me. The initial value is "ready" and a second connection runs a transaction that sets the value…
jbu
  • 15,831
  • 29
  • 82
  • 105
1
vote
2 answers

How to isolate multiple shared Maven repository configurations?

I have troubles designing the architecture of a couple of Maven repositories. We maintain an infrastructure for our own company and a couple of clients. We have company internal components, redistributable components and customer-specific…
D-FENS
  • 1,438
  • 8
  • 21
1
vote
1 answer

Integrating missing values in Isolation Forests

Current XGBoost algorithms are able to handle missing values by chosing the -best- direction during training by minimizing the loss (source). Within our institution this feature has been of great value as we are dealing with sparse tabular data.…
wptmdoorn
  • 160
  • 1
  • 12
1
vote
1 answer

what is the default value for IBM Informix set isolation level

1 the stored procedure create procedure sp_count_demo( i_user_id varchar(30) ) returning p_count as num_of_row ; define p_count integer ; set isolation to dirty read ; let p_row = 0 ; select count(*) into p_count from some_table a where…
user3737906
  • 89
  • 1
  • 9
1
vote
2 answers

Is there any way to isolate an app without using container under cygwin windows

I am using cygwin under windows server 2008 to have linux capability (to some degree) and ssh and be able to run apps without using a gui. On another server that is ubuntu 18.04 I use containers to some how isolate my apps so that when I run an…
1
vote
1 answer

Protecting data from direct access by other applications in windows

Is there a way to protect some cryptographic data from applications other than my own in Windows? I'm not concerned about protecting it from the user - this is obviously impossible - but, rather, from non-elevated applications other than my own. I'm…
bdonlan
  • 224,562
  • 31
  • 268
  • 324
1
vote
0 answers

Can HangFire run Jobs in isolated appdomains

We're stuck (for now) with hundreds of legacy objects that use static members extensively. If I enqueue or schedule a job using these legacy objects, and two or more run in parallel, I'm almost guaranteed to get the static state stepped on. I'd like…
1
vote
1 answer

BLDC Isolated sensorless control

I've currently developed a BLDC motor controller and it generally works fine. During some events however the microcontroller locks up (e.g. stopping the motor or fast changes of duty cycle). Because of this, I want to isolate the microcontroller…
Pyrohaz
  • 232
  • 2
  • 11
1
vote
2 answers

Allow multiple update on different transaction Oracle

Is it possible to allow on Oracle 11g multiple UPDATE on the same line on 2 different transaction ? For example in the first transaction UPDATE MYTABLE SET COLUMN1 = 'value1' And in the second transaction, the update is locked by the first…
loonis
  • 1,317
  • 16
  • 19
1
vote
0 answers

How to isolate Hadoop program to certain core

We are trying to run Hadoop version 1.2.1 single node cluster on a 4 core Intel server. We are trying to run the hadoop programs only on 3 cores instead of 4. We have tried using taskset but it didn't work. We tried using cset as well but it was not…
HereToLearn
  • 41
  • 1
  • 5
1
vote
0 answers

Read commited isolation level

I have a question regarding read commited isolation. I know that it prevent from dirty reads and dirty writes but how it behave in situation like this in photo (assume that both transaction have read commited isolation level). Which value will see…
user3528733
  • 1,259
  • 7
  • 20
  • 37