Last active
July 8, 2020 16:24
-
-
Save porimol/423078fbac89cf299706d77f5f54200a to your computer and use it in GitHub Desktop.
DeepCovax is a Deep Neural Network based COVID-19 vaccine formula discovering tool developed using PyTorch :P
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
import torch.optim as optim | |
import torch.nn.functional as F | |
from torchvision import transforms, utils, datasets | |
import torch | |
import torch.nn as nn | |
import BlackBox as bb | |
class DeepCovax(nn.Module): | |
def __init__(self): | |
super(DeepCovax, self).__init__() | |
self.black_box = bb.deep_vac(420, 420) | |
def train(self, vac_country='Bangladesh'): | |
return self.black_box(vac_country) | |
if __name__=='__main__': | |
deep_vac = DeepCovax() | |
deep_vac.train('Bangladesh') | |
vac = deep_vac.predict() | |
if vac >= 0.95: | |
print('1.q+7=13') | |
else: | |
print('আবেগ দিয়ে ভ্যাক্সিন আবিষ্কার করা যায়নারে ভাই!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment