Skip to content

Instantly share code, notes, and snippets.

View Krucamper's full-sized avatar

Nattapong Chuenjai Krucamper

  • Thailand
  • 03:54 (UTC +07:00)
View GitHub Profile
@Krucamper
Krucamper / capacity.csv
Last active November 16, 2019 19:12
data frame Capacity
Key Capacity
0 400
1 400
2 400
3 400
@Krucamper
Krucamper / student_population.csv
Last active November 16, 2019 19:08
data frame student population
Key StudentPopulation
0 250
1 340
2 310
3 210
4 290
@Krucamper
Krucamper / transportation.csv
Last active November 16, 2019 18:02
data frame transportation
Indexs Addison Beeks Canfield Daley
North 12 23 35 17
South 26 15 21 27
East 18 20 22 31
West 29 24 35 10
Central 15 10 23 16
@Krucamper
Krucamper / assignment.csv
Last active November 16, 2019 20:06
Dataframe assignment problem
Indexs MachineA MachineB MachineC MachineD
Machinist1 12 11 8 14
Machinist2 10 9 10 8
Machinist3 14 8 7 11
Machinist4 6 8 10 9
@Krucamper
Krucamper / page-blocks.csv
Created November 3, 2019 19:00
Page Blocks Classification (Imbalanced: 0) data set
Height Lenght Area Eccen P_black P_and Mean_tr Blackpix Blackand Wb_trans Class
5 7 35 1.400 .400 .657 2.33 14 23 6 0
6 7 42 1.167 .429 .881 3.60 18 37 5 0
6 18 108 3.000 .287 .741 4.43 31 80 7 0
5 7 35 1.400 .371 .743 4.33 13 26 3 0
6 3 18. 500 .500 .944 2.25 9 17 4 0
5 8 40 1.600 .550 1.00 2.44 22 40 9 0
6 4 24 .667 .417 .708 2.50 10 17 4 0
5 6 30 1.200 .333 .333 10.00 10 10 1 0
5 5 25 1.000 .400 .520 10.00 10 13 1 0
@Krucamper
Krucamper / yeast.csv
Last active November 3, 2019 18:52
Dataset Imbalance This section describes main characteristics of the yeast-2_vs_4 data set and its attributes:
Mcg Gvh Alm Mit Erl Pox Vac Nuc Class
0.64 0.62 0.49 0.15 0.5 0.0 0.53 0.22 0
0.58 0.44 0.57 0.13 0.5 0.0 0.54 0.22 0
0.42 0.44 0.48 0.54 0.5 0.0 0.48 0.22 0
0.51 0.4 0.56 0.17 0.5 0.5 0.49 0.22 0
0.5 0.54 0.48 0.65 0.5 0.0 0.53 0.22 0
0.48 0.45 0.59 0.2 0.5 0.0 0.58 0.34 0
0.55 0.5 0.66 0.36 0.5 0.0 0.49 0.22 0
0.4 0.39 0.6 0.15 0.5 0.0 0.58 0.3 0
0.42 0.37 0.59 0.2 0.5 0.0 0.52 0.29 0
@Krucamper
Krucamper / shampoo-sales.csv
Created November 2, 2019 07:28
shampoo sales for LSTMs
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"Month";"Sales"
"01-01";266
"01-02";145.9
"01-03";183.1
"01-04";119.3
"01-05";180.3
"01-06";168.5
"01-07";231.8
"01-08";224.5
"01-09";192.8
@Krucamper
Krucamper / HelloWorldBasic.sol
Created January 22, 2019 09:29
Create a Hello World Contract in ethereum Basic
pragma solidity 0.5.2;
contract HelloWorld {
string public message;
constructor(string memory initMessage) public payable {
message = initMessage;
}
@Krucamper
Krucamper / HelloWorld.sol
Created January 21, 2019 08:15
Create a Hello World Contract in ethereum
pragma solidity 0.5.2;
contract HelloWorld {
string message;
function setMessage(string memory newMessage) public {
message = newMessage;
}
@Krucamper
Krucamper / geth-command
Last active November 23, 2018 11:35
basic command geth
/** คำสั่งตรวจสอบ peer **/
admin.peers
/** คำสั่งตรวจสอบจำนวน block **/
eth.blockNumber
/** คำสั่งเริ่มทำการ miner **/
miner.start(1)
/** คำสั่งแสดงกระเป๋าทั้งหมดใน node นั้นๆ **/