代码搜索:predict
找到约 2,271 项符合「predict」的源代码
代码结果 2,271
www.eeworm.com/read/289178/8570191
makefile
CXX ?= g++
CC ?= gcc
CFLAGS ?= -Wall -O3 -fPIC
LIBS ?= blas/blas.a
#LIBS ?= -lblas
all: train predict
train: tron.o linear.o train.c blas/blas.a
$(CXX) $(CFLAGS) -o train train.c tron.o linear.o $(
www.eeworm.com/read/289178/8570236
win makefile.win
#You must ensure nmake.exe, cl.exe, link.exe are in system path.
#VCVARS32.bat
#Under dosbox prompt
#nmake -f Makefile.win
##########################################
CXXC = cl.exe
CFLAGS = -nologo -O
www.eeworm.com/read/289178/8570272
m run.m
[y,xt] = read_sparse('../heart_scale');
model=train(y, xt)
[l,a]=predict(y, xt, model);
www.eeworm.com/read/287415/8686998
c forkdemo2.c
/* forkdemo2.c - shows how child processes pick up at the return
* from fork() and can execute any code they like,
* even fork(). Predict number of lines of output.
*/
www.eeworm.com/read/386014/8771576
h haar_int.h
#ifndef _HAAR_INT_H_
#define _HAAR_INT_H_
/** \file
The documentation in this file is formatted for doxygen
(see www.doxygen.org).
Copyright and Use
You m
www.eeworm.com/read/429501/8804980
m gmnewpred.m
function [Predict]=gmnewpred(x,T,N)
n=length(x);
m=N+n;
xT_1=gmT(T-1,x);
xT=gmT(T,x);
q=getab(xT_1,xT);
a=q(1);
b=q(2);
for i=1:m
xm1(i)=(x(1)-b/a)*exp(-a*(i-1))+b/a;
end
xm0=xm1;
Xm0=
www.eeworm.com/read/429501/8804992
m gmnew2.m
function []=gmnew2(x,T,N)
%累加一次,并预测N位(不按原数据,进行“挪动”)
temp=x;
n=length(x);
predict=[];
for i=1:N
k=gmnewabpc(x,T,1);
a=k(1);
b=k(2);
C=k(3);
P=k(4);
predict=[predict,gmnewpred(x,T,1)];
qq=gm
www.eeworm.com/read/380481/9145607
c forkdemo2.c
/* forkdemo2.c - shows how child processes pick up at the return
* from fork() and can execute any code they like,
* even fork(). Predict number of lines of output.
*/
www.eeworm.com/read/373635/9445359
namespace
useDynLib(arules)
importFrom("stats", "predict") ## otherwise predict in stats does not work
importFrom("Matrix", "summary", "image") ## we need the generics
importFrom("Matrix", "t")
export(