Insightful Miner v8.0下载地址:
http://www.magnsoftbi.com/temp/iminer8win.rar或
http://www.lianshu.info/download/iminer8win.rar这次没有更改任何东东,经过了2周的追踪,以及License语法的更正,终于搞定了。
安装IMiner,需要缺省安装,包括FlexNet。
Insightful Miner 8.0\keys下放license.lic
内容为
##############################################
SERVER hostname ANY
USE_SERVER
##############################################
至于hostname为什么东东,你在命令行下执行hostname,你就可以看到返回的一个字符串,然后把这个字符串替换上面license.lic中的hostname。
再在C:\根目录下建立一个flexlm目录,放一个license.dat的文件,文件内容为
#############################################
SERVER hostname ANY
VENDOR IFUL
INCREMENT IMWIN IFUL 1.0 permanent uncounted VENDOR_STRING=IMWN001051 \
HOSTID=ANY SN=1234567890 TS_OK SIGN=8296C4023D90
INCREMENT IMSVRWIN IFUL 1.0 permanent uncounted \
VENDOR_STRING=IMWN001051 HOSTID=ANY SN=1234567890 TS_OK \
SIGN=4F945C348E2C
#############################################
同理,hostname必须修改为你自己机器的hostname,修改方法同上。
接着到命令行下,走到Insightful Miner 8.0\FLEXnet,然后键入命令
############################################
cd "C:\Program Files\Insightful\Insightful Miner 8.0\FLEXnet"
lmgrd -z IFUL
###########################################
这个是启动IFUL的daemon,当然你不能关掉这个命令行窗口,否则不能启动IMiner。
接着就是启动你的IMiner了,我想如果没有什么问题的话,你应该能顺利启动了。
如果有什么问题的话,请跟帖。
另外,这个lmgrd也可以通过Service的方式启动,但这样我又需要说明一大堆的东东,我就不说了。希望有心人给那些不太懂计算机的朋友也写点东西,造福大众。或者自己阅读下面链接的文档
http://www.insightful.com/support/iminer80/admin.pdf(也不知CYGIso会不会再出一个IMiner的AppZ的ISO发布)
Generate C Code是能用的,我今天试了。如何才能用Generate C Code呢,这个你就必须自己去看手册(
http://www.insightful.com/support/iminer80/admin.pdf)了。我是去看手册了,也知道了对IMiner的破解是完全且完美的。
下面是我用IMiner生成的C Code
-------- main.c ---------------
/* prediction for tree */
#include "IMObjects.h"
#include "IMTree.h"
/*
An example of a program that calls IMinerTreeModel_predict() for prediction.
This program reads data represented the model from a file generated by IMiner.
Compiling and running:
1. Change the current directory to the one containing this file.
cd <directory containing this file>
2. Edit main.c to create input data.
3. Compile and link these files :
main.c, IMObjects.c, IMTree.c
4. Run the program:
*/
int IMiner_get_input_data(IMinerObject *rectDataInput, int args, char *argv[]);
int main(int argc, char *argv[])
{
IMinerObject rectDataInput, generatedModel, dataOutput;
long nStatus;
/*****************************************************************************/
/* ARGS SHOULD CONTAIN THE LOCATION OF THE MODEL CREATED BY INSIGHTFUL MINER */
/*****************************************************************************/
if(argc < 2)
{
printf("This program requires at least one argument:\n");
printf("model.txt location anything else is passed on\n");
printf("to create the input. Please see readme.txt");
exit(1);
}
if(access(argv[1], 04) !=0)
{
printf("Cannot open file %s for read\n", argv[1]);
exit(1);
}
/******************/
/* GET INPUT DATA */
/******************/
nStatus = IMiner_get_input_data(&rectDataInput, argc-2, (argc-2>0) ? &argv[2] : 0);
if(nStatus !=IMINER_SUCCESS)
{
printf("Failure to create input data, nStatus=%d\n", nStatus);
exit(1);
}
/**************************************************************************/
/* GET MODEL CREATED BY INSIGHTFUL MINER FROM FILE DESCRIBED IN PARAMETER */
/**************************************************************************/
nStatus = IMinerObject_createFromFile(&generatedModel, argv[1]);
if(nStatus !=IMINER_SUCCESS)
{
printf("Failure in IMinerObject_createFromFile(), nStatus=%d\n", nStatus);
exit(1);
}
/**************/
/* PREDICTION */
/**************/
nStatus = IMinerTreeModel_predict(&dataOutput, &rectDataInput, 0, &generatedModel);
/**********************************/
/* OUTPUT RESULTS TO STANDARD OUT.*/
/**********************************/
if(nStatus !=IMINER_SUCCESS)
{
printf("Failure in IMinerTreeModel_predict(), nStatus=%d\n", nStatus);
exit(1);
}
printf("-------------- model ----------------:\n");
IMinerTreeModel_print(&generatedModel);
printf("------------ input object ----------------:\n");
IMinerDataSet_print(&rectDataInput);
printf("------------ output object ----------------:\n");
IMinerDataSet_print(&dataOutput);
/*************************************/
/* DESTROY OBJECTS TO RELEASE MEMORY */
/*************************************/
IMinerObject_destroy(&generatedModel);
IMinerObject_destroy(&rectDataInput);
IMinerObject_destroy(&dataOutput);
}
int IMiner_get_input_data(IMinerObject *rectDataInput, int args, char *argv[])
{
/********************/
/* DEFINE DATA HERE */
/********************/
long numberOfColumns=0; /* NUMBER OF COLUMNS IN DATASET */
long numberOfRows=0 /* NUMBER OF ROWS IN DATASET */;
long *columnTypes=0; /* COLUMN TYPE OF EACH COLUMN: IMINER_MODE_STRING or IMINER_MODE_DOUBLE (size: [numberOfColumns]) */
char **columnNames=0; /* NAMES OF EACH COLUMN IN DATASET (size: [numberOfColumns]) */
void **data=0; /* ACTUAL DATA IN DATASET (size: [numberOfColumns][numberOfRows])
COLUMNS MUST EITHER BE (double*) or (char**) */
/******************************************/
/* CREATE IMINER_DATASET OBJECT FROM DATA */
/******************************************/
return IMinerDataSet_createFromInput(rectDataInput, numberOfRows,
numberOfColumns, columnTypes,
columnNames, data);
}
下面的购买链接没有实质内容,但是我也需要一些钱来购买论坛内的一些东西,所以
希望大家有钱出钱,没钱就给回个帖,以资鼓励。
谢谢支持
[此贴子已经被作者于2007-7-31 21:12:37编辑过]