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
from visualizer import visualize | |
from YOUR_CLASSIFIER import YourClassifier | |
if __name__ == '__main__': | |
# Load data | |
model = G2Model(**data) | |
sample_size = int(2e4) | |
training_set = model.generate_sample(sample_size) | |
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
using UnityEditor; | |
using UnityEngine; | |
namespace Shared.SingletonBehaviour { | |
/// <summary> | |
/// Singleton is not guaranteed to be initialized at OnValidate and Awake | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
[ExecuteInEditMode] | |
public class SingletonBehaviour<T> : MonoBehaviour where T : SingletonBehaviour<T> { |
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
// | |
// Created by Vladyslav Yazykov on 17/12/2018. | |
// | |
#include <random> | |
#include "float.h" | |
namespace math { | |
template<int power> | |
struct TSign { |
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
// | |
// Created by Vladyslav Yazykov on 28/12/2018. | |
// | |
#ifndef BEZIER_POLYNOMIAL_H | |
#define BEZIER_POLYNOMIAL_H | |
#include <cstdlib> | |
#include <initializer_list> |
NewerOlder