Skip to content

Instantly share code, notes, and snippets.

View shaktech786's full-sized avatar

Shakeel Bhamani shaktech786

View GitHub Profile

Keybase proof

I hereby claim:

  • I am shaktech786 on github.
  • I am shakbbx (https://keybase.io/shakbbx) on keybase.
  • I have a public key ASA0dtri8E73M2QNkBDI60kQu9bHKcwy9_L9iYPBwxUT1Qo

To claim this, I am signing this object:

@shaktech786
shaktech786 / test.jsx
Created June 7, 2018 20:45
wrapper not containing classname
return <td className="some-class-name-that-should-work"
onMouseEnter={() => this.toggleDriverIdExpansion(driverIdTooLong)}
onMouseLeave={() => this.toggleDriverIdExpansion(driverIdTooLong)}
>{driverId}</td>;
//wrapper.debug() output:
<td className=""> //classname is empty
<a onClick={[Function: bound driverProfileDialog]}>
ac8132b1-d700-4fab-a6e4-f0d61617e0e5
for(int j = 0; j < 6; j++) {
String x = scan.next();
String[] y = x.split(",");
if (j == 0) {
switch (y[0]) {
case "vhigh":
y[0] = "0";
break;
case "high":
y[0] = "1";
Results for RHC:
Correctly classified 1594.0 instances.
Incorrectly classified 134.0 instances.
Percent correctly classified: 92.245%
Training time: 12.908 seconds
Testing time: 0.014 seconds
Results for SA:
Correctly classified 1594.0 instances.
Incorrectly classified 134.0 instances.
Error results for RHC
---------------------------
255.043
234.119
235.242
236.005
229.361
230.684
229.361
230.290
for(int i = 0; i < attributes.length; i++) {
Scanner scan = new Scanner(br.readLine());
scan.useDelimiter(",");
attributes[i] = new double[2][];
attributes[i][0] = new double[6]; // 6 attributes
attributes[i][1] = new double[1];
for(int j = 0; j < 11; j++)
attributes[i][0][j] = Double.parseDouble(scan.next());