Applying a weight measure

Hello,
I'm doing a program in Java whereas an article is matched against the top 10 topic-related entries in Google using similarity algorithms.
Now let us assume that the original article is matched against the first one and the similarity is 0.98 (nearly identical). Against article 2 we get 0.86, against article 3 we get 0.92 and so on...
For this program, I decided to also consider the PageRank (PR) score for each of the 10 Google entries. So for example the PR for the first entry is 8, the PR for the second article is 6 and so on...
My query is how to apply a weight upon the similarity score generated from the PR score. For example, for the first match I could say 0.98 * 8 = 7.84 but this score doesn't make much sense. I need the PR score to serve as a weight on the similarity score, but my idea of just multiplying the two is not very useful.
Does anyone can provide any suggestions how can I do this please?
Thanks!

Hi qqsu,
Yes this is just an initial thing, it has many issues and problems that need to be investigated further.
You're right about the pagerank issue, but the thing is that the 11th topic would probably be less related to the topic than the first ten. And also we have to keep in mind that Google not only considers keywords, but also inlinks from authoritative sources. So a high pagerank score, although not necessarily meaning it is the best article, gives a rough indication of the content. And also we would have an aggregation from 10 different locations, not just one, so the ranking should hopefully be more accurate.
However, I found a solution to the weight problem by using logarithms for the pagerank scores.

Similar Messages

  • Error while updating AFS weights & measures material master data using BAPI

    Hello ABAP experts,
    Please help me in finding the right way in updating AFS weights & measures data (/AFS/MARM) data using BAPI /AFS/BAPI_MATERIAL_SAVE_DATA.
    I'm populating the following table parameters of the BAPI,
    1. SKUUNITSOFMEASURE with /AFS/MARM records
    s_bapi_marm-ALT_UNIT = 'EA'.
    s_bapi_marm-ALT_UNIT_ISO = 'EA'.
    s_bapi_marm-grid_value = 'XXXXS'.
    *s_bapi_marm-STOCK_CATEGORY = '01000'.
    s_bapi_marm-volume  = '10'.
    s_bapi_marm-GROSS_WT  = '10'.
    s_bapi_marm-NET_WEIGHT  = '10'.
    append s_bapi_marm to t_bapi_marm.
    2. UNITSOFMEASURE with MARM records
    s_bapi_uom-ALT_UNIT = 'EA'.
    s_bapi_uom-ALT_UNIT_ISO = 'EA'.
    s_bapi_uom-NUMERATOR = '1'.
    s_bapi_uom-DENOMINATR = '1'.
    s_bapi_uom-UNIT_OF_WT = 'KG'.
    s_bapi_uom-VOLUMEUNIT = 'CCM'.
    append s_bapi_uom to t_bapi_uom.
    But the BAPI returns me an error "Stock Category & is not valid in Category structure  &"
    Let me know if you have any inputs on this one.
    Thanks,
    Partha.

    Hi VAMSHI,
    I have your same error but I don't know how to solve it. We have active "material split valuation" and valuation type is mandatory field if using ACCOUNTING and COSTING views.
    Please, let me know.
    Thanks in advance.
    GB

  • Labview programming to convert weight measurement into mass flow

    Hello,
    I have continuous analog input measurement from weight scale. I want to convert the weight measurement to mass flow measurement.
    E.g.:
    1st minute weight measurement: 200kg
    2nd minute weight measurement: 300 kg
    3rd minute weight measurement: 350 kg
    and so on.
    I want to convert those weight into mass flow which is
    1st mass flow300-200)keg/1min = 100kg/min
    2nd mass flow: (350-300)kg/1 min = 50 kg/min
    and so on.
    So the weight and should be updated every minute, whatever the time value of while loop iteration.
    Can somebody give solution of this case with labview programming? (structure in block diagram)
    Thanks,
    Eko

    Hi Eko,
    is this some kind of homework?
    Well I suggest to use two shift registers to hold mass and time, then two subtract nodes to get the difference of current and old vlaue for both and finally a simple divide to get the mass flow...
    Look here to get the basics!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Crop Marks, when applied, do not measure up

    Illustrator CS6
    Say I have a dieline that measure 8.0" x 10.0". When I apply crop marks to this dieline and measure the horizontal width of the crop mark on one side to the crop mark on the other side it gives me a width of 8.0042". Does anyone know why it does this? If I measure the vertical crop marks it gives me 10.0042". It's not a huge amount but when you're dealing with dieline packaging and your dieline says 8.0" and the crop marks are 8.0042" apart it affects the placement of other marks such as bleed, seals, folds, glue panels, etc. Thanks for any help!

    When you removed the stroke you should have seen your crop marks (which is a live effect) move, unless you already expanded appearance.
    Click on the image below to view at 100%. Both squares are 2 inch(becasue I have use preview bounds turned off in preferences), except the first square on has a black stroke, and the crop marks are to the outer edge of the stroke.

  • Issue Applying Level Based Measure

    Hi,
    I have a Product Table, and using properties on the table, I developed level based hierarchy(not manually).
    I also have a sales fact table, and partner table.
    I have multiple products, and for each product there are multiple partners.
    My requirement is to sum the top 10 partners revenue for a product divided by sum of revenue from all partners for that product.
    I duplicated the sales column and named as sales by product, when I mapped the sales by product column to product total, it is giving the sum of sales from all products.
    But I need sales for each product., when I mapped to the detail level It is drilling the sales by product to a detal level.
    Please help m how to map the sales by product column to product hierarchy.
    The columns in product table are...product key, product grp-id,product flag, product name( the column to which i need to map)
    My hierarchy in RPD is , product dimdim--product Toatl----Product deatil------all the columns in product.
    Thanks for all the help, Much Appreciated
    SR

    You can try this.. Create 2 logical columns..
    1, sum of revenue from all partners ==> Duplicate sales logical column and set the level for partner and Product.
    2, top 10 partners revenue for a product ==> Created another logical column and Use topn function and set the levels for product and partner at detail..

  • Adding data to HealthVault from Withings Device

    How do I upload data from my Withings Device to my HealthVault account?

    The nice people from Sinovo have developed a driver for Microsoft HealthVault Connection Center that will allow uploading CSV files downloaded from the Withings dashboard into HealthVault. Some restrictions do apply:
    only weight measurements work at the moment.
    you must download your CSV from the OLD version of the Withings Healthmate website, the CSV files from the new version DO NOT WORK with Sinovo's driver.
    the CSV file must not be opened and saved in Excel before uploading, Excel will change some formatting in the file rendering it useless for uploading.
    You can select a date range before downloading your CSV file from the Withings Healthmate website to avoid uploading duplicates.

  • Using of Module weighting

    Hello,
    I would like to calculate a global weighted acceleration value from spectrum.
    From time series, I apply a Data window (hanning) and then a FFT (Real FFT of a real Signal). I try to apply a weighting (block Measurement weighting) with" a weighted by table of reference points"... but I don't manage to create a correct table of reference points (file .dpf with my coefficient).  I understood the structure file is the following :
    INTERPOLATION
    One channel
    2
    8192
    <EOF>
    But I have an error message when I start my measurement (Incorrect coefficient file). Could you please indicate me how can I do ? Could you send me an .dpf example file ? For information, my FFT has 8192 lines.
    In advance, thank you very much.
    Best regards.
    Florent

    INTERPOLATION
    testskal.dpf
    2
    9
    0.0 0.0
    190.0 0.0
    200.0 10.0
    250.0 50.0
    500.0 100.0
    750.0 50.0
    800.0 10.0
    810.0 0.0
    2048.0 0.0
    EOF
    Blocks entirely filled with values equal to 1.0 are weighted by the shown reference point file ( >>> picture).
    M.Sc. Holger Wons | measX GmbH&Co. KG, Mönchengladbach, Germany | DASYLab, DIAdem, LabView --- Support, Projects, Training | Platinum National Instrument Alliance Partner | www.measx.com

  • Metrics to estimate (or measure) IOPs cost of types of VM

    Hi,
    I am involved in a project to reorganise storage for our VMs so that virtual disks are stored on the most appropriate RAID groups as we are seeing latency on some LUNs at present.
    I would like to be able to estimate what the IOPs cost of a particular type of VM would be for future planning purposes. For example if we need to deploy a new Exchange server it would good to know the rough IOPs cost of that type of server before actually comissioning it so that we can start create its virtuals disks on the most suitable RAID groups. Obviously this would vary according to how much the server is being used but it would be good to know how an email server compares to a database server or compares to a file server. Does anyone know of any practical metric by which this can be measured.
    Is there any information availble through vCenter? Does vCenter give you information on real time IOPs per VM?

    I assume you are Anuj since this question is identical to the e-mail we got :-)
    General answer for everybody:
    Yes, we have an estimation tool that is used as part of the Forms2ADF assessment. While the tool is integrated with JHeadstart design-time clases, there is currently no option to run it through a JDeveloper wizard, or through the command line.
    The estimation tool counts various types of forms elements, and applies estimating weighting factors to each form element. These estimating factors are different for each customer, and for each application!
    We always migrate a set of selected forms (simple, average, complex) and based on the time spent on these forms and the characteristics of these forms, we set the estimating factors and extrapolate to a total migration effort by generating a spreadsheet using this estimating tool.
    Steven Davelaar,
    JHeadstart team.

  • Possible to limit dimensions and measures when creating presentations?

    We are trying to use OLAP/BI Beans to add BI functionality to our next-generation data warehouse application. This application has its own security framework, with the ability to define permissions/privileges for objects. We need to integrate BI Beans/OLAP with this security framework.
    One of the things we need to do is control which OLAP objects (like dimensions and measures) are available to a given user in the Items tab when creating a presentation. For example, user A might see dimensions Alpha, Bravo and measure Charlie, while user B might see dimensions Delta, Echo and measure Foxtrot.
    We need to be able to apply these dimension/measure restrictions without using different Oracle users, with each having access only to their own OLAP objects. Our data warehousing application does not use Oracle and Oracle users to control security; it has its own internal frameworks for privileges/permissions. We therefore need to find a way to restrict access to OLAP objects in some programmatic way.
    Here's an example of how this might work:
    - I am a clinical analyst. I sign on to the data warehouse application. The data warehouse knows that as a clinical analyst, I have access to a certain list of objects and functionality across the application. One of the apps I have privilege to is the BI Bean Presentation Creation Application, so I click the menu to bring this up. I can now create BI presentations, but since I am a clinical analyst my list of available dimensions and measures do not contain any of the G/L, payroll or other financial OLAP objects.
    - If I signed onto the data warehousing application as a different user, one that has a financial analyst role, I might see a different set of OLAP objects when I run the presentation application application.
    So what we need is some API way to specify which dimensions and measures are available to a given user when they launch the presentation wizard. I've been digging through the BI Beans help and javadoc and have found a few things, but they aren't what I need.
    Here's what I found:
    - setItemSearchPath: this allows you to specify which folders are to be displayed. We want control at the OLAP object level, not at the folder level, so this doesn't work for us
    - setVisibleDimensions: this controls which dimensions are available in the Dimensions tab, not which dimensions can be selected in the Items tab. Doesn't work for us
    - setDimensionContext/setMeasureContext: These might work for us but I haven't been able to get them to retrieve anything yet. It also seems to me that these might set which dimensions/members are initially selected in the Items tab, not the list of dims/measures that are available for selection.
    Any assistance on this matter would be greatly appreciated.
    s.l.

    Reply from one of our developers:
    The get/setMeasureContext and get/setDimensionContext methods are currently only used by the Thick CalcBuilder (in a few limited scenarios) and cannot be used "to scope the dimensions and measures listed in Query and Calc builder based on user access rights".
    The scoping of dimensions and measures based on user access rights should be performed at the MetadataManager/Database level.
    This may change going forward as the real issue here is the static nature of the metadata and a general issue with the GRANT option within the database. So from the database perspective it is not possible to grant select priviledges on a single column of a table.
    The metadata issue is more complex as the OLAP API reads the metadata only once on startup of a session. The list of available measures is based on the GRANT priviledge, so for relational OLAP this limits the data scoping capabilities. In 10g, the metadata for AW OLAP becomes more dynamic and contained and read directly from the AW. Therefore, with an AW OLAP implementation with 10g it could be possible to scope boht dimensions and measures quickly and easily.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Using named set in calculated measure is not working

    Hi Techies,
    I need an urgent solution. Here is my problem,
    I have a product dimension which has some "n" no of products. I need to create a measure with few members from the product dimension. (e.g. Sales for laptop & mobile explicitly, out of other electronic gadgets)
    I have created a static named set for some n number of products and a calculated measure in which I have included this named set as below,
    CREATE SET CURRENTCUBE.[Compact]
     AS {[Dim Prod].[Gadget].&[Laptop],[Dim Prod].[Gadget].&[Mobile]} ;        
    CREATE MEMBER CURRENTCUBE.[Measures].[Compact Sales]
     AS ([Compact],[Measures].[Sales]), 
    VISIBLE = 1   ; 
    but when I browse the cube the above measure is returning Null value. When I change the named set to dynamic, the measure is showing value but no filters(laptop & mobile) seems to be applied for that measure unless I add that named set explicitly in
    the filter area.
    I need a solution where I don't want to use any filters but the measure should work as expected.
    Please help me with this, it is very urgent.
    Thanks in advance,
    Latheesh
    latheesh

    hi Latheesh ,
    I'm not sure why do you need to create a new measure .. There is a problem to aggregate a set in a calculated member . I will suggest a new member on your
    Gadget dimension :
    CREATE SET CURRENTCUBE.[Others_Set]
     AS {[Product].[Product Categories].[Category].&[4],[Product].[Product Categories].[Category].&[1]} ;        
    CREATE MEMBER CURRENTCUBE.[Product].[Category].[Others]
     AS Aggregate([Others_Set]), 
    VISIBLE = 1   ; 
    select [Product].[Category].AllMembers on 1
    , [Measures].[Internet Sales Amount] on 0
    From [Adventure Works]
    Regards, David .

  • Analog Audio Signal to Decibels with an A weighting filter.

    I have a microphone attached to a pre amp. The sensitivity is about 15mv/pa.
    In labview I have written the A weighting filter myself. I want to know what the procedure is
    for audio processing in labview. Should I convert the signal to Pascal via the sensitivity of the mic and then convert to decibels (20log(signal/20ref)) and
    then take the FFT to apply my weighting filter? Do I need to convert the signal to a powerspectrum? Sort of confused on the process.

    Hi ykhalil,
    Here's a pretty detailed explanation of signal processing in LabVIEW:
    https://decibel.ni.com/content/docs/DOC-3022/version/1
    Also, are you using the NI Sound and Vibration Toolkit?
    Regards,
    Lindsey W. | Applications Engineer | National Instruments

  • Different wieghts & measurements for shipping units.

    Hello All,
    My requirement is everytime many deilvery items are packed in one box or in multiple boxes. Box weights & measurements changes for every delivery as everytime delivery items are packed in different box sizes so wieghts & measurements also changes for every delivery and same need to be printed in shipping documents.
    So can I achieve this by using packing with shipping units and moreover can I everytime asign or manully maintian different wieghts & measurements in delivery processing in packing step or is there any other way in SAP by which I can meet this requirement.
    Please help. It is very urgent. Points will be rewarded.
    Best regards,
    Partha Das

    Dear Partha,
    You can maintain the weight & Measurement in the master data of the packing material from there you can fetch the data through output program with the help of abaper.
    You do the output determination for the deliveries in IMG path is
    SPRO>Logistics Execution>Shipping>Basic shipping functions>Output control>Output determination>Maintain output determination for outbound deliveries
    -->Maintain Condition Tables
    -->Maintain Output Types -->Here you can define different  ouput type to get those details
    Develop and assign related output program,smart form or script program as per your requirement.
    -->Maintain Access Sequences
    -->Maintain Output Determination Procedure
    -->Assign Output Determination Procedures
    Maintain the output condition record for that output type in VV21 transaction.
    I hope it will help you,
    Regards,
    Murali.

  • OBIEE: How to sort a bar chart by a measure not displayed in the chart?

    I have a table with OEM sales volume comparisons between two periods, current year and previous year. I have calculated a "VOLUME CHANGE" measure by subtracting last year's volume total column from this year's volume total column, and would like to display the resulting VOLUME CHANGE column in a horizontal bar chart.
    However, I want the bar chart sorted in descending order by the sales volume total column rather than the value of the calculated "VOLUME CHANGE" that is displayed.
    Can someone help me make this happen?
    In Answers I can make a bar chart sort according to any sort applied to a measure IF YOU INCLUDE THE SORTED MEASURE IN THE CHART, but I can't readily see how to do this if you wish to only include one measure in the chart but sort it by another measure from the same table.
    Help would be appreciated.
    Thanks.

    Well, we have some kind of disconnect.
    I see that the first value on the horizontal axis will supply the sort. The sort depends on the default, or whatever sort you have set on the column in the Criteria tab.
    But if I remove that measure from the chart, I lose the sort and it defaults back to sorting by BRAND, alphabetically.
    I can't see any options for hiding the measure in the chart itself and preserving the sort by the hidden measure. I know how to do that quite easily in Tableau, but I can't find it here. In the Criteria tab when I go to "column properties" the only option tabs I see are "Style", "Column Format", "Data Format", "Conditional Format" and "Interaction" and none of those offer any option for hiding the column.
    When you go to the results tab and then edit the layout of the resulting data table, you do get options to hide columns in the results table. But they still show up by default when you create a chart based on the table. From the editing options for the chart itself I see no option for hiding any of the measures, only the option to drop the measures down to the "Excluded" box, at which point they a cleared from the chart along with any associated sort settings.
    Is there any way to include a screen shot with the post?
    Can someone be more specific about where the menus and options are to make this happen?

  • LACP with Weighted Load Balancing

    Hi,
    I am trying to figure out how to use weighted load balancing (WLB) with LACP in Nexus 5K. Please can you give any duidance on this because the documentation I found so far is not helpful.
    Basically I have a port channel cosisting of two physical 1G ethernet ports and one backup server connecting with two remote SAN hosts over this port channel. Unfortunately the two remote SAN hosts have similar even mac and ip addresses. Thus ordinary source ip/mac load balancing puts them on the same link in the port channel. I want to apply a weight to try to distribute this load.
    Many thanks
    Sankung
    PS: Ultimately, I am getting a 10G NIC for the backup server but in the meantime want to explore this WLB possibility.

    advice : get the apache trace dump to find out what stack it is in. I think you must open a TAR .
    The error possibly coming from mod_osso ?

  • Measurement in Photoshop CC

    In some of the Photoshop "Extended" versions, there was a function in which one could apply a known measurment to an image and then determine other dimensions in the image. For example, if one were designing a sign for a building and shot a picture of the building with a known 5' doorway, one could use the measure tool (or whatever it was called in that function) to tell Photoshop that the doorway was 5'-0" wide. From there, after you laid in the sign design, and used the measure tool on the sign image, Photoshop would tell you the dimensions of the sign based on the scale you set with the doorway. Now for the big question: One, does that function still exist, and two, if so, where do you find it?
    Thanks,
    Joe

    It still exists in photoshop cc under Image>Analysis and Window>Measurement Log
    http://help.adobe.com/en_US/photoshop/cs/using/WS7901119A-3EE7-4806-B5AF-1A6D58827A81a.htm l
    The help hasn't been updated to reflect the new locations on menu in cs6/cc, but the other stuff should be the same.

Maybe you are looking for

  • How can I save the first dept. for an employee in a transport table?

    Hi All, I have created a table to store the transports to an employee from department to another department. the first department number to every employee is stored at the parent table called employees. when I insert a new record to the transports ta

  • Optical Drive Not Detected

    Hey all, I'm running Arch x86_64 with Gnome, fresh install, and for some reason my optical drive isn't detected.  I know the drive works, as I can boot to cd's and the likes, however, the drive doesn't automount, and in fact isn't detected at all (so

  • HT1725 Download interrupted and wont resume

    I tried to rent a movie and it didnt download completely, and now wont play. I have tried to resume the download and it wont resume. Is there anyway to delete it completely and restart the download from the begining?

  • Difference between charts in Excel and Business Intelligence

    Hi, i work with Desktop Intelligence 11.5.0.0 When i work with Excelfiles as a source for a report with charts i get different results from time to time. When i use 3 rows and 10 columns (can be any other number of course) where the first row are the

  • Transferring mail boxes

    Just bought my wife a 2008 Macbook Pro. We have an Imac desktop and both are running the latest version of Snow Leopard. In Mac Mail my wife has several mail boxes under on my mac. How do I transfer the mail boxes from the desktop to the Macbook?