svr_predict.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:stock-price-prediction 作者: chinuy 项目源码 文件源码
def draw(self):

        plt.scatter(self.dates, self.prices, color= 'black', label= 'Data')
        plt.plot(self.dates, self.model.predict(self.dates), color= 'red', label= 'RBF model')
        plt.xlabel('Date')
        plt.ylabel('Price')
        plt.title('SVR test for SPY trimmed data (2014, 2015)')
        #plt.legend()
        plt.show()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号