KIZI / sewebar-cms

Automatically exported from code.google.com/p/sewebar-cms
1 stars 0 forks source link

Change MinimalLength for cedent DBASetting for partial cedent to 0 #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, a partial cedent is created for every attribute. Currently the 
MinimalLength is set to 0, which forces the miner to output rules containing 
all attributes in the setting. This is unexpected behaviour and  results in 
mining to find no rules frequently. 

I.e. change

         <BBASettings>
                <BBASetting id="4">
                    <Text>Age</Text>
                    <Name>Age</Name>
                    <FieldRef>Age</FieldRef>
                    <Coefficient>
                        <Type>Subset</Type>
                        <MinimalLength>1</MinimalLength>
                        <MaximalLength>2</MaximalLength>
                    </Coefficient>
                </BBASetting>
                <BBASetting id="10">
                    <Text>Salary</Text>
                    <Name>Salary</Name>
                    <FieldRef>Salary</FieldRef>
                    <Coefficient>
                        <Type>Subset</Type>
                        <MinimalLength>1</MinimalLength>
                        <MaximalLength>1</MaximalLength>
                    </Coefficient>
                </BBASetting>
            </BBASettings>
            <DBASettings>
                <DBASetting id="1" type="Conjunction">
                    <BASettingRef>2</BASettingRef>
                    <MinimalLength>1</MinimalLength>
                </DBASetting>
                <DBASetting id="2" type="Conjunction">
                    <BASettingRef>3</BASettingRef>
                    <MinimalLength>1</MinimalLength>
                </DBASetting>
                <DBASetting id="3" type="Literal">
                    <BASettingRef>4</BASettingRef>
                    <LiteralSign>Positive</LiteralSign>
                </DBASetting>
                <DBASetting id="7" type="Conjunction">
                    <BASettingRef>8</BASettingRef>
                    <MinimalLength>1</MinimalLength>
                </DBASetting>

to

         <BBASettings>
                <BBASetting id="4">
                    <Text>Age</Text>
                    <Name>Age</Name>
                    <FieldRef>Age</FieldRef>
                    <Coefficient>
                        <Type>Subset</Type>
                        <MinimalLength>1</MinimalLength>
                        <MaximalLength>2</MaximalLength>
                    </Coefficient>
                </BBASetting>
                <BBASetting id="10">
                    <Text>Salary</Text>
                    <Name>Salary</Name>
                    <FieldRef>Salary</FieldRef>
                    <Coefficient>
                        <Type>Subset</Type>
                        <MinimalLength>1</MinimalLength>
                        <MaximalLength>1</MaximalLength>
                    </Coefficient>
                </BBASetting>
            </BBASettings>
            <DBASettings>
                <DBASetting id="1" type="Conjunction">
                    <BASettingRef>2</BASettingRef>
                    <MinimalLength>1</MinimalLength>
                </DBASetting>
                <DBASetting id="2" type="Conjunction">
                    <BASettingRef>3</BASettingRef>
                    <MinimalLength>0</MinimalLength>
                </DBASetting>
                <DBASetting id="3" type="Literal">
                    <BASettingRef>4</BASettingRef>
                    <LiteralSign>Positive</LiteralSign>
                </DBASetting>
                <DBASetting id="7" type="Conjunction">
                    <BASettingRef>8</BASettingRef>
                    <MinimalLength>1</MinimalLength>
                </DBASetting>

Original issue reported on code.google.com by kli...@gmail.com on 13 Dec 2012 at 4:52

GoogleCodeExporter commented 9 years ago
There is error in bug description "Currently the MinimalLength is set to 0" 
should be "Currently the MinimalLength is set to 1".

Original comment by kli...@gmail.com on 13 Dec 2012 at 6:10

GoogleCodeExporter commented 9 years ago
Default: all partial cedents MinimalLength=0, but in settings setup switch 
"Strict match" (help: All attributes from task setting must appear in 
discovered rules). If strict match is on:
- MinimalLength="number of attributes" for partial cedents with conjunction 
connective
- MinimalLength=1 for partial cedents with disjunction connective

MinimalLength for cedent (antecedent/consequent)DBASetting should be 1.

Original comment by kli...@gmail.com on 13 Dec 2012 at 6:15

GoogleCodeExporter commented 9 years ago
Also Subset, Interval and Cut values shoudn't be higher than number of 
categories.

Original comment by ra...@skrabal.me on 14 Dec 2012 at 5:13

GoogleCodeExporter commented 9 years ago
X-frequency shouldn't be higher than number of records.

Original comment by ra...@skrabal.me on 14 Dec 2012 at 5:14

GoogleCodeExporter commented 9 years ago
OK Also Subset, Interval and Cut values shoudn't be higher than number of 
categories + fixed bug in sliders.

Original comment by ra...@skrabal.me on 28 Dec 2012 at 4:02

GoogleCodeExporter commented 9 years ago
OK X-frequency shouldn't be higher than number of records.

Original comment by ra...@skrabal.me on 28 Dec 2012 at 4:24

GoogleCodeExporter commented 9 years ago
Strict match & partial cedent is updated, but not yet commited. I am going to 
commit these changes after freeze as they need some testing.

Original comment by ra...@skrabal.me on 1 Jan 2013 at 7:54