- 博客(6)
- 收藏
- 关注
原创 2020-12-05 今天遇到的一个坑
public class AiStateMove : AiState { [Space(10)] // Go to this state if passive event occures public AiState passiveAiState; // End point for moving [HideInInspector] public Transform destination; 今天调代码的时候,遇到了一个小坑,记录下来。 destination作为一个Transfo.
2020-12-05 23:25:35 137
原创 多个引用指向一个对象的问题
今天又碰到了这个坑,纠结好久,记下来加深印象。 在java中,多个引用指向一个对象,aa指向一个节点对象,其他bb和cc指向aa。 此时aa,bb,cc指向的是同一个对象,注意bb和cc不是指向的aa这个引用,当aa重新指向一个新对象时,bb和cc并不会跟着aa指向新对象。 ListNode aa = new ListNode(9); ListNode b...
2019-07-09 10:09:43 949
原创 整理一下2019春招实习面试的面试问题。
VIVO技术面: 解释一下C++中多态的概念 C++中的多态是如何实现的 引用与指针的区别 谈一谈Override和Overload的概念区别 解释一下链表和队列 谈一谈你了解的几种链表 谈一谈你了解的几种队列 单链表的优点和缺点 C++中哪些类是基于链表和队列实现的 谈一谈栈和堆的概念 实现一下冒泡排序,简单陈述一下冒泡排序的有点和缺点 数据库的三大范式 如何设计一个好的数据库 数据库查询语句...
2019-05-06 19:36:19 221
原创 Train the network to play the game
import gym import random import numpy as np import tflearn from tflearn.layers.core import input_data, dropout, fully_connected from tflearn.layers.estimator import regression from statistics import ...
2018-07-28 17:45:43 197
原创 The K-neighbors Algorithm
Simply said ,the K-Neighbors is going to find K nearest featuresets to the data you want to predict.And then we begin a vote.(The vote is about the classification of the featuresets) if we have the m...
2018-07-22 21:43:15 124
原创 Use Linerfit to predict the Stock Price (Machine Learning)
import quandl, math import numpy as np import pandas as pd from sklearn import preprocessing, cross_validation, svm from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt f...
2018-07-22 21:24:50 268
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人