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 warnings | |
warnings.filterwarnings("ignore", category=FutureWarning) | |
import numpy as np | |
from matplotlib import pyplot as plt | |
import seaborn as sns | |
# Specify the data and labels | |
data = np.array([[-4, -3], [-1, -7], [3, 2], [-1, 7], [3, -2]]) | |
labels = np.array([1, -1, 1, -1, 1]) |
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
class Conv(nn.Module): | |
def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0): | |
super(Conv, self).__init__() | |
self.conv = nn.Sequential( | |
nn.Conv2d(in_channels, out_channels, kernel_size, stride, padding, bias=False), | |
nn.BatchNorm2d(out_channels), | |
nn.LeakyReLU() | |
) |
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
% Bibliography on the Secretary Problem and Related Games (Dynkin's game, Poisson search games, etc.) | |
@Article{Abdelaziz:Krichen:2005, | |
author = {Ben Abdelaziz, F. and Krichen, S.}, | |
title = {An Interactive Method for the Optimal Selection Problem with Two Decision Makers}, | |
journal = {European Journal of Operational Research}, | |
volume = {162}, | |
number = {3}, | |
year = {2005}, |