Skip to content

Instantly share code, notes, and snippets.

View theabc50111's full-sized avatar

theabc50111 theabc50111

View GitHub Profile
@theabc50111
theabc50111 / Falied_env.txt
Created May 26, 2023 15:23
Falied_env.txt
[OS]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
[Language]
Python 3.10.8
@theabc50111
theabc50111 / success_env.txt
Last active May 26, 2023 15:27
success_env.txt
[OS]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
[Language]
Python 3.10.8
import torch
from torch.nn import Linear, GRU, Sequential, BatchNorm1d, ReLU, Dropout
import torch.nn.functional as F
import torch_geometric
from torch_geometric.data import Data, DataLoader
from torch_geometric.nn import GCNConv, GINConv, global_mean_pool, global_add_pool, summary
import pickle
from itertools import islice
@theabc50111
theabc50111 / torc_geo_model.py
Created February 14, 2023 07:26
a composite model composed of pytorch and torch-geometric
import torch
from torch.nn import Linear, GRU, Sequential, BatchNorm1d, ReLU, Dropout
import torch.nn.functional as F
import torch_geometric
from torch_geometric.data import Data, DataLoader
from torch_geometric.nn import GCNConv, GINConv, global_mean_pool, global_add_pool, summary
import pickle
from itertools import islice
# the pickle file can be download in here: https://drive.google.com/drive/folders/1_KMwCzf1diwS4gGNdSSxG7bnemqQkFxI?usp=sharing
absl-py 1.0.0
aiohttp 3.8.1
aiosignal 1.2.0
anyio 3.6.1
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
asttokens 2.0.5
astunparse 1.6.3
async-timeout 4.0
@theabc50111
theabc50111 / arima _stationary.py
Created December 26, 2021 05:13
find the ndiff of arima and if time-series is staionary
from statsmodels.tsa.stattools import adfuller
from pmdarima.arima import ndiffs
import numpy as np
import pandas as pd
from pathlib import Path
from datetime import datetime
class GetData:
'''
@theabc50111
theabc50111 / temp.cpp
Created December 19, 2021 14:09
cpp syntax test
#include <iostream>
#include <vector>
#include <random>
#include <ctime>
#include <fstream>
#include <bits/stdc++.h>
#include <cstdlib>
#include <algorithm>
#include <bitset>